Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/spi/spi.c spi_split_transfers() -> spi_split_transfers_maxwords()

Type Parameter Key Value
PARAM_VALUE 0 ctlr 4096-ptr_max
PARAM_VALUE 1 msg 4096-ptr_max
PARAM_VALUE 1 msg->spi 4096-ptr_max
PARAM_VALUE 1 msg->spi->controller 4096-ptr_max
PARAM_VALUE 1 msg->status (-115)
PARAM_VALUE 2 maxwords 1
BUF_SIZE 1 msg->context s32min-(-1),1-s32max
DATA_SOURCE 1 msg $0
STR_LEN 1 msg->spi (-1)
BIT_INFO 0 ctlr->mode_bits 0x0,0xffffffff
BIT_INFO 1 msg->spi->mode 0x1000,0xffffffffffffffff
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

drivers/spi/spi-stm32.c stm32_spi_optimize_message() -> spi_split_transfers_maxwords()

Type Parameter Key Value
PARAM_VALUE 0 ctlr 4096-ptr_max
PARAM_VALUE 1 msg 4096-ptr_max
PARAM_VALUE 1 msg->resources.prev 4096-ptr_max
PARAM_VALUE 1 msg->resources.prev->next 4096-ptr_max
PARAM_VALUE 1 msg->resources.prev->next->next 4096-ptr_max
PARAM_VALUE 1 msg->spi 4096-ptr_max
PARAM_VALUE 1 msg->spi->controller 4096-ptr_max
PARAM_VALUE 1 msg->status (-115)
BUF_SIZE 1 msg->context s32min-(-1),1-s32max
DATA_SOURCE 1 msg $0
STR_LEN 1 msg->spi (-1)
RX_PATH
TASK_NOT_RUNNING