Defined in 5 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/spi/spi-gpio.c bitbang_txrx_be_cpha0() -> setmosi()

Type Parameter Key Value
PARAM_VALUE 0 spi 4096-ptr_max
PARAM_VALUE 1 is_on s32min-0
DATA_SOURCE 0 spi $0
BIT_INFO 0 spi->mode 0x0,0xfffffff7
BIT_INFO 1 is_on 0x0,0x80000000
NOCHECK_CALL

drivers/spi/spi-gpio.c bitbang_txrx_be_cpha1() -> setmosi()

Type Parameter Key Value
PARAM_VALUE 0 spi 4096-ptr_max
PARAM_VALUE 0 spi->controller 4096-ptr_max
PARAM_VALUE 1 is_on s32min-0
DATA_SOURCE 0 spi $0
BIT_INFO 0 spi->mode 0x0,0xfffffff7
BIT_INFO 1 is_on 0x0,0x80000000
NOCHECK_CALL

drivers/spi/spi-gpio.c bitbang_txrx_le_cpha0() -> setmosi()

Type Parameter Key Value
PARAM_VALUE 0 spi 4096-ptr_max
PARAM_VALUE 1 is_on 0-1
DATA_SOURCE 0 spi $0
BIT_INFO 0 spi->mode 0x8,0xffffffffffffffff
NOCHECK_CALL

drivers/spi/spi-gpio.c bitbang_txrx_le_cpha1() -> setmosi()

Type Parameter Key Value
PARAM_VALUE 0 spi 4096-ptr_max
PARAM_VALUE 0 spi->controller 4096-ptr_max
PARAM_VALUE 1 is_on 0-1
DATA_SOURCE 0 spi $0
BIT_INFO 0 spi->mode 0x8,0xffffffffffffffff
NOCHECK_CALL

drivers/spi/spi-butterfly.c bitbang_txrx_be_cpha0() -> setmosi()

Type Parameter Key Value
PARAM_VALUE 1 is_on s32min-0
DATA_SOURCE 0 spi $0
BIT_INFO 1 is_on 0x0,0x80000000
NOCHECK_CALL

drivers/spi/spi-lp8841-rtc.c bitbang_txrx_be_cpha0_lsb() -> setmosi()

Type Parameter Key Value
PARAM_VALUE 0 spi 4096-ptr_max
PARAM_VALUE 0 spi->iomem 4096-ptr_max
PARAM_VALUE 1 is_on 0-1
BUF_SIZE 0 spi s32min-(-2),1-s32max
BUF_SIZE 0 spi s32min-(-2),1-s32max
DATA_SOURCE 0 spi $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 1 is_on 1[c]
UNITS 0 spi unit_byte
LOCK2 &host->io_mutex
HALF_LOCKED2 &host->dev.driver_data->op_lock
TYPE_LOCK (struct spi_controller)->io_mutex

drivers/spi/spi-lm70llp.c bitbang_txrx_be_cpha0() -> setmosi()

Type Parameter Key Value
PARAM_VALUE 1 is_on s32min-0
DATA_SOURCE 0 spi $0
BIT_INFO 1 is_on 0x0,0x80000000
NOCHECK_CALL