Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 8 files:

Smatch caller information:

drivers/iio/adc/ti-ads131m02.c ads131m_prepare_message() -> devm_spi_optimize_message()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 1 spi 4096-ptr_max
PARAM_VALUE 1 spi->dev.devres_head.prev 4096-ptr_max
PARAM_VALUE 1 spi->irq 0-s32max
PARAM_VALUE 2 msg 4096-ptr_max
PARAM_VALUE 2 msg->complete 0
PARAM_VALUE 2 msg->context 0
PARAM_VALUE 2 msg->frame_length 0
PARAM_VALUE 2 msg->offload 0
PARAM_VALUE 2 msg->opt_state 0
PARAM_VALUE 2 msg->optimized 0
PARAM_VALUE 2 msg->pre_optimized 0
PARAM_VALUE 2 msg->prepared 0
PARAM_VALUE 2 msg->spi 0
PARAM_VALUE 2 msg->state 0
PARAM_VALUE 2 msg->status 0
PARAM_VALUE 2 msg->transfers.prev 4096-ptr_max
BUF_SIZE 0 dev 1616
PARAM_COMPARE 1 &spi->dev == $0
MEM_ZERO 2 msg
RX_PATH
TASK_NOT_RUNNING

drivers/iio/adc/ad7944.c ad7944_3wire_cs_mode_init_msg() -> devm_spi_optimize_message()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 1 spi 4096-ptr_max
PARAM_VALUE 1 spi->dev.devres_head.prev 4096-ptr_max
PARAM_VALUE 1 spi->irq 0-s32max
PARAM_VALUE 2 msg 4096-ptr_max
PARAM_VALUE 2 msg->complete 0
PARAM_VALUE 2 msg->context 0
PARAM_VALUE 2 msg->frame_length 0
PARAM_VALUE 2 msg->offload 0
PARAM_VALUE 2 msg->opt_state 0
PARAM_VALUE 2 msg->optimized 0
PARAM_VALUE 2 msg->pre_optimized 0
PARAM_VALUE 2 msg->prepared 0
PARAM_VALUE 2 msg->spi 0
PARAM_VALUE 2 msg->state 0
PARAM_VALUE 2 msg->status 0
PARAM_VALUE 2 msg->transfers.prev 4096-ptr_max
BUF_SIZE 0 dev 1616
DATA_SOURCE 0 dev $0
MEM_ZERO 2 msg
RX_PATH
TASK_NOT_RUNNING

drivers/iio/adc/ad7944.c ad7944_3wire_cs_mode_init_offload_msg() -> devm_spi_optimize_message()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 1 spi 4096-ptr_max
PARAM_VALUE 1 spi->controller 4096-ptr_max
PARAM_VALUE 1 spi->dev.devres_head.prev 4096-ptr_max
PARAM_VALUE 1 spi->irq 0-s32max
PARAM_VALUE 2 msg 4096-ptr_max
PARAM_VALUE 2 msg->complete 0
PARAM_VALUE 2 msg->context 0
PARAM_VALUE 2 msg->frame_length 0
PARAM_VALUE 2 msg->offload 4096-ptr_max
PARAM_VALUE 2 msg->opt_state 0
PARAM_VALUE 2 msg->optimized 0
PARAM_VALUE 2 msg->pre_optimized 0
PARAM_VALUE 2 msg->prepared 0
PARAM_VALUE 2 msg->spi 0
PARAM_VALUE 2 msg->state 0
PARAM_VALUE 2 msg->status 0
PARAM_VALUE 2 msg->transfers.prev 4096-ptr_max
BUF_SIZE 0 dev 1616
DATA_SOURCE 0 dev $0
MEM_ZERO 2 msg
RX_PATH
TASK_NOT_RUNNING

drivers/iio/adc/ad7944.c ad7944_4wire_mode_init_msg() -> devm_spi_optimize_message()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 1 spi 4096-ptr_max
PARAM_VALUE 1 spi->dev.devres_head.prev 4096-ptr_max
PARAM_VALUE 1 spi->irq 0-s32max
PARAM_VALUE 2 msg 4096-ptr_max
PARAM_VALUE 2 msg->complete 0
PARAM_VALUE 2 msg->context 0
PARAM_VALUE 2 msg->frame_length 0
PARAM_VALUE 2 msg->offload 0
PARAM_VALUE 2 msg->opt_state 0
PARAM_VALUE 2 msg->optimized 0
PARAM_VALUE 2 msg->pre_optimized 0
PARAM_VALUE 2 msg->prepared 0
PARAM_VALUE 2 msg->spi 0
PARAM_VALUE 2 msg->state 0
PARAM_VALUE 2 msg->status 0
PARAM_VALUE 2 msg->transfers.prev 4096-ptr_max
BUF_SIZE 0 dev 1616
DATA_SOURCE 0 dev $0
MEM_ZERO 2 msg
RX_PATH
TASK_NOT_RUNNING

drivers/iio/adc/ad7944.c ad7944_chain_mode_init_msg() -> devm_spi_optimize_message()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 1 spi 4096-ptr_max
PARAM_VALUE 1 spi->dev.devres_head.prev 4096-ptr_max
PARAM_VALUE 1 spi->irq 0-s32max
PARAM_VALUE 2 msg 4096-ptr_max
PARAM_VALUE 2 msg->complete 0
PARAM_VALUE 2 msg->context 0
PARAM_VALUE 2 msg->frame_length 0
PARAM_VALUE 2 msg->offload 0
PARAM_VALUE 2 msg->opt_state 0
PARAM_VALUE 2 msg->optimized 0
PARAM_VALUE 2 msg->pre_optimized 0
PARAM_VALUE 2 msg->prepared 0
PARAM_VALUE 2 msg->spi 0
PARAM_VALUE 2 msg->state 0
PARAM_VALUE 2 msg->status 0
PARAM_VALUE 2 msg->transfers.prev 4096-ptr_max
BUF_SIZE 0 dev 1616
DATA_SOURCE 0 dev $0
BIT_INFO 1 spi->mode 0x4,0xfffffffd
MEM_ZERO 2 msg
RX_PATH
TASK_NOT_RUNNING

drivers/iio/adc/ad4170-4.c ad4170_prepare_spi_message() -> devm_spi_optimize_message()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 spi 4096-ptr_max
PARAM_VALUE 1 spi->irq 0-s32max
PARAM_VALUE 2 msg 4096-ptr_max
PARAM_VALUE 2 msg->complete 0
PARAM_VALUE 2 msg->context 0
PARAM_VALUE 2 msg->frame_length 0
PARAM_VALUE 2 msg->offload 0
PARAM_VALUE 2 msg->opt_state 0
PARAM_VALUE 2 msg->optimized 0
PARAM_VALUE 2 msg->pre_optimized 0
PARAM_VALUE 2 msg->prepared 0
PARAM_VALUE 2 msg->spi 0
PARAM_VALUE 2 msg->state 0
PARAM_VALUE 2 msg->status 0
PARAM_VALUE 2 msg->transfers.prev 4096-ptr_max
MEM_ZERO 2 msg
RX_PATH
TASK_NOT_RUNNING

drivers/iio/adc/ltc2378.c ltc2378_prepare_offload_message() -> devm_spi_optimize_message()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 1 spi 4096-ptr_max
PARAM_VALUE 1 spi->dev.devres_head.prev 4096-ptr_max
PARAM_VALUE 1 spi->dev.devres_head.prev->next 4096-ptr_max
PARAM_VALUE 1 spi->dev.devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 1 spi->irq 0-s32max
PARAM_VALUE 2 msg 4096-ptr_max
PARAM_VALUE 2 msg->complete 0
PARAM_VALUE 2 msg->context 0
PARAM_VALUE 2 msg->frame_length 0
PARAM_VALUE 2 msg->offload 4096-ptr_max
PARAM_VALUE 2 msg->opt_state 0
PARAM_VALUE 2 msg->optimized 0
PARAM_VALUE 2 msg->pre_optimized 0
PARAM_VALUE 2 msg->prepared 0
PARAM_VALUE 2 msg->spi 0
PARAM_VALUE 2 msg->state 0
PARAM_VALUE 2 msg->status 0
PARAM_VALUE 2 msg->transfers.prev 4096-ptr_max
DATA_SOURCE 0 dev $0
MEM_ZERO 2 msg
RX_PATH
TASK_NOT_RUNNING

drivers/iio/dac/ad5791.c ad5791_offload_setup() -> devm_spi_optimize_message()

Type Parameter Key Value
PARAM_VALUE 0 dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 1 spi->dev.devres_head.prev 4096-ptr_max
PARAM_VALUE 1 spi->dev.devres_head.prev->next 4096-ptr_max
PARAM_VALUE 1 spi->dev.devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 2 msg 4096-ptr_max
PARAM_VALUE 2 msg->complete 0
PARAM_VALUE 2 msg->context 0
PARAM_VALUE 2 msg->frame_length 0
PARAM_VALUE 2 msg->offload 4096-ptr_max
PARAM_VALUE 2 msg->opt_state 0
PARAM_VALUE 2 msg->optimized 0
PARAM_VALUE 2 msg->pre_optimized 0
PARAM_VALUE 2 msg->prepared 0
PARAM_VALUE 2 msg->spi 0
PARAM_VALUE 2 msg->state 0
PARAM_VALUE 2 msg->status 0
PARAM_VALUE 2 msg->transfers.prev 4096-ptr_max
MEM_ZERO 2 msg
RX_PATH
TASK_NOT_RUNNING

drivers/iio/adc/rohm-bd79112.c bd79112_probe() -> devm_spi_optimize_message()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 1 spi 4096-ptr_max
PARAM_VALUE 1 spi->dev.devres_head.prev 4096-ptr_max
PARAM_VALUE 1 spi->dev.devres_head.prev->next 4096-ptr_max
PARAM_VALUE 1 spi->dev.devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 1 spi->irq 0-s32max
PARAM_VALUE 2 msg 4096-ptr_max
PARAM_VALUE 2 msg->complete 0
PARAM_VALUE 2 msg->context 0
PARAM_VALUE 2 msg->frame_length 0
PARAM_VALUE 2 msg->offload 0
PARAM_VALUE 2 msg->opt_state 0
PARAM_VALUE 2 msg->optimized 0
PARAM_VALUE 2 msg->pre_optimized 0
PARAM_VALUE 2 msg->prepared 0
PARAM_VALUE 2 msg->spi 0
PARAM_VALUE 2 msg->state 0
PARAM_VALUE 2 msg->status 0
PARAM_VALUE 2 msg->transfers.prev 4096-ptr_max
BUF_SIZE 0 dev 1616
DATA_SOURCE 1 spi $0
FUZZY_MAX 1 spi->irq 0
PARAM_COMPARE 1 &spi->dev == $0
MEM_ZERO 2 msg
RX_PATH
TASK_NOT_RUNNING

drivers/iio/adc/rohm-bd79112.c bd79112_probe() -> devm_spi_optimize_message()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 1 spi 4096-ptr_max
PARAM_VALUE 1 spi->controller 4096-ptr_max
PARAM_VALUE 1 spi->dev.devres_head.prev 4096-ptr_max
PARAM_VALUE 1 spi->dev.devres_head.prev->next 4096-ptr_max
PARAM_VALUE 1 spi->dev.devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 1 spi->irq 0-s32max
PARAM_VALUE 2 msg 4096-ptr_max
PARAM_VALUE 2 msg->complete 0
PARAM_VALUE 2 msg->context 0
PARAM_VALUE 2 msg->frame_length 0
PARAM_VALUE 2 msg->offload 0
PARAM_VALUE 2 msg->opt_state 0
PARAM_VALUE 2 msg->optimized 0
PARAM_VALUE 2 msg->pre_optimized 0
PARAM_VALUE 2 msg->prepared 0
PARAM_VALUE 2 msg->spi 0
PARAM_VALUE 2 msg->state 0
PARAM_VALUE 2 msg->status 0
PARAM_VALUE 2 msg->transfers.prev 4096-ptr_max
BUF_SIZE 0 dev 1616
DATA_SOURCE 1 spi $0
FUZZY_MAX 1 spi->irq 0
PARAM_COMPARE 1 &spi->dev == $0
MEM_ZERO 2 msg
RX_PATH
TASK_NOT_RUNNING

drivers/iio/adc/ad4000.c ad4000_prepare_3wire_mode_message() -> devm_spi_optimize_message()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 1 spi 4096-ptr_max
PARAM_VALUE 1 spi->dev.devres_head.prev 4096-ptr_max
PARAM_VALUE 1 spi->irq 0-s32max
PARAM_VALUE 2 msg 4096-ptr_max
PARAM_VALUE 2 msg->complete 0
PARAM_VALUE 2 msg->context 0
PARAM_VALUE 2 msg->frame_length 0
PARAM_VALUE 2 msg->offload 0
PARAM_VALUE 2 msg->opt_state 0
PARAM_VALUE 2 msg->optimized 0
PARAM_VALUE 2 msg->pre_optimized 0
PARAM_VALUE 2 msg->prepared 0
PARAM_VALUE 2 msg->spi 0
PARAM_VALUE 2 msg->state 0
PARAM_VALUE 2 msg->status 0
PARAM_VALUE 2 msg->transfers.prev 4096-ptr_max
MEM_ZERO 2 msg
RX_PATH
TASK_NOT_RUNNING

drivers/iio/adc/ad4000.c ad4000_prepare_4wire_mode_message() -> devm_spi_optimize_message()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 1 spi 4096-ptr_max
PARAM_VALUE 1 spi->dev.devres_head.prev 4096-ptr_max
PARAM_VALUE 1 spi->irq 0-s32max
PARAM_VALUE 2 msg 4096-ptr_max
PARAM_VALUE 2 msg->complete 0
PARAM_VALUE 2 msg->context 0
PARAM_VALUE 2 msg->frame_length 0
PARAM_VALUE 2 msg->offload 0
PARAM_VALUE 2 msg->opt_state 0
PARAM_VALUE 2 msg->optimized 0
PARAM_VALUE 2 msg->pre_optimized 0
PARAM_VALUE 2 msg->prepared 0
PARAM_VALUE 2 msg->spi 0
PARAM_VALUE 2 msg->state 0
PARAM_VALUE 2 msg->status 0
PARAM_VALUE 2 msg->transfers.prev 4096-ptr_max
MEM_ZERO 2 msg
RX_PATH
TASK_NOT_RUNNING

drivers/iio/adc/ad4000.c ad4000_prepare_offload_message() -> devm_spi_optimize_message()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 1 spi 4096-ptr_max
PARAM_VALUE 1 spi->dev.devres_head.prev 4096-ptr_max
PARAM_VALUE 1 spi->dev.devres_head.prev->next 4096-ptr_max
PARAM_VALUE 1 spi->dev.devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 1 spi->irq 0-s32max
PARAM_VALUE 2 msg 4096-ptr_max
PARAM_VALUE 2 msg->complete 0
PARAM_VALUE 2 msg->context 0
PARAM_VALUE 2 msg->frame_length 0
PARAM_VALUE 2 msg->offload 4096-ptr_max
PARAM_VALUE 2 msg->opt_state 0
PARAM_VALUE 2 msg->optimized 0
PARAM_VALUE 2 msg->pre_optimized 0
PARAM_VALUE 2 msg->prepared 0
PARAM_VALUE 2 msg->spi 0
PARAM_VALUE 2 msg->state 0
PARAM_VALUE 2 msg->status 0
PARAM_VALUE 2 msg->transfers.prev 4096-ptr_max
MEM_ZERO 2 msg
RX_PATH
TASK_NOT_RUNNING