Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/spi/spi-mt7621.c mt7621_spi_prepare() -> mt7621_spi_write()

Type Parameter Key Value
PARAM_VALUE 0 rs 4096-ptr_max
PARAM_VALUE 0 rs->base 4096-ptr_max
PARAM_VALUE 1 reg 40
PARAM_VALUE 2 val 0-4294967247
BUF_SIZE 0 rs s32min-(-2),1-s32max
BUF_SIZE 0 rs s32min-(-2),1-s32max
BIT_INFO 2 val 0x0,0xffffffcf
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 val 0-4294967247[c]
UNITS 0 rs unit_byte
LOCK2 &host->io_mutex
TYPE_LOCK (struct spi_controller)->io_mutex

drivers/spi/spi-mt7621.c mt7621_spi_read_half_duplex() -> mt7621_spi_write()

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

drivers/spi/spi-mt7621.c mt7621_spi_read_half_duplex() -> mt7621_spi_write()

Type Parameter Key Value
PARAM_VALUE 0 rs 4096-ptr_max
PARAM_VALUE 0 rs->base 4096-ptr_max
PARAM_VALUE 0 rs->pending_write 0
PARAM_VALUE 1 reg 0
BUF_SIZE 0 rs s32min-(-2),1-s32max
BUF_SIZE 0 rs s32min-(-2),1-s32max
DATA_SOURCE 0 rs $0
BIT_INFO 2 val 0x100,0xffffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 val 0-u32max
UNITS 0 rs unit_byte
LOCK2 &host->io_mutex
HALF_LOCKED2 &host->dev.driver_data->op_lock
TYPE_LOCK (struct spi_controller)->io_mutex

drivers/spi/spi-mt7621.c mt7621_spi_set_native_cs() -> mt7621_spi_write()

Type Parameter Key Value
PARAM_VALUE 0 rs 4096-ptr_max
PARAM_VALUE 0 rs->base 4096-ptr_max
PARAM_VALUE 1 reg 40
PARAM_VALUE 2 val 3758096388-4294966271
BUF_SIZE 0 rs s32min-(-2),1-s32max
BUF_SIZE 0 rs s32min-(-2),1-s32max
BIT_INFO 2 val 0xe0000004,0xfffffbff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 val 3758096388-4294966271[c]
UNITS 0 rs unit_byte
HALF_LOCKED2 &ctlr->io_mutex
HALF_LOCKED2 &spi->controller->bus_lock_mutex
HALF_LOCKED2 &spi->controller->io_mutex
TYPE_LOCK (struct spi_controller)->io_mutex

drivers/spi/spi-mt7621.c mt7621_spi_set_native_cs() -> mt7621_spi_write()

Type Parameter Key Value
PARAM_VALUE 0 rs 4096-ptr_max
PARAM_VALUE 0 rs->base 4096-ptr_max
PARAM_VALUE 0 rs->pending_write 0
PARAM_VALUE 1 reg 56
BUF_SIZE 0 rs s32min-(-2),1-s32max
BUF_SIZE 0 rs s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 rs unit_byte
HALF_LOCKED2 &ctlr->io_mutex
HALF_LOCKED2 &spi->controller->bus_lock_mutex
HALF_LOCKED2 &spi->controller->io_mutex
TYPE_LOCK (struct spi_controller)->io_mutex

drivers/spi/spi-mt7621.c mt7621_spi_write_half_duplex() -> mt7621_spi_write()

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

drivers/spi/spi-mt7621.c mt7621_spi_write_half_duplex() -> mt7621_spi_write()

Type Parameter Key Value
PARAM_VALUE 0 rs 4096-ptr_max
PARAM_VALUE 1 reg 4
BUF_SIZE 0 rs s32min-(-2),1-s32max
BUF_SIZE 0 rs s32min-(-2),1-s32max
DATA_SOURCE 0 rs $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 val 0-s32max
UNITS 0 rs unit_byte
LOCK2 &host->io_mutex
HALF_LOCKED2 &host->dev.driver_data->op_lock
TYPE_LOCK (struct spi_controller)->io_mutex