Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/hid/hid-mcp2221.c mcp_i2c_xfer() -> mcp_i2c_smbus_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mcp | 4096-ptr_max |
| PARAM_VALUE | 0 | mcp->hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | mcp->hdev->ll_driver | 4096-ptr_max |
| PARAM_VALUE | 0 | mcp->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mcp->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mcp->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mcp->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mcp->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mcp->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | mcp->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | msg | 4096-ptr_max |
| PARAM_VALUE | 1 | msg->flags | 1-u16max |
| PARAM_VALUE | 2 | type | 145 |
| PARAM_VALUE | 3 | smbus_addr | 0 |
| PARAM_VALUE | 4 | smbus_len | 0 |
| PARAM_VALUE | 5 | smbus_buf | 0 |
| BUF_SIZE | 0 | mcp | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | mcp | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &mcp->lock | 1 |
| DATA_SOURCE | 1 | msg | $1 |
| UNITS | 0 | mcp | unit_byte |
| LOCK2 | 0 | &mcp->lock | |
| TYPE_LOCK | (struct mcp2221)->lock |
drivers/hid/hid-mcp2221.c mcp_i2c_xfer() -> mcp_i2c_smbus_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mcp | 4096-ptr_max |
| PARAM_VALUE | 0 | mcp->hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | mcp->hdev->driver_data->qlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mcp->hdev->driver_data->thc_hw->thc_bus_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mcp->hdev->driver_data->thc_hw->thc_bus_lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | mcp->hdev->driver_data->thc_hw->thc_regmap->async | 0-1 |
| PARAM_VALUE | 0 | mcp->hdev->driver_data->thc_hw->thc_regmap->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | mcp->hdev->driver_data->thc_hw->thc_regmap->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | mcp->hdev->ll_driver | 4096-ptr_max |
| PARAM_VALUE | 0 | mcp->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mcp->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mcp->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mcp->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mcp->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mcp->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | mcp->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | mcp->wait_in_report.done | 0-4294967293,u32max |
| PARAM_VALUE | 0 | mcp->wait_in_report.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mcp->wait_in_report.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mcp->wait_in_report.wait.task_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | *mcp->hdev->driver_data->report_buf | 0-255 |
| PARAM_VALUE | 0 | *mcp->txbuf | 0-255 |
| PARAM_VALUE | 1 | msg | 4096-ptr_max |
| PARAM_VALUE | 1 | msg->flags | 1-u16max |
| PARAM_VALUE | 2 | type | 147 |
| PARAM_VALUE | 3 | smbus_addr | 0 |
| PARAM_VALUE | 4 | smbus_len | 0 |
| PARAM_VALUE | 5 | smbus_buf | 0 |
| BUF_SIZE | 0 | mcp | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | mcp | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &mcp->lock | 1 |
| UNITS | 0 | mcp | unit_byte |
| LOCK2 | 0 | &mcp->lock | |
| TYPE_LOCK | (struct mcp2221)->lock |
drivers/hid/hid-mcp2221.c mcp_smbus_xfer() -> mcp_i2c_smbus_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mcp | 4096-ptr_max |
| PARAM_VALUE | 0 | mcp->hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | mcp->hdev->ll_driver | 4096-ptr_max |
| PARAM_VALUE | 0 | mcp->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mcp->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mcp->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mcp->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mcp->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mcp->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | mcp->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | msg | 0 |
| PARAM_VALUE | 2 | type | 145 |
| PARAM_VALUE | 4 | smbus_len | 0 |
| BUF_SIZE | 0 | mcp | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | mcp | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &mcp->lock | 1 |
| DATA_SOURCE | 3 | smbus_addr | $1 |
| STR_LEN | 0 | mcp | (-1) |
| STR_LEN | 0 | mcp | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 5 | *smbus_buf | 0-255 |
| USER_DATA | 3 | smbus_addr | 66-79[c] |
| USER_DATA | 5 | *smbus_buf | 0-255 |
| UNITS | 0 | mcp | unit_byte |
| UNITS | 3 | smbus_addr | unit_array_size |
| USER_PTR | 5 | smbus_buf | |
| LOCK2 | 0 | &mcp->lock | |
| TYPE_LOCK | (struct mcp2221)->lock |
drivers/hid/hid-mcp2221.c mcp_smbus_xfer() -> mcp_i2c_smbus_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mcp | 4096-ptr_max |
| PARAM_VALUE | 0 | mcp->hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | mcp->hdev->ll_driver | 4096-ptr_max |
| PARAM_VALUE | 0 | mcp->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mcp->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mcp->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mcp->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mcp->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mcp->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | mcp->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | msg | 0 |
| PARAM_VALUE | 2 | type | 145 |
| PARAM_VALUE | 4 | smbus_len | 1 |
| BUF_SIZE | 0 | mcp | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | mcp | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &mcp->lock | 1 |
| DATA_SOURCE | 3 | smbus_addr | $1 |
| STR_LEN | 0 | mcp | (-1) |
| STR_LEN | 0 | mcp | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 5 | *smbus_buf | 0-255 |
| USER_DATA | 3 | smbus_addr | 66-79[c] |
| USER_DATA | 5 | *smbus_buf | 0-255 |
| UNITS | 0 | mcp | unit_byte |
| UNITS | 3 | smbus_addr | unit_array_size |
| USER_PTR | 5 | smbus_buf | |
| LOCK2 | 0 | &mcp->lock | |
| TYPE_LOCK | (struct mcp2221)->lock |
drivers/hid/hid-mcp2221.c mcp_smbus_xfer() -> mcp_i2c_smbus_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mcp | 4096-ptr_max |
| PARAM_VALUE | 0 | mcp->hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | mcp->hdev->driver_data->qlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mcp->hdev->driver_data->thc_hw->thc_bus_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mcp->hdev->driver_data->thc_hw->thc_bus_lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | mcp->hdev->driver_data->thc_hw->thc_regmap->async | 0-1 |
| PARAM_VALUE | 0 | mcp->hdev->driver_data->thc_hw->thc_regmap->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | mcp->hdev->driver_data->thc_hw->thc_regmap->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | mcp->hdev->ll_driver | 4096-ptr_max |
| PARAM_VALUE | 0 | mcp->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mcp->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mcp->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mcp->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mcp->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mcp->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | mcp->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | mcp->wait_in_report.done | 0-4294967293,u32max |
| PARAM_VALUE | 0 | mcp->wait_in_report.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mcp->wait_in_report.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mcp->wait_in_report.wait.task_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | *mcp->hdev->driver_data->report_buf | 0-255 |
| PARAM_VALUE | 0 | *mcp->txbuf | 0-255 |
| PARAM_VALUE | 1 | msg | 0 |
| PARAM_VALUE | 2 | type | 147 |
| PARAM_VALUE | 4 | smbus_len | 1 |
| BUF_SIZE | 0 | mcp | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | mcp | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &mcp->lock | 1 |
| DATA_SOURCE | 3 | smbus_addr | $1 |
| STR_LEN | 0 | mcp | (-1) |
| STR_LEN | 0 | mcp | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 5 | *smbus_buf | 0-255 |
| USER_DATA | 3 | smbus_addr | 66-79[c] |
| USER_DATA | 5 | *smbus_buf | 0-255 |
| UNITS | 0 | mcp | unit_byte |
| UNITS | 3 | smbus_addr | unit_array_size |
| USER_PTR | 5 | smbus_buf | |
| LOCK2 | 0 | &mcp->lock | |
| TYPE_LOCK | (struct mcp2221)->lock |
drivers/hid/hid-mcp2221.c mcp_smbus_xfer() -> mcp_i2c_smbus_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mcp | 4096-ptr_max |
| PARAM_VALUE | 0 | mcp->hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | mcp->hdev->driver_data->qlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mcp->hdev->driver_data->thc_hw->thc_bus_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mcp->hdev->driver_data->thc_hw->thc_bus_lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | mcp->hdev->driver_data->thc_hw->thc_regmap->async | 0-1 |
| PARAM_VALUE | 0 | mcp->hdev->driver_data->thc_hw->thc_regmap->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | mcp->hdev->driver_data->thc_hw->thc_regmap->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | mcp->hdev->ll_driver | 4096-ptr_max |
| PARAM_VALUE | 0 | mcp->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mcp->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mcp->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mcp->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mcp->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mcp->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | mcp->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | mcp->wait_in_report.done | 0-4294967293,u32max |
| PARAM_VALUE | 0 | mcp->wait_in_report.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mcp->wait_in_report.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mcp->wait_in_report.wait.task_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | *mcp->hdev->driver_data->report_buf | 0-255 |
| PARAM_VALUE | 0 | *mcp->txbuf | 0-255 |
| PARAM_VALUE | 1 | msg | 0 |
| PARAM_VALUE | 2 | type | 147 |
| PARAM_VALUE | 4 | smbus_len | 2 |
| BUF_SIZE | 0 | mcp | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | mcp | s32min-(-2),1-s32max |
| BUF_SIZE | 5 | smbus_buf | 2 |
| CAPPED_DATA | 0 | &mcp->lock | 1 |
| DATA_SOURCE | 3 | smbus_addr | $1 |
| STR_LEN | 0 | mcp | (-1) |
| STR_LEN | 0 | mcp | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | smbus_addr | 66-79[c] |
| USER_DATA | 5 | *smbus_buf | 0-255 |
| UNITS | 0 | mcp | unit_byte |
| UNITS | 3 | smbus_addr | unit_array_size |
| USER_PTR | 5 | smbus_buf | |
| LOCK2 | 0 | &mcp->lock | |
| TYPE_LOCK | (struct mcp2221)->lock |
drivers/hid/hid-mcp2221.c mcp_smbus_xfer() -> mcp_i2c_smbus_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mcp | 4096-ptr_max |
| PARAM_VALUE | 0 | mcp->hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | mcp->hdev->driver_data->qlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mcp->hdev->driver_data->thc_hw->thc_bus_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mcp->hdev->driver_data->thc_hw->thc_bus_lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | mcp->hdev->driver_data->thc_hw->thc_regmap->async | 0-1 |
| PARAM_VALUE | 0 | mcp->hdev->driver_data->thc_hw->thc_regmap->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | mcp->hdev->driver_data->thc_hw->thc_regmap->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | mcp->hdev->ll_driver | 4096-ptr_max |
| PARAM_VALUE | 0 | mcp->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mcp->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mcp->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mcp->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mcp->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mcp->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | mcp->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | mcp->wait_in_report.done | 0-4294967293,u32max |
| PARAM_VALUE | 0 | mcp->wait_in_report.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mcp->wait_in_report.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mcp->wait_in_report.wait.task_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | *mcp->hdev->driver_data->report_buf | 0-255 |
| PARAM_VALUE | 0 | *mcp->txbuf | 0-255 |
| PARAM_VALUE | 1 | msg | 0 |
| PARAM_VALUE | 2 | type | 147 |
| PARAM_VALUE | 5 | smbus_buf | 4096-ptr_max |
| BUF_SIZE | 0 | mcp | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | mcp | s32min-(-2),1-s32max |
| BUF_SIZE | 5 | smbus_buf | 34 |
| CAPPED_DATA | 0 | &mcp->lock | 1 |
| DATA_SOURCE | 3 | smbus_addr | $1 |
| STR_LEN | 0 | mcp | (-1) |
| STR_LEN | 0 | mcp | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | smbus_addr | 66-79[c] |
| USER_DATA | 4 | smbus_len | 0-255 |
| USER_DATA | 5 | *smbus_buf | 0-255 |
| UNITS | 0 | mcp | unit_byte |
| UNITS | 3 | smbus_addr | unit_array_size |
| USER_PTR | 5 | smbus_buf | |
| LOCK2 | 0 | &mcp->lock | |
| TYPE_LOCK | (struct mcp2221)->lock |
drivers/hid/hid-mcp2221.c mcp_smbus_xfer() -> mcp_i2c_smbus_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mcp | 4096-ptr_max |
| PARAM_VALUE | 0 | mcp->hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | mcp->hdev->driver_data->qlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mcp->hdev->driver_data->thc_hw->thc_bus_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mcp->hdev->driver_data->thc_hw->thc_bus_lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | mcp->hdev->driver_data->thc_hw->thc_regmap->async | 0-1 |
| PARAM_VALUE | 0 | mcp->hdev->driver_data->thc_hw->thc_regmap->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | mcp->hdev->driver_data->thc_hw->thc_regmap->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | mcp->hdev->ll_driver | 4096-ptr_max |
| PARAM_VALUE | 0 | mcp->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mcp->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mcp->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mcp->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mcp->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mcp->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | mcp->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | mcp->wait_in_report.done | 0-4294967293,u32max |
| PARAM_VALUE | 0 | mcp->wait_in_report.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mcp->wait_in_report.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mcp->wait_in_report.wait.task_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | *mcp->hdev->driver_data->report_buf | 0-255 |
| PARAM_VALUE | 0 | *mcp->txbuf | 0-255 |
| PARAM_VALUE | 1 | msg | 0 |
| PARAM_VALUE | 2 | type | 147 |
| PARAM_VALUE | 5 | smbus_buf | 4096-ptr_max |
| BUF_SIZE | 0 | mcp | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | mcp | s32min-(-2),1-s32max |
| BUF_SIZE | 5 | smbus_buf | 33 |
| CAPPED_DATA | 0 | &mcp->lock | 1 |
| DATA_SOURCE | 3 | smbus_addr | $1 |
| STR_LEN | 0 | mcp | (-1) |
| STR_LEN | 0 | mcp | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | smbus_addr | 66-79[c] |
| USER_DATA | 4 | smbus_len | 0-255 |
| USER_DATA | 5 | *smbus_buf | 0-255 |
| UNITS | 0 | mcp | unit_byte |
| UNITS | 3 | smbus_addr | unit_array_size |
| USER_PTR | 5 | smbus_buf | |
| LOCK2 | 0 | &mcp->lock | |
| TYPE_LOCK | (struct mcp2221)->lock |
drivers/hid/hid-mcp2221.c mcp_smbus_xfer() -> mcp_i2c_smbus_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mcp | 4096-ptr_max |
| PARAM_VALUE | 0 | mcp->hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | mcp->hdev->driver_data->qlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mcp->hdev->driver_data->thc_hw->thc_bus_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mcp->hdev->driver_data->thc_hw->thc_bus_lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | mcp->hdev->driver_data->thc_hw->thc_regmap->async | 0-1 |
| PARAM_VALUE | 0 | mcp->hdev->driver_data->thc_hw->thc_regmap->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | mcp->hdev->driver_data->thc_hw->thc_regmap->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | mcp->hdev->ll_driver | 4096-ptr_max |
| PARAM_VALUE | 0 | mcp->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mcp->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mcp->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mcp->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mcp->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mcp->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | mcp->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | mcp->wait_in_report.done | 0-4294967293,u32max |
| PARAM_VALUE | 0 | mcp->wait_in_report.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mcp->wait_in_report.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mcp->wait_in_report.wait.task_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | *mcp->hdev->driver_data->report_buf | 0-255 |
| PARAM_VALUE | 0 | *mcp->txbuf | 0-255 |
| PARAM_VALUE | 1 | msg | 0 |
| PARAM_VALUE | 2 | type | 147 |
| PARAM_VALUE | 4 | smbus_len | 2 |
| BUF_SIZE | 0 | mcp | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | mcp | s32min-(-2),1-s32max |
| BUF_SIZE | 5 | smbus_buf | 2 |
| CAPPED_DATA | 0 | &mcp->lock | 1 |
| DATA_SOURCE | 3 | smbus_addr | $1 |
| STR_LEN | 0 | mcp | (-1) |
| STR_LEN | 0 | mcp | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | smbus_addr | 66-79[c] |
| USER_DATA | 5 | *smbus_buf | 0-255 |
| UNITS | 0 | mcp | unit_byte |
| UNITS | 3 | smbus_addr | unit_array_size |
| USER_PTR | 5 | smbus_buf | |
| LOCK2 | 0 | &mcp->lock | |
| TYPE_LOCK | (struct mcp2221)->lock |
drivers/hid/hid-mcp2221.c mcp_smbus_xfer() -> mcp_i2c_smbus_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mcp | 4096-ptr_max |
| PARAM_VALUE | 0 | mcp->hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | mcp->hdev->driver_data->qlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mcp->hdev->driver_data->thc_hw->thc_bus_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mcp->hdev->driver_data->thc_hw->thc_bus_lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | mcp->hdev->driver_data->thc_hw->thc_regmap->async | 0-1 |
| PARAM_VALUE | 0 | mcp->hdev->driver_data->thc_hw->thc_regmap->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | mcp->hdev->driver_data->thc_hw->thc_regmap->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | mcp->hdev->ll_driver | 4096-ptr_max |
| PARAM_VALUE | 0 | mcp->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mcp->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mcp->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mcp->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mcp->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mcp->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | mcp->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | mcp->wait_in_report.done | 0-4294967293,u32max |
| PARAM_VALUE | 0 | mcp->wait_in_report.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mcp->wait_in_report.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mcp->wait_in_report.wait.task_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | *mcp->hdev->driver_data->report_buf | 0-255 |
| PARAM_VALUE | 0 | *mcp->txbuf | 0-255 |
| PARAM_VALUE | 1 | msg | 0 |
| PARAM_VALUE | 2 | type | 147 |
| PARAM_VALUE | 4 | smbus_len | 32 |
| PARAM_VALUE | 5 | smbus_buf | 4096-ptr_max |
| BUF_SIZE | 0 | mcp | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | mcp | s32min-(-2),1-s32max |
| BUF_SIZE | 5 | smbus_buf | 34 |
| CAPPED_DATA | 0 | &mcp->lock | 1 |
| DATA_SOURCE | 3 | smbus_addr | $1 |
| STR_LEN | 0 | mcp | (-1) |
| STR_LEN | 0 | mcp | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | smbus_addr | 66-79[c] |
| USER_DATA | 5 | *smbus_buf | 0-255 |
| UNITS | 0 | mcp | unit_byte |
| UNITS | 3 | smbus_addr | unit_array_size |
| USER_PTR | 5 | smbus_buf | |
| LOCK2 | 0 | &mcp->lock | |
| TYPE_LOCK | (struct mcp2221)->lock |