Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/spi/spi-sh.c spi_sh_clear_bit() -> spi_sh_read()

Type Parameter Key Value
PARAM_VALUE 1 offset 8,16,32
BUF_SIZE 0 ss s32min-(-1),1-s32max
BUF_SIZE 0 ss s32min-(-1),1-s32max
DATA_SOURCE 0 ss $0
DATA_SOURCE 1 offset $2
HARD_MAX 1 offset 32
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ss unit_byte
HALF_LOCKED2 &ctlr->io_mutex

drivers/spi/spi-sh.c spi_sh_irq() -> spi_sh_read()

Type Parameter Key Value
PARAM_VALUE 1 offset 8
DATA_SOURCE 0 ss $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 flags

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

Type Parameter Key Value
PARAM_VALUE 0 ss 4096-ptr_max
PARAM_VALUE 0 ss->wait.lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 offset 8
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
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_read()

Type Parameter Key Value
PARAM_VALUE 0 ss 4096-ptr_max
PARAM_VALUE 1 offset 0
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
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_read()

Type Parameter Key Value
PARAM_VALUE 0 ss 4096-ptr_max
PARAM_VALUE 1 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
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_read()

Type Parameter Key Value
PARAM_VALUE 0 ss 4096-ptr_max
PARAM_VALUE 1 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
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_read()

Type Parameter Key Value
PARAM_VALUE 0 ss 4096-ptr_max
PARAM_VALUE 1 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
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_read()

Type Parameter Key Value
PARAM_VALUE 0 ss 4096-ptr_max
PARAM_VALUE 1 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
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_read()

Type Parameter Key Value
PARAM_VALUE 0 ss 4096-ptr_max
PARAM_VALUE 1 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
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_set_bit() -> spi_sh_read()

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

drivers/spi/spi-sh.c spi_sh_setup() -> spi_sh_read()

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

drivers/spi/spi-sh.c spi_sh_wait_receive_buffer() -> spi_sh_read()

Type Parameter Key Value
PARAM_VALUE 0 ss 4096-ptr_max
PARAM_VALUE 1 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
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_wait_receive_buffer() -> spi_sh_read()

Type Parameter Key Value
PARAM_VALUE 0 ss 4096-ptr_max
PARAM_VALUE 1 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
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_wait_write_buffer_empty() -> spi_sh_read()

Type Parameter Key Value
PARAM_VALUE 0 ss 4096-ptr_max
PARAM_VALUE 1 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
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_wait_write_buffer_empty() -> spi_sh_read()

Type Parameter Key Value
PARAM_VALUE 0 ss 4096-ptr_max
PARAM_VALUE 1 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
UNITS 0 ss unit_byte
LOCK2 &ctlr->io_mutex
HALF_LOCKED2 &ctlr->dev.driver_data->op_lock
TYPE_LOCK (struct spi_controller)->io_mutex