Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/hid/intel-ish-hid/ishtp-fw-loader.c ish_fw_start() -> loader_cl_send()

Type Parameter Key Value
PARAM_VALUE 0 client_data 4096-ptr_max
PARAM_VALUE 0 client_data->cl_device 4096-ptr_max
PARAM_VALUE 0 client_data->loader_ishtp_cl 4096-ptr_max
PARAM_VALUE 0 client_data->loader_ishtp_cl->dev->dev_state 2
PARAM_VALUE 0 client_data->loader_ishtp_cl->dev->fw_clients_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 client_data->loader_ishtp_cl->dev->ipc_tx_cnt 0-4294967295
PARAM_VALUE 0 client_data->loader_ishtp_cl->err_send_msg 0-4294967295
PARAM_VALUE 0 client_data->loader_ishtp_cl->ishtp_flow_ctrl_creds 0-255
PARAM_VALUE 0 client_data->loader_ishtp_cl->last_dma_acked s32min-s32max
PARAM_VALUE 0 client_data->loader_ishtp_cl->last_ipc_acked s32min-s32max
PARAM_VALUE 0 client_data->loader_ishtp_cl->last_tx_path s32min-s32max
PARAM_VALUE 0 client_data->loader_ishtp_cl->send_msg_cnt_dma 0-4294967295
PARAM_VALUE 0 client_data->loader_ishtp_cl->send_msg_cnt_ipc 0-4294967295
PARAM_VALUE 0 client_data->loader_ishtp_cl->sending s32min-s32max
PARAM_VALUE 0 client_data->loader_ishtp_cl->state 2
PARAM_VALUE 0 client_data->loader_ishtp_cl->tx_free_list_spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 client_data->loader_ishtp_cl->tx_list_spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 client_data->loader_ishtp_cl->tx_ring_free_size s32min-s32max
PARAM_VALUE 0 client_data->response.data 901171400330444800,2477437927135395840,5463181059097505792
PARAM_VALUE 0 client_data->response.error 0
PARAM_VALUE 0 client_data->response.max_size 4,32
PARAM_VALUE 0 client_data->response.received 0
PARAM_VALUE 0 client_data->response.size 32
PARAM_VALUE 0 *client_data->loader_ishtp_cl->dev->ishtp_dma_tx_map 1
PARAM_VALUE 0 *client_data->loader_ishtp_cl->last_dma_addr 0-255
PARAM_VALUE 0 *client_data->response.data 0-255
PARAM_VALUE 1 out_msg 6821091980072394752
PARAM_VALUE 2 out_size 4
PARAM_VALUE 3 in_msg 3718977747871342592
PARAM_VALUE 4 in_size 4
BUF_SIZE 1 out_msg 4
BUF_SIZE 3 in_msg 4
CAPPED_DATA 0 client_data->loader_ishtp_cl->dev->fw_clients_num 1
DATA_SOURCE 0 client_data $0
MEM_ZERO 1 out_msg
UNITS 2 out_size unit_byte
UNITS 4 in_size unit_byte
HALF_LOCKED2 &pool->lock

drivers/hid/intel-ish-hid/ishtp-fw-loader.c ish_fw_xfer_direct_dma() -> loader_cl_send()

Type Parameter Key Value
PARAM_VALUE 0 client_data 4096-ptr_max
PARAM_VALUE 0 client_data->cl_device 4096-ptr_max
PARAM_VALUE 0 client_data->cl_device->ishtp_dev 4096-ptr_max
PARAM_VALUE 0 client_data->flag_retry 0
PARAM_VALUE 0 client_data->loader_ishtp_cl 4096-ptr_max
PARAM_VALUE 0 client_data->loader_ishtp_cl->dev->dev_state 2
PARAM_VALUE 0 client_data->loader_ishtp_cl->dev->fw_clients_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 client_data->loader_ishtp_cl->dev->ipc_tx_cnt 0-4294967295
PARAM_VALUE 0 client_data->loader_ishtp_cl->err_send_msg 0-4294967295
PARAM_VALUE 0 client_data->loader_ishtp_cl->ishtp_flow_ctrl_creds 0-255
PARAM_VALUE 0 client_data->loader_ishtp_cl->last_dma_acked s32min-s32max
PARAM_VALUE 0 client_data->loader_ishtp_cl->last_ipc_acked s32min-s32max
PARAM_VALUE 0 client_data->loader_ishtp_cl->last_tx_path s32min-s32max
PARAM_VALUE 0 client_data->loader_ishtp_cl->send_msg_cnt_dma 0-4294967295
PARAM_VALUE 0 client_data->loader_ishtp_cl->send_msg_cnt_ipc 0-4294967295
PARAM_VALUE 0 client_data->loader_ishtp_cl->sending s32min-s32max
PARAM_VALUE 0 client_data->loader_ishtp_cl->state 2
PARAM_VALUE 0 client_data->loader_ishtp_cl->tx_free_list_spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 client_data->loader_ishtp_cl->tx_list_spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 client_data->loader_ishtp_cl->tx_ring_free_size s32min-s32max
PARAM_VALUE 0 client_data->response.data 901171400330444800,5463181059097505792
PARAM_VALUE 0 client_data->response.error 0
PARAM_VALUE 0 client_data->response.max_size 4,32
PARAM_VALUE 0 client_data->response.size 32
PARAM_VALUE 0 *client_data->loader_ishtp_cl->dev->ishtp_dma_tx_map 1
PARAM_VALUE 0 *client_data->loader_ishtp_cl->last_dma_addr 0-255
PARAM_VALUE 0 *client_data->response.data 0-255
PARAM_VALUE 1 out_msg 1137144855765245952
PARAM_VALUE 2 out_size 28
PARAM_VALUE 3 in_msg 5463181059097505792
PARAM_VALUE 4 in_size 4
BUF_SIZE 1 out_msg 28
BUF_SIZE 3 in_msg 4
CAPPED_DATA 0 client_data->loader_ishtp_cl->dev->fw_clients_num 1
DATA_SOURCE 0 client_data $0
FUZZY_MAX 0 client_data->response.max_size 4
PARAM_COMPARE 0 &client_data->loader_ishtp_cl->tx_free_list.list != $0->loader_ishtp_cl->tx_free_list.list.next
HARD_MAX 0 client_data->response.max_size 32
UNITS 2 out_size unit_byte
UNITS 4 in_size unit_byte
HALF_LOCKED2 &pool->lock

drivers/hid/intel-ish-hid/ishtp-fw-loader.c ish_fw_xfer_ishtp() -> loader_cl_send()

Type Parameter Key Value
PARAM_VALUE 0 client_data 4096-ptr_max
PARAM_VALUE 0 client_data->cl_device 4096-ptr_max
PARAM_VALUE 0 client_data->flag_retry 0
PARAM_VALUE 0 client_data->loader_ishtp_cl 4096-ptr_max
PARAM_VALUE 0 client_data->loader_ishtp_cl->dev->dev_state 2
PARAM_VALUE 0 client_data->loader_ishtp_cl->dev->fw_clients_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 client_data->loader_ishtp_cl->dev->ipc_tx_cnt 0-4294967295
PARAM_VALUE 0 client_data->loader_ishtp_cl->err_send_msg 0-4294967295
PARAM_VALUE 0 client_data->loader_ishtp_cl->ishtp_flow_ctrl_creds 0-255
PARAM_VALUE 0 client_data->loader_ishtp_cl->last_dma_acked s32min-s32max
PARAM_VALUE 0 client_data->loader_ishtp_cl->last_ipc_acked s32min-s32max
PARAM_VALUE 0 client_data->loader_ishtp_cl->last_tx_path s32min-s32max
PARAM_VALUE 0 client_data->loader_ishtp_cl->send_msg_cnt_dma 0-4294967295
PARAM_VALUE 0 client_data->loader_ishtp_cl->send_msg_cnt_ipc 0-4294967295
PARAM_VALUE 0 client_data->loader_ishtp_cl->sending s32min-s32max
PARAM_VALUE 0 client_data->loader_ishtp_cl->state 2
PARAM_VALUE 0 client_data->loader_ishtp_cl->tx_free_list_spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 client_data->loader_ishtp_cl->tx_list_spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 client_data->loader_ishtp_cl->tx_ring_free_size s32min-s32max
PARAM_VALUE 0 client_data->response.data 901171400330444800,2477437927135395840
PARAM_VALUE 0 client_data->response.error 0
PARAM_VALUE 0 client_data->response.max_size 4,32
PARAM_VALUE 0 client_data->response.size 32
PARAM_VALUE 0 *client_data->loader_ishtp_cl->dev->ishtp_dma_tx_map 1
PARAM_VALUE 0 *client_data->loader_ishtp_cl->last_dma_addr 0-255
PARAM_VALUE 0 *client_data->response.data 0-255
PARAM_VALUE 1 out_msg 4096-ptr_max
PARAM_VALUE 2 out_size 21-4294967315
PARAM_VALUE 3 in_msg 2477437927135395840
PARAM_VALUE 4 in_size 4
BUF_SIZE 1 out_msg 3968
BUF_SIZE 1 out_msg 3968
BUF_SIZE 3 in_msg 4
CAPPED_DATA 0 client_data->loader_ishtp_cl->dev->fw_clients_num 1
CAPPED_DATA 1 out_msg->fragment.offset 1
CAPPED_DATA 1 out_msg->fragment.size 1
CAPPED_DATA 2 out_size 1
DATA_SOURCE 0 client_data $0
DATA_SOURCE 1 out_msg r _kzalloc_noprof
FUZZY_MAX 0 client_data->response.max_size 4
PARAM_COMPARE 0 &client_data->loader_ishtp_cl->tx_free_list.list != $0->loader_ishtp_cl->tx_free_list.list.next
HARD_MAX 0 client_data->response.max_size 32
UNITS 2 out_size unit_byte
UNITS 4 in_size unit_byte
HALF_LOCKED2 &pool->lock

drivers/hid/intel-ish-hid/ishtp-fw-loader.c ish_query_loader_prop() -> loader_cl_send()

Type Parameter Key Value
PARAM_VALUE 0 client_data 4096-ptr_max
PARAM_VALUE 0 client_data->cl_device 4096-ptr_max
PARAM_VALUE 0 client_data->flag_retry 0
PARAM_VALUE 1 out_msg 2890971228142174208
PARAM_VALUE 2 out_size 8
PARAM_VALUE 3 in_msg 901171400330444800
PARAM_VALUE 4 in_size 32
BUF_SIZE 1 out_msg 8
BUF_SIZE 3 in_msg 32
DATA_SOURCE 0 client_data $0
MEM_ZERO 1 out_msg
UNITS 2 out_size unit_byte
UNITS 4 in_size unit_byte
HALF_LOCKED2 &pool->lock