Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/hid/intel-ish-hid/ishtp/client.c ishtp_cl_send() -> ishtp_cl_send_msg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev_state | 2 |
| PARAM_VALUE | 0 | dev->fw_clients | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->fw_clients_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | cl | 4096-ptr_max |
| PARAM_VALUE | 1 | cl->dev | 1-u64max |
| PARAM_VALUE | 1 | cl->dev->dev_state | 2 |
| PARAM_VALUE | 1 | cl->dev->fw_clients | 4096-ptr_max |
| PARAM_VALUE | 1 | cl->dev->fw_clients_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | cl->ishtp_flow_ctrl_creds | 1-255 |
| PARAM_VALUE | 1 | cl->state | 2 |
| PARAM_VALUE | 1 | cl->tx_free_list_spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | cl->tx_list.list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | cl->tx_list.list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | cl->tx_list.list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | cl->tx_list.list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | cl->tx_list_spinlock.rlock.dep_map->name | 0-255 |
| CAPPED_DATA | 0 | dev->fw_clients_num | 1 |
| CAPPED_DATA | 1 | &cl->tx_free_list.list | 1 |
| CAPPED_DATA | 1 | &cl->tx_list.list | 1 |
| DATA_SOURCE | 1 | cl | $0 |
| PARAM_COMPARE | 1 | &cl->tx_free_list.list | != $1->tx_free_list.list.next |
| PARAM_COMPARE | 1 | &cl->tx_list.list | == $1->tx_list.list.next |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &opr_dev->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &init_lock |
drivers/hid/intel-ish-hid/ishtp/hbm.c ishtp_hbm_dma_xfer_ack() -> ishtp_cl_send_msg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->ishtp_host_dma_enabled | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | dev->ishtp_host_dma_tx_buf | 1-u64max |
| PARAM_VALUE | 0 | dev->ishtp_msg_hdr.length | 1-511 |
| PARAM_VALUE | 0 | dev->rd_msg_spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | cl | 4096-ptr_max |
| PARAM_VALUE | 1 | cl->ishtp_flow_ctrl_creds | 1-255 |
| PARAM_VALUE | 1 | cl->last_dma_acked | 1 |
| PARAM_VALUE | 1 | cl->last_dma_addr | 4096-18446744073709551614 |
| CAPPED_DATA | 0 | &dev->cl_list | 1 |
| CAPPED_DATA | 1 | cl->fw_client_id | 1 |
| CAPPED_DATA | 1 | cl->host_client_id | 1 |
| CAPPED_DATA | 1 | cl->last_dma_addr | 1 |
| CAPPED_DATA | 1 | &cl->tx_list.list | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| PARAM_COMPARE | 1 | &cl->tx_list.list | != $1->tx_list.list.next |
| RX_PATH | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/hid/intel-ish-hid/ishtp/hbm.c recv_hbm() -> ishtp_cl_send_msg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev_state | 0-3,5-u32max |
| PARAM_VALUE | 0 | dev->hw | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->ishtp_msg_hdr | 1-u32max |
| PARAM_VALUE | 0 | dev->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | cl | 4096-ptr_max |
| PARAM_VALUE | 1 | cl->fw_client_id | 0 |
| PARAM_VALUE | 1 | cl->host_client_id | 0 |
| PARAM_VALUE | 1 | cl->last_ipc_acked | 1 |
| PARAM_VALUE | 1 | cl->tx_list_spinlock.rlock.dep_map->name | 0-255 |
| CAPPED_DATA | 0 | &dev->cl_list | 1 |
| CAPPED_DATA | 1 | &cl->tx_list.list | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| PARAM_COMPARE | 1 | &cl->tx_list.list | != $1->tx_list.list.next |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | dev->ishtp_msg_hdr | 1-u32max |
| LOCK2 | flags | ||
| LOCK2 | 0 | &dev->cl_list_lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct ishtp_device)->cl_list_lock |