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
- drivers/hid/intel-ish-hid/ishtp-hid-client.c
- drivers/hid/intel-ish-hid/ishtp/client.c, line 141
- drivers/platform/chrome/cros_ec_ishtp.c
- drivers/platform/x86/intel/ishtp_eclite.c
Smatch caller information:
drivers/hid/intel-ish-hid/ishtp-fw-loader.c loader_deinit() -> ishtp_cl_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cl | 4096-ptr_max |
| PARAM_VALUE | 0 | cl->dev->cl_list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cl->dev->device_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cl->dev->ipc_tx_cnt | 0-4294967295 |
| PARAM_VALUE | 0 | cl->dev->read_list_spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cl->dev->wr_processing_spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cl->free_list_spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cl->state | 3-4 |
| BUF_SIZE | 0 | cl | 800 |
| BUF_SIZE | 0 | cl | 800 |
| CAPPED_DATA | 0 | cl | 1 |
| DATA_SOURCE | 0 | cl | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dev->mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/hid/intel-ish-hid/ishtp-fw-loader.c loader_ishtp_cl_probe() -> ishtp_cl_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cl | 4096-ptr_max |
| PARAM_VALUE | 0 | cl->client_data | s64min-(-1),1-s64max |
| PARAM_VALUE | 0 | cl->dev->cl_list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cl->dev->device_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cl->dev->fw_clients_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cl->dev->ipc_tx_cnt | 0-4294967295 |
| PARAM_VALUE | 0 | cl->device | 0 |
| PARAM_VALUE | 0 | cl->free_rb_list.buf_idx | 0 |
| PARAM_VALUE | 0 | cl->free_rb_list.cl | 0 |
| PARAM_VALUE | 0 | cl->free_rb_list.read_time | 0 |
| PARAM_VALUE | 0 | cl->in_process_list.cl | 0 |
| PARAM_VALUE | 0 | cl->rx_ring_size | 1-2 |
| PARAM_VALUE | 0 | cl->state | 3-4 |
| PARAM_VALUE | 0 | cl->status | 0 |
| PARAM_VALUE | 0 | cl->ts_max_fc_delay | 0 |
| PARAM_VALUE | 0 | cl->ts_out_fc | 0 |
| PARAM_VALUE | 0 | cl->ts_rx | 0 |
| PARAM_VALUE | 0 | cl->tx_list.send_buf.data | 0 |
| PARAM_VALUE | 0 | cl->tx_list.send_buf.size | 0 |
| PARAM_VALUE | 0 | cl->tx_offs | 0 |
| PARAM_VALUE | 0 | cl->tx_ring_free_size | 2 |
| PARAM_VALUE | 0 | cl->tx_ring_size | 1-2 |
| BUF_SIZE | 0 | cl | 800 |
| BUF_SIZE | 0 | cl | 800 |
| CAPPED_DATA | 0 | cl | 1 |
| DATA_SOURCE | 0 | cl | r ishtp_cl_allocate |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/platform/x86/intel/ishtp_eclite.c ecl_ishtp_cl_deinit() -> ishtp_cl_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cl | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cl->dev->cl_list_lock.rlock.dep_map->name | 0-255 |
| BUF_SIZE | 0 | cl | (-1),800 |
| BUF_SIZE | 0 | cl | (-1),800 |
| DATA_SOURCE | 0 | cl | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/platform/x86/intel/ishtp_eclite.c ecl_ishtp_cl_reset_handler() -> ishtp_cl_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cl | 4096-ptr_max |
| PARAM_VALUE | 0 | cl->client_data | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | cl->dev->cl_list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cl->dev->device_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cl->dev->read_list_spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cl->device | 0 |
| PARAM_VALUE | 0 | cl->err_send_fc | 0 |
| PARAM_VALUE | 0 | cl->err_send_msg | 0 |
| PARAM_VALUE | 0 | cl->free_list_spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cl->free_rb_list.buf_idx | 0 |
| PARAM_VALUE | 0 | cl->free_rb_list.buffer.data | 0 |
| PARAM_VALUE | 0 | cl->free_rb_list.buffer.size | 0 |
| PARAM_VALUE | 0 | cl->free_rb_list.cl | 0 |
| PARAM_VALUE | 0 | cl->free_rb_list.read_time | 0 |
| PARAM_VALUE | 0 | cl->fw_client_id | 0-255 |
| PARAM_VALUE | 0 | cl->host_client_id | 0-64 |
| PARAM_VALUE | 0 | cl->in_process_list.buf_idx | 0 |
| PARAM_VALUE | 0 | cl->in_process_list.cl | 0 |
| PARAM_VALUE | 0 | cl->in_process_list.read_time | 0 |
| PARAM_VALUE | 0 | cl->in_process_spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cl->ishtp_flow_ctrl_cnt | 0 |
| PARAM_VALUE | 0 | cl->ishtp_flow_ctrl_creds | 0 |
| PARAM_VALUE | 0 | cl->last_dma_acked | 1 |
| PARAM_VALUE | 0 | cl->last_dma_addr | 0 |
| PARAM_VALUE | 0 | cl->last_ipc_acked | 1 |
| PARAM_VALUE | 0 | cl->last_tx_path | 1 |
| PARAM_VALUE | 0 | cl->out_flow_ctrl_cnt | 0 |
| PARAM_VALUE | 0 | cl->out_flow_ctrl_creds | 0 |
| PARAM_VALUE | 0 | cl->recv_msg_cnt_dma | 0 |
| PARAM_VALUE | 0 | cl->recv_msg_cnt_ipc | 0 |
| PARAM_VALUE | 0 | cl->recv_msg_num_frags | 0 |
| PARAM_VALUE | 0 | cl->rx_ring_size | 2,16 |
| PARAM_VALUE | 0 | cl->send_msg_cnt_dma | 0 |
| PARAM_VALUE | 0 | cl->send_msg_cnt_ipc | 0 |
| PARAM_VALUE | 0 | cl->sending | 0 |
| PARAM_VALUE | 0 | cl->state | 0-1 |
| PARAM_VALUE | 0 | cl->status | 0 |
| PARAM_VALUE | 0 | cl->ts_max_fc_delay | 0 |
| PARAM_VALUE | 0 | cl->ts_out_fc | 0 |
| PARAM_VALUE | 0 | cl->ts_rx | 0 |
| PARAM_VALUE | 0 | cl->tx_free_list_spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cl->tx_list.send_buf.data | 0 |
| PARAM_VALUE | 0 | cl->tx_list.send_buf.size | 0 |
| PARAM_VALUE | 0 | cl->tx_list_spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cl->tx_offs | 0 |
| PARAM_VALUE | 0 | cl->tx_ring_free_size | 2 |
| PARAM_VALUE | 0 | cl->tx_ring_size | 2,8 |
| BUF_SIZE | 0 | cl | 800 |
| BUF_SIZE | 0 | cl | 800 |
| CAPPED_DATA | 0 | cl | 1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/hid/intel-ish-hid/ishtp-hid-client.c hid_ishtp_cl_deinit() -> ishtp_cl_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cl | 4096-ptr_max |
| PARAM_VALUE | 0 | cl->dev->cl_list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cl->dev->device_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cl->dev->ipc_tx_cnt | 0-4294967295 |
| PARAM_VALUE | 0 | cl->dev->read_list_spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cl->dev->wr_processing_spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cl->free_list_spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cl->state | 3-4 |
| BUF_SIZE | 0 | cl | 800 |
| BUF_SIZE | 0 | cl | 800 |
| CAPPED_DATA | 0 | cl | 1 |
| DATA_SOURCE | 0 | cl | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dev->mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/hid/intel-ish-hid/ishtp-hid-client.c hid_ishtp_cl_probe() -> ishtp_cl_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cl | 4096-ptr_max |
| PARAM_VALUE | 0 | cl->client_data | s64min-(-1),1-s64max |
| PARAM_VALUE | 0 | cl->dev->cl_list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cl->dev->device_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cl->dev->fw_clients_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cl->dev->ipc_tx_cnt | 0-4294967295 |
| PARAM_VALUE | 0 | cl->device | 0 |
| PARAM_VALUE | 0 | cl->err_send_fc | 0-4294967295 |
| PARAM_VALUE | 0 | cl->err_send_msg | 0-4294967295 |
| PARAM_VALUE | 0 | cl->free_rb_list.buf_idx | 0 |
| PARAM_VALUE | 0 | cl->free_rb_list.buffer.data | 0 |
| PARAM_VALUE | 0 | cl->free_rb_list.buffer.size | 0 |
| PARAM_VALUE | 0 | cl->free_rb_list.cl | 0 |
| PARAM_VALUE | 0 | cl->free_rb_list.read_time | 0 |
| PARAM_VALUE | 0 | cl->fw_client_id | 0-255 |
| PARAM_VALUE | 0 | cl->host_client_id | 0-255 |
| PARAM_VALUE | 0 | cl->in_process_list.buf_idx | 0 |
| PARAM_VALUE | 0 | cl->in_process_list.cl | 0 |
| PARAM_VALUE | 0 | cl->in_process_list.read_time | 0 |
| 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 | 2,32 |
| 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 | 3-4 |
| PARAM_VALUE | 0 | cl->status | 0 |
| PARAM_VALUE | 0 | cl->ts_max_fc_delay | 0 |
| PARAM_VALUE | 0 | cl->ts_out_fc | 0 |
| PARAM_VALUE | 0 | cl->ts_rx | 0 |
| PARAM_VALUE | 0 | cl->tx_list.send_buf.data | 0 |
| PARAM_VALUE | 0 | cl->tx_list.send_buf.size | 0 |
| PARAM_VALUE | 0 | cl->tx_offs | 0 |
| PARAM_VALUE | 0 | cl->tx_ring_free_size | 2 |
| PARAM_VALUE | 0 | cl->tx_ring_size | 2,16 |
| BUF_SIZE | 0 | cl | 800 |
| BUF_SIZE | 0 | cl | 800 |
| DATA_SOURCE | 0 | cl | r ishtp_cl_allocate |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/platform/chrome/cros_ec_ishtp.c cros_ec_ishtp_probe() -> ishtp_cl_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cl | 4096-ptr_max |
| PARAM_VALUE | 0 | cl->client_data | s64min-(-1),1-s64max |
| PARAM_VALUE | 0 | cl->dev->cl_list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cl->dev->device_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cl->dev->fw_clients_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cl->dev->ipc_tx_cnt | 0-4294967295 |
| PARAM_VALUE | 0 | cl->dev->read_list_spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cl->dev->wr_processing_spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cl->device | 0 |
| PARAM_VALUE | 0 | cl->free_list_spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cl->free_rb_list.buf_idx | 0 |
| PARAM_VALUE | 0 | cl->free_rb_list.buffer.data | 0 |
| PARAM_VALUE | 0 | cl->free_rb_list.buffer.size | 0 |
| PARAM_VALUE | 0 | cl->free_rb_list.cl | 0 |
| PARAM_VALUE | 0 | cl->free_rb_list.read_time | 0 |
| PARAM_VALUE | 0 | cl->in_process_list.buf_idx | 0 |
| PARAM_VALUE | 0 | cl->in_process_list.cl | 0 |
| PARAM_VALUE | 0 | cl->in_process_list.read_time | 0 |
| PARAM_VALUE | 0 | cl->rx_ring_size | 2,8 |
| PARAM_VALUE | 0 | cl->state | 3-4 |
| PARAM_VALUE | 0 | cl->status | 0 |
| PARAM_VALUE | 0 | cl->ts_max_fc_delay | 0 |
| PARAM_VALUE | 0 | cl->ts_out_fc | 0 |
| PARAM_VALUE | 0 | cl->ts_rx | 0 |
| PARAM_VALUE | 0 | cl->tx_free_list.send_buf.data | 0 |
| PARAM_VALUE | 0 | cl->tx_free_list.send_buf.size | 0 |
| PARAM_VALUE | 0 | cl->tx_list.send_buf.data | 0 |
| PARAM_VALUE | 0 | cl->tx_list.send_buf.size | 0 |
| PARAM_VALUE | 0 | cl->tx_offs | 0 |
| PARAM_VALUE | 0 | cl->tx_ring_free_size | 2 |
| PARAM_VALUE | 0 | cl->tx_ring_size | 2,8 |
| BUF_SIZE | 0 | cl | 800 |
| BUF_SIZE | 0 | cl | 800 |
| CAPPED_DATA | 0 | cl | 1 |
| DATA_SOURCE | 0 | cl | r ishtp_cl_allocate |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &init_lock |
drivers/platform/chrome/cros_ec_ishtp.c cros_ish_deinit() -> ishtp_cl_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cl | 4096-ptr_max |
| PARAM_VALUE | 0 | cl->dev->cl_list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cl->dev->device_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cl->dev->ipc_tx_cnt | 0-4294967295 |
| PARAM_VALUE | 0 | cl->dev->read_list_spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cl->dev->wr_processing_spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cl->free_list_spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cl->state | 3-4 |
| BUF_SIZE | 0 | cl | 800 |
| BUF_SIZE | 0 | cl | 800 |
| CAPPED_DATA | 0 | cl | 1 |
| DATA_SOURCE | 0 | cl | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dev->mutex | ||
| TYPE_LOCK | (struct device)->mutex |