Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/spi/spi-sh-msiof.c sh_msiof_modify_ctr_wait() -> sh_msiof_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->ctlr->target | 1 |
| PARAM_VALUE | 0 | p->done.done | 0-4294967293,u32max |
| PARAM_VALUE | 0 | p->mapbase | 4096-ptr_max |
| PARAM_VALUE | 0 | p->target_aborted | 0 |
| PARAM_VALUE | 1 | reg_offs | 40 |
| BUF_SIZE | 0 | p | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | p | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | p | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | p | unit_byte |
| LOCK2 | &ctlr->io_mutex | ||
| HALF_LOCKED2 | &ctlr->dev.driver_data->op_lock | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-sh-msiof.c sh_msiof_reset_str() -> sh_msiof_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->ctlr->target | 1 |
| PARAM_VALUE | 0 | p->done.done | 0-4294967293,u32max |
| PARAM_VALUE | 0 | p->mapbase | 4096-ptr_max |
| PARAM_VALUE | 0 | p->target_aborted | 0 |
| PARAM_VALUE | 1 | reg_offs | 64 |
| BUF_SIZE | 0 | p | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | p | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | p | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | p | unit_byte |
| LOCK2 | &ctlr->io_mutex | ||
| HALF_LOCKED2 | &ctlr->dev.driver_data->op_lock | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-sh-msiof.c sh_msiof_spi_read_fifo_16() -> sh_msiof_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->ctlr->target | 1 |
| PARAM_VALUE | 0 | p->done.done | 0-4294967293,u32max |
| PARAM_VALUE | 0 | p->done.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | p->done.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | p->done.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | p->done.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | p->done.wait.task_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | p->mapbase | 4096-ptr_max |
| PARAM_VALUE | 0 | p->target_aborted | 0 |
| PARAM_VALUE | 1 | reg_offs | 96 |
| BUF_SIZE | 0 | p | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | p | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | p | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | p | unit_byte |
| LOCK2 | &ctlr->io_mutex | ||
| HALF_LOCKED2 | &ctlr->dev.driver_data->op_lock | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-sh-msiof.c sh_msiof_spi_read_fifo_16u() -> sh_msiof_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->ctlr->target | 1 |
| PARAM_VALUE | 0 | p->done.done | 0-4294967293,u32max |
| PARAM_VALUE | 0 | p->done.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | p->done.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | p->done.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | p->done.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | p->done.wait.task_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | p->mapbase | 4096-ptr_max |
| PARAM_VALUE | 0 | p->target_aborted | 0 |
| PARAM_VALUE | 1 | reg_offs | 96 |
| BUF_SIZE | 0 | p | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | p | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | p | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | p | unit_byte |
| LOCK2 | &ctlr->io_mutex | ||
| HALF_LOCKED2 | &ctlr->dev.driver_data->op_lock | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-sh-msiof.c sh_msiof_spi_read_fifo_32() -> sh_msiof_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->ctlr->target | 1 |
| PARAM_VALUE | 0 | p->done.done | 0-4294967293,u32max |
| PARAM_VALUE | 0 | p->done.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | p->done.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | p->done.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | p->done.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | p->done.wait.task_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | p->mapbase | 4096-ptr_max |
| PARAM_VALUE | 0 | p->target_aborted | 0 |
| PARAM_VALUE | 1 | reg_offs | 96 |
| BUF_SIZE | 0 | p | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | p | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | p | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | p | unit_byte |
| LOCK2 | &ctlr->io_mutex | ||
| HALF_LOCKED2 | &ctlr->dev.driver_data->op_lock | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-sh-msiof.c sh_msiof_spi_read_fifo_32u() -> sh_msiof_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->ctlr->target | 1 |
| PARAM_VALUE | 0 | p->done.done | 0-4294967293,u32max |
| PARAM_VALUE | 0 | p->done.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | p->done.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | p->done.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | p->done.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | p->done.wait.task_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | p->mapbase | 4096-ptr_max |
| PARAM_VALUE | 0 | p->target_aborted | 0 |
| PARAM_VALUE | 1 | reg_offs | 96 |
| BUF_SIZE | 0 | p | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | p | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | p | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | p | unit_byte |
| LOCK2 | &ctlr->io_mutex | ||
| HALF_LOCKED2 | &ctlr->dev.driver_data->op_lock | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-sh-msiof.c sh_msiof_spi_read_fifo_8() -> sh_msiof_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->ctlr->target | 1 |
| PARAM_VALUE | 0 | p->done.done | 0-4294967293,u32max |
| PARAM_VALUE | 0 | p->done.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | p->done.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | p->done.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | p->done.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | p->done.wait.task_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | p->mapbase | 4096-ptr_max |
| PARAM_VALUE | 0 | p->target_aborted | 0 |
| PARAM_VALUE | 1 | reg_offs | 96 |
| BUF_SIZE | 0 | p | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | p | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | p | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | p | unit_byte |
| LOCK2 | &ctlr->io_mutex | ||
| HALF_LOCKED2 | &ctlr->dev.driver_data->op_lock | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-sh-msiof.c sh_msiof_spi_read_fifo_s32() -> sh_msiof_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->ctlr->target | 1 |
| PARAM_VALUE | 0 | p->done.done | 0-4294967293,u32max |
| PARAM_VALUE | 0 | p->done.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | p->done.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | p->done.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | p->done.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | p->done.wait.task_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | p->mapbase | 4096-ptr_max |
| PARAM_VALUE | 0 | p->target_aborted | 0 |
| PARAM_VALUE | 1 | reg_offs | 96 |
| BUF_SIZE | 0 | p | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | p | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | p | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | p | unit_byte |
| LOCK2 | &ctlr->io_mutex | ||
| HALF_LOCKED2 | &ctlr->dev.driver_data->op_lock | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-sh-msiof.c sh_msiof_spi_read_fifo_s32u() -> sh_msiof_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->ctlr->target | 1 |
| PARAM_VALUE | 0 | p->done.done | 0-4294967293,u32max |
| PARAM_VALUE | 0 | p->done.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | p->done.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | p->done.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | p->done.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | p->done.wait.task_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | p->mapbase | 4096-ptr_max |
| PARAM_VALUE | 0 | p->target_aborted | 0 |
| PARAM_VALUE | 1 | reg_offs | 96 |
| BUF_SIZE | 0 | p | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | p | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | p | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | p | unit_byte |
| LOCK2 | &ctlr->io_mutex | ||
| HALF_LOCKED2 | &ctlr->dev.driver_data->op_lock | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-sh-msiof.c sh_msiof_spi_reset_regs() -> sh_msiof_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg_offs | 40 |
| BUF_SIZE | 0 | p | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | p | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | p | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | p | unit_byte |
| LOCK2 | &ctlr->io_mutex | ||
| HALF_LOCKED2 | &ctlr->dev.driver_data->op_lock | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-sh-msiof.c sh_msiof_spi_setup() -> sh_msiof_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | p->pdev->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | p->pdev->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | p->pdev->dev.power.request | 0-4 |
| PARAM_VALUE | 0 | p->pdev->dev.power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | p->pdev->dev.power.wakeirq | 0,4096-ptr_max |
| PARAM_VALUE | 0 | p->pdev->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | p->pdev->dev.type | 0,4096-ptr_max |
| PARAM_VALUE | 1 | reg_offs | 0 |
| BUF_SIZE | 0 | p | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | p | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | p | unit_byte |
| LOCK2 | &spi->controller->io_mutex | ||
| HALF_LOCKED2 | &spi->controller->bus_lock_mutex | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-sh-msiof.c sh_msiof_spi_setup() -> sh_msiof_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->mapbase | 0-ptr_max |
| PARAM_VALUE | 0 | p->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | p->pdev->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | p->pdev->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | p->pdev->dev.power.request | 0-4 |
| PARAM_VALUE | 0 | p->pdev->dev.power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | p->pdev->dev.power.wakeirq | 0,4096-ptr_max |
| PARAM_VALUE | 0 | p->pdev->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | p->pdev->dev.type | 0,4096-ptr_max |
| PARAM_VALUE | 1 | reg_offs | 16 |
| BUF_SIZE | 0 | p | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | p | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | p | unit_byte |
| LOCK2 | &spi->controller->io_mutex | ||
| HALF_LOCKED2 | &spi->controller->bus_lock_mutex | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |