Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/spi/spi-sh.c clear_fifo() -> spi_sh_set_bit()

Type Parameter Key Value
PARAM_VALUE 0 ss 4096-ptr_max
PARAM_VALUE 1 val 128
PARAM_VALUE 2 offset 16
BUF_SIZE 0 ss s32min-(-2),1-s32max
BUF_SIZE 0 ss s32min-(-2),1-s32max
DATA_SOURCE 0 ss $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 ss unit_byte
HALF_LOCKED2 &ctlr->io_mutex
HALF_LOCKED2 &spi->controller->io_mutex
TYPE_LOCK (struct spi_controller)->io_mutex

drivers/spi/spi-sh.c spi_sh_receive() -> spi_sh_set_bit()

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

drivers/spi/spi-sh.c spi_sh_receive() -> spi_sh_set_bit()

Type Parameter Key Value
PARAM_VALUE 0 ss 4096-ptr_max
PARAM_VALUE 1 val 16
PARAM_VALUE 2 offset 32
BUF_SIZE 0 ss s32min-(-2),1-s32max
BUF_SIZE 0 ss s32min-(-2),1-s32max
DATA_SOURCE 0 ss $0
BIT_INFO 0 ss->cr1 0x0,0xffffffffffffffef
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 ss unit_byte
LOCK2 &ctlr->io_mutex
HALF_LOCKED2 &ctlr->dev.driver_data->op_lock
TYPE_LOCK (struct spi_controller)->io_mutex

drivers/spi/spi-sh.c spi_sh_send() -> spi_sh_set_bit()

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

drivers/spi/spi-sh.c spi_sh_send() -> spi_sh_set_bit()

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

drivers/spi/spi-sh.c spi_sh_send() -> spi_sh_set_bit()

Type Parameter Key Value
PARAM_VALUE 0 ss 4096-ptr_max
PARAM_VALUE 1 val 128
PARAM_VALUE 2 offset 32
BUF_SIZE 0 ss s32min-(-2),1-s32max
BUF_SIZE 0 ss s32min-(-2),1-s32max
DATA_SOURCE 0 ss $0
BIT_INFO 0 ss->cr1 0x0,0xffffffffffffff7f
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 ss unit_byte
LOCK2 &ctlr->io_mutex
HALF_LOCKED2 &ctlr->dev.driver_data->op_lock
TYPE_LOCK (struct spi_controller)->io_mutex

drivers/spi/spi-sh.c spi_sh_send() -> spi_sh_set_bit()

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

drivers/spi/spi-sh.c spi_sh_send() -> spi_sh_set_bit()

Type Parameter Key Value
PARAM_VALUE 0 ss 4096-ptr_max
PARAM_VALUE 1 val 128
PARAM_VALUE 2 offset 32
BUF_SIZE 0 ss s32min-(-2),1-s32max
BUF_SIZE 0 ss s32min-(-2),1-s32max
DATA_SOURCE 0 ss $0
BIT_INFO 0 ss->cr1 0x0,0xffffffffffffff7f
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 ss unit_byte
LOCK2 &ctlr->io_mutex
HALF_LOCKED2 &ctlr->dev.driver_data->op_lock
TYPE_LOCK (struct spi_controller)->io_mutex

drivers/spi/spi-sh.c spi_sh_transfer_one_message() -> spi_sh_set_bit()

Type Parameter Key Value
PARAM_VALUE 0 ss 4096-ptr_max
PARAM_VALUE 1 val 2
PARAM_VALUE 2 offset 8
BUF_SIZE 0 ss s32min-(-2),1-s32max
BUF_SIZE 0 ss s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 ss unit_byte
LOCK2 &ctlr->io_mutex
HALF_LOCKED2 &ctlr->dev.driver_data->op_lock
TYPE_LOCK (struct spi_controller)->io_mutex