Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/spi/spi-aspeed-smc.c aspeed_spi_read_user() -> aspeed_spi_send_cmd_addr()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->ctl 4096-ptr_max
PARAM_VALUE 0 chip->force_user_mode 1
DATA_SOURCE 0 chip $0
DATA_SOURCE 2 offset $2
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 2 offset 0-9589934589[c]
USER_DATA 2 offset 0-9223372041149743102
UNITS 1 addr_nbytes unit_byte
UNITS 2 offset unit_byte
HALF_LOCKED2 &desc->mem->spi->controller->bus_lock_mutex
HALF_LOCKED2 &desc->mem->spi->controller->io_mutex
HALF_LOCKED2 &mem->spi->controller->bus_lock_mutex
HALF_LOCKED2 &mem->spi->controller->io_mutex
TYPE_LOCK (struct spi_controller)->bus_lock_mutex
TYPE_LOCK (struct spi_controller)->io_mutex

drivers/spi/spi-aspeed-smc.c aspeed_spi_write_user() -> aspeed_spi_send_cmd_addr()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->aspi 4096-ptr_max
PARAM_VALUE 0 chip->ctl 4096-ptr_max
PARAM_VALUE 0 chip->ctl_val 4096-ptr_max
PARAM_VALUE 1 addr_nbytes 1-255
DATA_SOURCE 0 chip $0
FUZZY_MAX 1 addr_nbytes 4
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 2 offset 0-9589934589[c]
USER_DATA 2 offset 0-9223372041149743102
UNITS 1 addr_nbytes unit_byte
UNITS 2 offset unit_byte
LOCK2 &mem->spi->controller->bus_lock_mutex
LOCK2 &mem->spi->controller->io_mutex
HALF_LOCKED2 &at25->lock
HALF_LOCKED2 &master->master.chrdev_lock
HALF_LOCKED2 &spinand->lock
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct spi_controller)->bus_lock_mutex
TYPE_LOCK (struct spi_controller)->io_mutex