Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/input/rmi4/rmi_smbus.c rmi_smb_get_command_code() -> smb_block_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xport | 4096-ptr_max |
| PARAM_VALUE | 0 | xport->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | xport->ops->read_block | 4096-ptr_max |
| PARAM_VALUE | 0 | xport->ops->reset | 0,3381785480563384320,6734576065541279744 |
| PARAM_VALUE | 0 | xport->ops->write_block | 4096-ptr_max |
| PARAM_VALUE | 1 | commandcode | 128-135 |
| PARAM_VALUE | 2 | buf | 3964801099994439680 |
| PARAM_VALUE | 3 | len | 4 |
| BUF_SIZE | 2 | buf | 4 |
| DATA_SOURCE | 0 | xport | $0 |
| MEM_ZERO | 2 | buf | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | len | unit_byte |
| LOCK2 | &rmi_smb->mappingtable_mutex | ||
| LOCK2 | &rmi_smb->page_mutex | ||
| HALF_LOCKED2 | &f54->data_mutex | ||
| TYPE_LOCK | (struct rmi_smb_xport)->mappingtable_mutex | ||
| TYPE_LOCK | (struct rmi_smb_xport)->page_mutex |
drivers/input/rmi4/rmi_smbus.c rmi_smb_write_block() -> smb_block_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xport | 4096-ptr_max |
| PARAM_VALUE | 0 | xport->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | xport->ops->read_block | 4096-ptr_max |
| PARAM_VALUE | 0 | xport->ops->write_block | 4096-ptr_max |
| PARAM_VALUE | 1 | commandcode | 0-7 |
| PARAM_VALUE | 3 | len | 0-32,18446744071562067968-u64max |
| BUF_SIZE | 2 | buf | (-1)-u16max |
| BUF_SIZE | 2 | buf | (-1)-u16max |
| CAPPED_DATA | 3 | len | 1 |
| DATA_SOURCE | 0 | xport | $0 |
| DATA_SOURCE | 2 | buf | $2 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &rmi_smb->page_mutex | ||
| HALF_LOCKED2 | &f54->data_mutex | ||
| HALF_LOCKED2 | &f54->status_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct rmi_smb_xport)->page_mutex |