Documented in 1 files:
Defined in 1 files as a function:
Referenced in 8 files:
- drivers/input/rmi4/rmi_driver.c
- drivers/input/rmi4/rmi_f01.c, line 606
- drivers/input/rmi4/rmi_f11.c, line 778
- drivers/input/rmi4/rmi_f12.c, line 326
- drivers/input/rmi4/rmi_f30.c, line 185
- drivers/input/rmi4/rmi_f34.c
- drivers/input/rmi4/rmi_f34v7.c
- drivers/input/rmi4/rmi_f54.c, line 597
Smatch caller information:
drivers/input/rmi4/rmi_f01.c rmi_f01_config() -> rmi_write_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| PARAM_VALUE | 0 | d->xport | 4096-ptr_max |
| PARAM_VALUE | 0 | d->xport->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | d->xport->ops->write_block | 4096-ptr_max |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | len | unit_byte |
drivers/input/rmi4/rmi_f30.c rmi_f30_config() -> rmi_write_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| BUF_SIZE | 2 | buf | 93 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/input/rmi4/rmi_f54.c rmi_f54_work() -> rmi_write_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| PARAM_VALUE | 0 | d->xport | 4096-ptr_max |
| PARAM_VALUE | 0 | d->xport->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | d->xport->ops->read_block | 4096-ptr_max |
| PARAM_VALUE | 0 | d->xport->ops->write_block | 4096-ptr_max |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 2 |
| BUF_SIZE | 2 | buf | 2 |
| UNITS | 3 | len | unit_byte |
| LOCK2 | &f54->data_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct f54_data)->data_mutex |
drivers/input/rmi4/rmi_f12.c rmi_f12_update_dribble() -> rmi_write_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| PARAM_VALUE | 0 | d->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | d->xport | 4096-ptr_max |
| PARAM_VALUE | 0 | d->xport->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | d->xport->ops->read_block | 4096-ptr_max |
| PARAM_VALUE | 2 | buf | 6555415720936628224 |
| PARAM_VALUE | 3 | len | 0-3 |
| BUF_SIZE | 2 | buf | 3 |
| CAPPED_DATA | 3 | len | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | len | unit_byte |
drivers/input/rmi4/rmi_f34v7.c rmi_f34v7_read_blocks() -> rmi_write_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| PARAM_VALUE | 0 | d->dev.driver_data->irq_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | d->dev.driver_data->irq_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | d->dev.driver_data->irq_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | d->dev.driver_data->irq_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | d->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | d->xport | 4096-ptr_max |
| PARAM_VALUE | 0 | d->xport->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | d->xport->ops->read_block | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 2-257 |
| PARAM_VALUE | 2 | buf | 1198540296685801472 |
| PARAM_VALUE | 2 | *buf | 0 |
| PARAM_VALUE | 3 | len | 2 |
| BUF_SIZE | 2 | buf | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | len | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/input/rmi4/rmi_f34v7.c rmi_f34v7_read_blocks() -> rmi_write_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| PARAM_VALUE | 0 | d->dev.driver_data->irq_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | d->dev.driver_data->irq_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | d->dev.driver_data->irq_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | d->dev.driver_data->irq_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | d->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | d->xport | 4096-ptr_max |
| PARAM_VALUE | 0 | d->xport->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | d->xport->ops->read_block | 4096-ptr_max |
| PARAM_VALUE | 0 | d->xport->ops->write_block | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 3-258 |
| PARAM_VALUE | 2 | buf | 8537328052185788416 |
| PARAM_VALUE | 2 | *buf | 0-4096 |
| PARAM_VALUE | 3 | len | 2 |
| BUF_SIZE | 2 | buf | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | len | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/input/rmi4/rmi_f34v7.c rmi_f34v7_read_partition_table() -> rmi_write_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| PARAM_VALUE | 0 | d->xport | 4096-ptr_max |
| PARAM_VALUE | 0 | d->xport->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | d->xport->ops->read_block | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 2-257 |
| PARAM_VALUE | 2 | buf | 4778007039205523456 |
| PARAM_VALUE | 2 | *buf | 0 |
| PARAM_VALUE | 3 | len | 2 |
| BUF_SIZE | 2 | buf | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | len | unit_byte |
drivers/input/rmi4/rmi_f34v7.c rmi_f34v7_read_partition_table() -> rmi_write_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| PARAM_VALUE | 0 | d->xport | 4096-ptr_max |
| PARAM_VALUE | 0 | d->xport->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | d->xport->ops->read_block | 4096-ptr_max |
| PARAM_VALUE | 0 | d->xport->ops->write_block | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 3-258 |
| PARAM_VALUE | 2 | buf | 8982119896613330944 |
| PARAM_VALUE | 3 | len | 2 |
| BUF_SIZE | 2 | buf | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | len | unit_byte |
drivers/input/rmi4/rmi_f34v7.c rmi_f34v7_write_command() -> rmi_write_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| PARAM_VALUE | 0 | d->xport | 4096-ptr_max |
| PARAM_VALUE | 0 | d->xport->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | d->xport->ops->read_block | 4096-ptr_max |
| PARAM_VALUE | 0 | d->xport->ops->write_block | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 4-259 |
| PARAM_VALUE | 2 | buf | 3958319840418824192 |
| PARAM_VALUE | 2 | *buf | 2-3 |
| PARAM_VALUE | 3 | len | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | len | unit_byte |
| HALF_LOCKED2 | &of->mutex |
drivers/input/rmi4/rmi_f34v7.c rmi_f34v7_write_command_single_transaction() -> rmi_write_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| PARAM_VALUE | 0 | d->xport | 4096-ptr_max |
| PARAM_VALUE | 0 | d->xport->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | d->xport->ops->read_block | 4096-ptr_max |
| PARAM_VALUE | 0 | d->xport->ops->write_block | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 1-256 |
| PARAM_VALUE | 2 | buf | 6858463328966606848 |
| PARAM_VALUE | 3 | len | 8 |
| BUF_SIZE | 2 | buf | 8 |
| MEM_ZERO | 2 | buf | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | len | unit_byte |
| HALF_LOCKED2 | &of->mutex |
drivers/input/rmi4/rmi_f34v7.c rmi_f34v7_write_f34v7_blocks() -> rmi_write_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| PARAM_VALUE | 0 | d->dev.driver_data->irq_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | d->dev.driver_data->irq_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | d->dev.driver_data->irq_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | d->dev.driver_data->irq_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | d->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | d->xport | 4096-ptr_max |
| PARAM_VALUE | 0 | d->xport->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | d->xport->ops->read_block | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 2-257 |
| PARAM_VALUE | 2 | buf | 2308347937482797056 |
| PARAM_VALUE | 2 | *buf | 0 |
| PARAM_VALUE | 3 | len | 2 |
| BUF_SIZE | 2 | buf | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | len | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/input/rmi4/rmi_f34v7.c rmi_f34v7_write_f34v7_blocks() -> rmi_write_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| PARAM_VALUE | 0 | d->dev.driver_data->irq_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | d->dev.driver_data->irq_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | d->dev.driver_data->irq_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | d->dev.driver_data->irq_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | d->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | d->xport | 4096-ptr_max |
| PARAM_VALUE | 0 | d->xport->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | d->xport->ops->read_block | 4096-ptr_max |
| PARAM_VALUE | 0 | d->xport->ops->write_block | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 3-258 |
| PARAM_VALUE | 2 | buf | 3581820348529864704 |
| PARAM_VALUE | 2 | *buf | 0-4096 |
| PARAM_VALUE | 3 | len | 2 |
| BUF_SIZE | 2 | buf | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | len | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/input/rmi4/rmi_f34v7.c rmi_f34v7_write_f34v7_blocks() -> rmi_write_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| PARAM_VALUE | 0 | d->dev.driver_data->irq_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | d->dev.driver_data->irq_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | d->dev.driver_data->irq_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | d->dev.driver_data->irq_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | d->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | d->xport | 4096-ptr_max |
| PARAM_VALUE | 0 | d->xport->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | d->xport->ops->read_block | 4096-ptr_max |
| PARAM_VALUE | 0 | d->xport->ops->write_block | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 5-260 |
| PARAM_VALUE | 3 | len | 0-268431360 |
| BUF_SIZE | 2 | buf | (-1)-u16max |
| BUF_SIZE | 2 | buf | (-1)-u16max |
| DATA_SOURCE | 2 | buf | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | buf | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/input/rmi4/rmi_f34v7.c rmi_f34v7_write_partition_id() -> rmi_write_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| PARAM_VALUE | 0 | d->xport | 4096-ptr_max |
| PARAM_VALUE | 0 | d->xport->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | d->xport->ops->read_block | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 1-256 |
| PARAM_VALUE | 2 | buf | 7432503589863481344 |
| PARAM_VALUE | 2 | *buf | 0-255 |
| PARAM_VALUE | 3 | len | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | len | unit_byte |
| HALF_LOCKED2 | &of->mutex |
drivers/input/rmi4/rmi_driver.c rmi_driver_clear_irq_bits() -> rmi_write_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| PARAM_VALUE | 0 | d->driver | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 0-s32max,18446744071562067968-u64max |
| DATA_SOURCE | 0 | d | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &data->irq_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct rmi_driver_data)->irq_mutex |
drivers/input/rmi4/rmi_driver.c rmi_driver_set_irq_bits() -> rmi_write_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| PARAM_VALUE | 0 | d->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | d->xport->ops->read_block | 4096-ptr_max |
| PARAM_VALUE | 0 | d->xport->ops->write_block | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 0-s32max,18446744071562067968-u64max |
| DATA_SOURCE | 0 | d | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &data->irq_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct rmi_driver_data)->irq_mutex |
drivers/input/rmi4/rmi_driver.c rmi_initial_reset() -> rmi_write_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| PARAM_VALUE | 0 | d->xport | 4096-ptr_max |
| PARAM_VALUE | 0 | d->xport->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | d->xport->ops->read_block | 4096-ptr_max |
| PARAM_VALUE | 2 | buf | 3094747548720123904 |
| PARAM_VALUE | 2 | *buf | 1 |
| PARAM_VALUE | 3 | len | 1 |
| DATA_SOURCE | 0 | d | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex |
drivers/input/rmi4/rmi_f11.c f11_write_control_regs() -> rmi_write_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 12 |
| BUF_SIZE | 2 | buf | 12 |
| DATA_SOURCE | 1 | addr | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/input/rmi4/rmi_f34.c rmi_f34_write_blocks() -> rmi_write_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 2 |
| BUF_SIZE | 2 | buf | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | len | unit_byte |
| LOCK2 | &of->mutex | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/input/rmi4/rmi_f34.c rmi_f34_write_blocks() -> rmi_write_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| PARAM_VALUE | 0 | d->xport | 4096-ptr_max |
| PARAM_VALUE | 0 | d->xport->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | d->xport->ops->write_block | 4096-ptr_max |
| DATA_SOURCE | 2 | buf | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/input/rmi4/rmi_f34.c rmi_f34_write_bootloader_id() -> rmi_write_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| PARAM_VALUE | 0 | d->xport | 4096-ptr_max |
| PARAM_VALUE | 0 | d->xport->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | d->xport->ops->read_block | 4096-ptr_max |
| PARAM_VALUE | 2 | buf | 6627542634202226688 |
| PARAM_VALUE | 3 | len | 2 |
| BUF_SIZE | 2 | buf | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | len | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |