Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/spi/spi-omap2-mcspi.c mcspi_write_chconf0() -> mcspi_read_cs_reg()

Type Parameter Key Value
PARAM_VALUE 0 spi 4096-ptr_max
PARAM_VALUE 0 spi->controller_state 4096-ptr_max
PARAM_VALUE 1 idx 44
BUF_SIZE 0 spi s32min-(-1),1-s32max
BUF_SIZE 0 spi s32min-(-1),1-s32max
BUF_SIZE 0 spi->controller (-1),3-6,8,12,16,24,32,48,56,64,80,88,112,120,136,176,208,272,360,504,696,976,1616,1656,1688,1728,1776,1888,1904,1984-5728
BUF_SIZE 0 spi->controller_data s32min-(-1),1-s32max
BUF_SIZE 0 spi->controller_state (-1),48
BUF_SIZE 0 spi->dev.init_name (-1),50
BUF_SIZE 0 spi->dev.platform_data (-1),32
DATA_SOURCE 0 spi $0
STR_LEN 0 spi (-1),56
STR_LEN 0 spi (-1),56
STR_LEN 0 spi->dev.init_name (-1),49
NOSPEC 0 spi->max_speed_hz
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 spi->bits_per_word 1-255
USER_DATA 0 spi->controller->last_cs_mode_high 0-1[c]
USER_DATA 0 spi->max_speed_hz 1-u32max[c]
USER_DATA 0 spi->mode 0-524287[c]
NO_OVERFLOW_SIMPLE 0 spi->controller->kworker->task->dl.pi_se->dl_runtime
NO_OVERFLOW_SIMPLE 0 spi->controller->num_chipselect
UNITS 0 spi unit_byte
HALF_LOCKED2 &ctlr->io_mutex
HALF_LOCKED2 0 &spi->controller->bus_lock_mutex
HALF_LOCKED2 0 &spi->controller->io_mutex

drivers/spi/spi-omap2-mcspi.c omap2_mcspi_rx_dma() -> mcspi_read_cs_reg()

Type Parameter Key Value
PARAM_VALUE 0 spi 4096-ptr_max
PARAM_VALUE 0 spi->controller_state 4096-ptr_max
PARAM_VALUE 1 idx 60
DATA_SOURCE 0 spi $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &ctlr->io_mutex
HALF_LOCKED2 &ctlr->dev.driver_data->op_lock
TYPE_LOCK (struct spi_controller)->io_mutex

drivers/spi/spi-omap2-mcspi.c omap2_mcspi_rx_dma() -> mcspi_read_cs_reg()

Type Parameter Key Value
PARAM_VALUE 0 spi 4096-ptr_max
PARAM_VALUE 0 spi->controller_state 4096-ptr_max
PARAM_VALUE 1 idx 60
DATA_SOURCE 0 spi $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &ctlr->io_mutex
HALF_LOCKED2 &ctlr->dev.driver_data->op_lock
TYPE_LOCK (struct spi_controller)->io_mutex

drivers/spi/spi-omap2-mcspi.c omap2_mcspi_set_enable() -> mcspi_read_cs_reg()

Type Parameter Key Value
PARAM_VALUE 0 spi 4096-ptr_max
PARAM_VALUE 0 spi->controller_state 4096-ptr_max
PARAM_VALUE 1 idx 52
DATA_SOURCE 0 spi $0
STR_LEN 0 spi (-1)
STR_LEN 0 spi (-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &ctlr->io_mutex
HALF_LOCKED2 &ctlr->dev.driver_data->op_lock
TYPE_LOCK (struct spi_controller)->io_mutex