Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/hid/intel-ish-hid/ishtp-fw-loader.c, line 304
- drivers/hid/intel-ish-hid/ishtp-hid-client.c
- drivers/hid/intel-ish-hid/ishtp/client.c, line 746
- drivers/platform/chrome/cros_ec_ishtp.c, line 185
- drivers/platform/x86/intel/ishtp_eclite.c
Smatch caller information:
drivers/hid/intel-ish-hid/ishtp-fw-loader.c loader_cl_send() -> ishtp_cl_send()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | buf | 4096-ptr_max |
| PARAM_VALUE | 2 | length | 4,8,21-4294967315 |
| BUF_SIZE | 1 | buf | 4,8,28,3968 |
| BUF_SIZE | 1 | buf | 4,8,28,3968 |
| CAPPED_DATA | 2 | length | 1 |
| CAPPED_DATA | 2 | length | 1 |
| DATA_SOURCE | 1 | buf | $1 |
| DATA_SOURCE | 2 | length | $2 |
| UNITS | 2 | length | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/platform/x86/intel/ishtp_eclite.c ecl_ish_cl_enable_events() -> ishtp_cl_send()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | buf | 4779808871089848320 |
| PARAM_VALUE | 2 | length | 5 |
| BUF_SIZE | 1 | buf | 388 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | length | unit_byte |
| HALF_LOCKED2 | &fsm->lock |
drivers/platform/x86/intel/ishtp_eclite.c ecl_ish_cl_read() -> ishtp_cl_send()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | buf | 6152077694154801152 |
| PARAM_VALUE | 2 | length | 4 |
| BUF_SIZE | 1 | buf | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | length | unit_byte |
| LOCK2 | &opr_dev->lock | ||
| HALF_LOCKED2 | context_mutex | ||
| TYPE_LOCK | (struct ishtp_opregion_dev)->lock |
drivers/platform/x86/intel/ishtp_eclite.c ecl_ish_cl_write() -> ishtp_cl_send()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | buf | 2428127295626891264 |
| PARAM_VALUE | 2 | length | 4-515 |
| BUF_SIZE | 1 | buf | 388 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | length | unit_byte |
| LOCK2 | &opr_dev->lock | ||
| HALF_LOCKED2 | context_mutex | ||
| TYPE_LOCK | (struct ishtp_opregion_dev)->lock |
drivers/hid/intel-ish-hid/ishtp-hid-client.c hid_ishtp_get_report() -> ishtp_cl_send()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | buf | 6604022218327232512 |
| PARAM_VALUE | 2 | length | 7 |
| BUF_SIZE | 1 | buf | 7 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | length | unit_byte |
| HALF_LOCKED2 | &hid->driver_input_lock | ||
| HALF_LOCKED2 | &hid->ll_open_lock |
drivers/hid/intel-ish-hid/ishtp-hid-client.c hid_ishtp_set_feature() -> ishtp_cl_send()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | buf | 4096-ptr_max |
| PARAM_VALUE | 1 | buf->hdr.command | 3 |
| PARAM_VALUE | 2 | length | 7-3999993 |
| BUF_SIZE | 1 | buf | 14-536870926 |
| BUF_SIZE | 1 | buf | 14-536870926 |
| CAPPED_DATA | 2 | length | 1 |
| DATA_SOURCE | 1 | buf | $1 |
| DATA_SOURCE | 2 | length | $2 |
| NOSPEC | 2 | length | |
| NOSPEC | 2 | length | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | length | 8-16390[c] |
| UNITS | 2 | length | unit_byte |
| HALF_LOCKED2 | &hid->driver_input_lock | ||
| HALF_LOCKED2 | &hid->ll_open_lock |
drivers/hid/intel-ish-hid/ishtp-hid-client.c ishtp_enum_enum_devices() -> ishtp_cl_send()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cl | 4096-ptr_max |
| PARAM_VALUE | 0 | cl->err_send_fc | 0-4294967295 |
| PARAM_VALUE | 0 | cl->err_send_msg | 0-4294967295 |
| PARAM_VALUE | 0 | cl->fw_client_id | 0-255 |
| PARAM_VALUE | 0 | cl->host_client_id | 0-255 |
| PARAM_VALUE | 0 | cl->ishtp_flow_ctrl_cnt | 0-4294967295 |
| PARAM_VALUE | 0 | cl->ishtp_flow_ctrl_creds | 0-255 |
| PARAM_VALUE | 0 | cl->last_dma_acked | s32min-s32max |
| PARAM_VALUE | 0 | cl->last_ipc_acked | s32min-s32max |
| PARAM_VALUE | 0 | cl->last_tx_path | s32min-s32max |
| PARAM_VALUE | 0 | cl->out_flow_ctrl_cnt | 0-4294967295 |
| PARAM_VALUE | 0 | cl->out_flow_ctrl_creds | 0-255 |
| PARAM_VALUE | 0 | cl->recv_msg_cnt_dma | 0-4294967295 |
| PARAM_VALUE | 0 | cl->recv_msg_cnt_ipc | 0-4294967295 |
| PARAM_VALUE | 0 | cl->recv_msg_num_frags | 0-4294967295 |
| PARAM_VALUE | 0 | cl->rx_ring_size | 0-4294967295 |
| PARAM_VALUE | 0 | cl->send_msg_cnt_dma | 0-4294967295 |
| PARAM_VALUE | 0 | cl->send_msg_cnt_ipc | 0-4294967295 |
| PARAM_VALUE | 0 | cl->sending | s32min-s32max |
| PARAM_VALUE | 0 | cl->state | 0-1,3-4 |
| PARAM_VALUE | 0 | cl->tx_ring_size | 0-4294967295 |
| PARAM_VALUE | 1 | buf | 5320513161242046464 |
| PARAM_VALUE | 2 | length | 6 |
| BUF_SIZE | 0 | cl | (-1),800 |
| BUF_SIZE | 0 | cl | (-1),800 |
| BUF_SIZE | 1 | buf | 6 |
| CAPPED_DATA | 0 | cl | 1 |
| DATA_SOURCE | 0 | cl | $0 |
| MEM_ZERO | 1 | buf | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | length | unit_byte |
drivers/hid/intel-ish-hid/ishtp-hid-client.c ishtp_enum_enum_devices() -> ishtp_cl_send()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cl | 4096-ptr_max |
| PARAM_VALUE | 0 | cl->err_send_fc | 0-4294967295 |
| PARAM_VALUE | 0 | cl->err_send_msg | 0-4294967295 |
| PARAM_VALUE | 0 | cl->fw_client_id | 0-255 |
| PARAM_VALUE | 0 | cl->host_client_id | 0-255 |
| PARAM_VALUE | 0 | cl->ishtp_flow_ctrl_cnt | 0-4294967295 |
| PARAM_VALUE | 0 | cl->ishtp_flow_ctrl_creds | 0-255 |
| PARAM_VALUE | 0 | cl->last_dma_acked | s32min-s32max |
| PARAM_VALUE | 0 | cl->last_ipc_acked | s32min-s32max |
| PARAM_VALUE | 0 | cl->last_tx_path | s32min-s32max |
| PARAM_VALUE | 0 | cl->out_flow_ctrl_cnt | 0-4294967295 |
| PARAM_VALUE | 0 | cl->out_flow_ctrl_creds | 0-255 |
| PARAM_VALUE | 0 | cl->recv_msg_cnt_dma | 0-4294967295 |
| PARAM_VALUE | 0 | cl->recv_msg_cnt_ipc | 0-4294967295 |
| PARAM_VALUE | 0 | cl->recv_msg_num_frags | 0-4294967295 |
| PARAM_VALUE | 0 | cl->rx_ring_size | 0-4294967295 |
| PARAM_VALUE | 0 | cl->send_msg_cnt_dma | 0-4294967295 |
| PARAM_VALUE | 0 | cl->send_msg_cnt_ipc | 0-4294967295 |
| PARAM_VALUE | 0 | cl->sending | s32min-s32max |
| PARAM_VALUE | 0 | cl->state | 0-1,3-4 |
| PARAM_VALUE | 0 | cl->tx_ring_size | 0-4294967295 |
| PARAM_VALUE | 1 | buf | 5320513161242046464 |
| PARAM_VALUE | 2 | length | 6 |
| BUF_SIZE | 0 | cl | (-1),800 |
| BUF_SIZE | 0 | cl | (-1),800 |
| BUF_SIZE | 1 | buf | 6 |
| CAPPED_DATA | 0 | cl | 1 |
| DATA_SOURCE | 0 | cl | $0 |
| MEM_ZERO | 1 | buf | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | length | unit_byte |
drivers/hid/intel-ish-hid/ishtp-hid-client.c ishtp_get_hid_descriptor() -> ishtp_cl_send()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cl | 4096-ptr_max |
| PARAM_VALUE | 0 | cl->err_send_fc | 0-4294967295 |
| PARAM_VALUE | 0 | cl->err_send_msg | 0-4294967295 |
| PARAM_VALUE | 0 | cl->fw_client_id | 0-255 |
| PARAM_VALUE | 0 | cl->host_client_id | 0-255 |
| PARAM_VALUE | 0 | cl->ishtp_flow_ctrl_cnt | 0-4294967295 |
| PARAM_VALUE | 0 | cl->ishtp_flow_ctrl_creds | 0-255 |
| PARAM_VALUE | 0 | cl->last_dma_acked | s32min-s32max |
| PARAM_VALUE | 0 | cl->last_ipc_acked | s32min-s32max |
| PARAM_VALUE | 0 | cl->last_tx_path | s32min-s32max |
| PARAM_VALUE | 0 | cl->out_flow_ctrl_cnt | 0-4294967295 |
| PARAM_VALUE | 0 | cl->out_flow_ctrl_creds | 0-255 |
| PARAM_VALUE | 0 | cl->recv_msg_cnt_dma | 0-4294967295 |
| PARAM_VALUE | 0 | cl->recv_msg_cnt_ipc | 0-4294967295 |
| PARAM_VALUE | 0 | cl->recv_msg_num_frags | 0-4294967295 |
| PARAM_VALUE | 0 | cl->rx_ring_size | 0-4294967295 |
| PARAM_VALUE | 0 | cl->send_msg_cnt_dma | 0-4294967295 |
| PARAM_VALUE | 0 | cl->send_msg_cnt_ipc | 0-4294967295 |
| PARAM_VALUE | 0 | cl->sending | s32min-s32max |
| PARAM_VALUE | 0 | cl->state | 0-1,3-4 |
| PARAM_VALUE | 0 | cl->tx_ring_size | 0-4294967295 |
| PARAM_VALUE | 1 | buf | 2645020329399685120 |
| PARAM_VALUE | 2 | length | 6 |
| BUF_SIZE | 0 | cl | (-1),800 |
| BUF_SIZE | 0 | cl | (-1),800 |
| BUF_SIZE | 1 | buf | 6 |
| CAPPED_DATA | 0 | cl | 1 |
| DATA_SOURCE | 0 | cl | $0 |
| MEM_ZERO | 1 | buf | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | length | unit_byte |
drivers/hid/intel-ish-hid/ishtp-hid-client.c ishtp_get_report_descriptor() -> ishtp_cl_send()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cl | 4096-ptr_max |
| PARAM_VALUE | 0 | cl->err_send_fc | 0-4294967295 |
| PARAM_VALUE | 0 | cl->err_send_msg | 0-4294967295 |
| PARAM_VALUE | 0 | cl->fw_client_id | 0-255 |
| PARAM_VALUE | 0 | cl->host_client_id | 0-255 |
| PARAM_VALUE | 0 | cl->ishtp_flow_ctrl_cnt | 0-4294967295 |
| PARAM_VALUE | 0 | cl->ishtp_flow_ctrl_creds | 0-255 |
| PARAM_VALUE | 0 | cl->last_dma_acked | s32min-s32max |
| PARAM_VALUE | 0 | cl->last_ipc_acked | s32min-s32max |
| PARAM_VALUE | 0 | cl->last_tx_path | s32min-s32max |
| PARAM_VALUE | 0 | cl->out_flow_ctrl_cnt | 0-4294967295 |
| PARAM_VALUE | 0 | cl->out_flow_ctrl_creds | 0-255 |
| PARAM_VALUE | 0 | cl->recv_msg_cnt_dma | 0-4294967295 |
| PARAM_VALUE | 0 | cl->recv_msg_cnt_ipc | 0-4294967295 |
| PARAM_VALUE | 0 | cl->recv_msg_num_frags | 0-4294967295 |
| PARAM_VALUE | 0 | cl->rx_ring_size | 0-4294967295 |
| PARAM_VALUE | 0 | cl->send_msg_cnt_dma | 0-4294967295 |
| PARAM_VALUE | 0 | cl->send_msg_cnt_ipc | 0-4294967295 |
| PARAM_VALUE | 0 | cl->sending | s32min-s32max |
| PARAM_VALUE | 0 | cl->state | 0-1,3-4 |
| PARAM_VALUE | 0 | cl->tx_ring_size | 0-4294967295 |
| PARAM_VALUE | 1 | buf | 953996605560930304 |
| PARAM_VALUE | 2 | length | 6 |
| BUF_SIZE | 0 | cl | (-1),800 |
| BUF_SIZE | 0 | cl | (-1),800 |
| BUF_SIZE | 1 | buf | 6 |
| CAPPED_DATA | 0 | cl | 1 |
| DATA_SOURCE | 0 | cl | $0 |
| MEM_ZERO | 1 | buf | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | length | unit_byte |
drivers/platform/chrome/cros_ec_ishtp.c ish_send() -> ishtp_cl_send()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | buf | 4096-ptr_max |
| BUF_SIZE | 1 | buf | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | buf | s32min-(-2),1-s32max |
| CAPPED_DATA | 2 | length | 1 |
| CAPPED_DATA | 2 | length | 1 |
| DATA_SOURCE | 1 | buf | $1 |
| DATA_SOURCE | 2 | length | $2 |
| CONSTRAINT | 2 | length | <=147 |
| NOSPEC | 2 | length | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | length | 12-65547[c] |
| UNITS | 2 | length | unit_byte |
| LOCK2 | global &init_lock | ||
| HALF_LOCKED2 | &ec_dev->lock |