Defined in 1 files as a function:
Referenced in 4 files:
- drivers/base/regmap/regmap-spi.c, line 124
- drivers/net/dsa/sja1105/sja1105_main.c, line 3283
- drivers/spi/spi-mem.c, line 607
- include/linux/spi/spi.h, line 1364
Smatch caller information:
drivers/spi/spi.c spi_max_transfer_size() -> spi_max_message_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | spi | 4096-ptr_max |
| PARAM_VALUE | 0 | spi->controller | 4096-ptr_max |
| DATA_SOURCE | 0 | spi | $0 |
| STR_LEN | 0 | spi | (-1) |
| STR_LEN | 0 | spi | (-1) |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/dsa/sja1105/sja1105_main.c sja1105_probe() -> spi_max_message_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | spi | 4096-ptr_max |
| PARAM_VALUE | 0 | spi->bits_per_word | 1-255 |
| PARAM_VALUE | 0 | spi->controller | 4096-ptr_max |
| PARAM_VALUE | 0 | spi->controller->io_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | spi->controller->io_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | spi->controller->io_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | spi->controller->io_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | spi->controller->io_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | spi->controller->io_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | spi->controller->io_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | spi->controller->io_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | spi->controller->io_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | spi->controller->io_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | spi->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | spi->dev.devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | spi->dev.devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | spi->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | spi->dev.of_node | 1-u64max |
| PARAM_VALUE | 0 | spi->irq | 0-s32max |
| DATA_SOURCE | 0 | spi | $0 |
| FUZZY_MAX | 0 | spi->irq | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | spi->controller->dev.driver_data->pending_slave_select | 0-4294967295[c] |
drivers/net/dsa/sja1105/sja1105_main.c spi_max_transfer_size() -> spi_max_message_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | spi | 4096-ptr_max |
| PARAM_VALUE | 0 | spi->bits_per_word | 1-255 |
| PARAM_VALUE | 0 | spi->controller->io_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | spi->controller->io_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | spi->controller->io_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | spi->controller->io_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | spi->controller->io_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | spi->controller->io_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | spi->controller->io_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | spi->controller->io_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | spi->controller->io_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | spi->controller->io_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | spi->controller_data->port->private_data->msg_pending | 0-1 |
| PARAM_VALUE | 0 | spi->controller_data->port->private_data->serial->disc_mutex->wait_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | spi->controller_data->port->private_data->serial->disc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | spi->controller_data->port->private_data->shadowDCR | 0-255 |
| PARAM_VALUE | 0 | spi->controller_data->port->private_data->syncmsg_compl->wait.lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | spi->controller_data->port->private_data->syncmsg_compl.done | 0-4294967295 |
| PARAM_VALUE | 0 | spi->controller_data->port->private_data->syncmsg_compl.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | spi->controller_data->port->private_data->syncmsg_compl.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | spi->controller_state->chconf0 | 0-4294967295 |
| PARAM_VALUE | 0 | spi->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | spi->dev.devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | spi->dev.devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | spi->dev.dma_mem->pfn_base | 0-s64max |
| PARAM_VALUE | 0 | spi->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | spi->dev.of_node | 1-u64max |
| PARAM_VALUE | 0 | spi->irq | 0-s32max |
| DATA_SOURCE | 0 | spi | $0 |
| FUZZY_MAX | 0 | spi->irq | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/drm_mipi_dbi.c spi_max_transfer_size() -> spi_max_message_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | spi | 4096-ptr_max |
| PARAM_VALUE | 0 | spi->controller | 4096-ptr_max |
| PARAM_VALUE | 0 | spi->controller->bus_lock_flag | 1 |
| PARAM_VALUE | 0 | spi->controller->bus_lock_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | spi->controller->bus_lock_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | spi->controller->bus_lock_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | spi->controller->bus_lock_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | spi->controller->bus_lock_spinlock.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | spi | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &spi->controller->bus_lock_mutex | |
| HALF_LOCKED2 | &dbi->cmdlock | ||
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | &mipi->cmdlock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu | ||
| TYPE_LOCK | (struct mipi_dbi)->cmdlock | ||
| TYPE_LOCK | (struct spi_controller)->bus_lock_mutex |
drivers/spi/spi-mem.c spi_max_transfer_size() -> spi_max_message_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | spi | 4096-ptr_max |
| PARAM_VALUE | 0 | spi->controller | 4096-ptr_max |
| DATA_SOURCE | 0 | spi | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
drivers/spi/spi-mem.c spi_mem_adjust_op_size() -> spi_max_message_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | spi | 4096-ptr_max |
| PARAM_VALUE | 0 | spi->controller | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
drivers/base/regmap/regmap-spi.c regmap_get_spi_bus() -> spi_max_message_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | spi | 4096-ptr_max |
| PARAM_VALUE | 0 | spi->controller | 4096-ptr_max |
| DATA_SOURCE | 0 | spi | $0 |
| STR_LEN | 0 | spi | (-1),23,26,28-38,40-51,53,55-56,58-60,66 |
| STR_LEN | 0 | spi | (-1),23,26,28-38,40-51,53,55-56,58-60,66 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/base/regmap/regmap-spi.c spi_max_transfer_size() -> spi_max_message_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | spi | 4096-ptr_max |
| DATA_SOURCE | 0 | spi | $0 |
| STR_LEN | 0 | spi | (-1),23,26,28-38,40-51,53,55-56,58-60,66 |
| STR_LEN | 0 | spi | (-1),23,26,28-38,40-51,53,55-56,58-60,66 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/input/touchscreen/goodix_berlin_spi.c spi_max_transfer_size() -> spi_max_message_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | spi | 4096-ptr_max |
| PARAM_VALUE | 0 | spi->bits_per_word | 1-255 |
| PARAM_VALUE | 0 | spi->controller->dev.driver_data->cs_reg | 0-4294967295 |
| PARAM_VALUE | 0 | spi->controller->dev.driver_data->dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | spi->controller->dev.driver_data->dev->power.idle_notification | 0-1 |
| PARAM_VALUE | 0 | spi->controller->dev.driver_data->dev->power.request | 0-4 |
| PARAM_VALUE | 0 | spi->controller->dev.driver_data->dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | spi->controller->dev.driver_data->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | spi->controller->dev.driver_data->dev->power.runtime_status | s32min-s32max |
| PARAM_VALUE | 0 | spi->controller->dev.driver_data->dev->power.timer_autosuspends | 0-1 |
| PARAM_VALUE | 0 | spi->controller->dev.driver_data->dev->power.usage_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | spi->controller->dev.driver_data->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | spi->controller->dev.driver_data->imr | 0-4294967295 |
| PARAM_VALUE | 0 | spi->controller->dev.driver_data->ioc_base | 0-4294967295 |
| PARAM_VALUE | 0 | spi->controller->dev.driver_data->last_polarity | 0-1 |
| PARAM_VALUE | 0 | spi->controller->dev.driver_data->map->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | spi->controller->dev.driver_data->map->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | spi->controller->dev.driver_data->map->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | spi->controller->dev.driver_data->mr | 0-4294967295 |
| PARAM_VALUE | 0 | spi->controller->dev.driver_data->pclk->core->dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | spi->controller->dev.driver_data->pclk->core->dev->power.idle_notification | 0-1 |
| PARAM_VALUE | 0 | spi->controller->dev.driver_data->pclk->core->dev->power.request | 0-4294967295 |
| PARAM_VALUE | 0 | spi->controller->dev.driver_data->pclk->core->dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | spi->controller->dev.driver_data->pclk->core->dev->power.runtime_error | s32min-s32max |
| PARAM_VALUE | 0 | spi->controller->dev.driver_data->pclk->core->dev->power.runtime_status | s32min-s32max |
| PARAM_VALUE | 0 | spi->controller->dev.driver_data->pclk->core->dev->power.timer_autosuspends | 0-1 |
| PARAM_VALUE | 0 | spi->controller->dev.driver_data->pclk->core->dev->power.usage_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | spi->controller->dev.driver_data->pclk->core->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | spi->controller->dev.driver_data->pending_slave_select | 0-4294967295 |
| PARAM_VALUE | 0 | spi->controller->dev.driver_data->regmap->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | spi->controller->dev.driver_data->regmap->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | spi->controller->dev.driver_data->regmap->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | spi->controller->dev.driver_data->scr | 0-4294967295 |
| PARAM_VALUE | 0 | spi->controller->dev.driver_data->spi_cs_timing1 | 0-4294967295 |
| PARAM_VALUE | 0 | spi->controller->dev.driver_data->spi_cs_timing2 | 0-4294967295 |
| PARAM_VALUE | 0 | spi->controller->dev.driver_data->state | 0-1 |
| PARAM_VALUE | 0 | spi->controller->io_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | spi->controller->io_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | spi->controller->io_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | spi->controller->io_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | spi->controller->io_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | spi->controller->io_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | spi->controller->io_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | spi->controller->io_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | spi->controller->io_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | spi->controller->io_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | spi->controller_data->port->private_data->msg_pending | 0-1 |
| PARAM_VALUE | 0 | spi->controller_data->port->private_data->serial->disc_mutex->wait_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | spi->controller_data->port->private_data->serial->disc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | spi->controller_data->port->private_data->shadowDCR | 0-255 |
| PARAM_VALUE | 0 | spi->controller_data->port->private_data->syncmsg_compl->wait.lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | spi->controller_data->port->private_data->syncmsg_compl.done | 0-4294967295 |
| PARAM_VALUE | 0 | spi->controller_data->port->private_data->syncmsg_compl.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | spi->controller_data->port->private_data->syncmsg_compl.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | spi->controller_state->chconf0 | 0-4294967295 |
| PARAM_VALUE | 0 | spi->dev.dma_mem->pfn_base | 0-s64max |
| PARAM_VALUE | 0 | spi->irq | 0-s32max |
| PARAM_VALUE | 0 | *spi->chip_select | 0-255 |
| PARAM_VALUE | 0 | *spi->controller->dev.driver_data->regmap->cache->data | 0-4294967295 |
| PARAM_VALUE | 0 | *spi->controller->dev.driver_data->tx_buf | 0-255 |
| PARAM_VALUE | 0 | *spi->controller->last_cs | (-128)-127 |
| CAPPED_DATA | 0 | spi->controller->max_speed_hz | 1 |
| DATA_SOURCE | 0 | spi | $0 |
| FUZZY_MAX | 0 | spi->irq | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |