Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/spi/spi-mpfs.c mpfs_spi_disable() -> mpfs_spi_read()

Type Parameter Key Value
PARAM_VALUE 0 spi 4096-ptr_max
PARAM_VALUE 1 reg 0
BUF_SIZE 0 spi s32min-(-2),1-s32max
BUF_SIZE 0 spi s32min-(-2),1-s32max
BUF_SIZE 0 spi->clk (-1),1-s32max
BUF_SIZE 0 spi->irq s32min-(-1),1-s32max
DATA_SOURCE 0 spi $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 spi unit_byte
HALF_LOCKED2 &_dev->mutex

drivers/spi/spi-mpfs.c mpfs_spi_disable_ints() -> mpfs_spi_read()

Type Parameter Key Value
PARAM_VALUE 1 reg 0
BUF_SIZE 0 spi s32min-(-2),1-s32max
BUF_SIZE 0 spi s32min-(-2),1-s32max
BUF_SIZE 0 spi->clk (-1),1-s32max
BUF_SIZE 0 spi->irq s32min-(-1),1-s32max
DATA_SOURCE 0 spi $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 spi unit_byte
HALF_LOCKED2 &_dev->mutex

drivers/spi/spi-mpfs.c mpfs_spi_enable_ints() -> mpfs_spi_read()

Type Parameter Key Value
PARAM_VALUE 0 spi 4096-ptr_max
PARAM_VALUE 0 spi->regs 4096-ptr_max
PARAM_VALUE 1 reg 0
BUF_SIZE 0 spi s32min-(-2),1-s32max
BUF_SIZE 0 spi s32min-(-2),1-s32max
BUF_SIZE 0 spi->clk (-1),1-s32max
BUF_SIZE 0 spi->irq s32min-(-1),1-s32max
DATA_SOURCE 0 spi $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 spi unit_byte

drivers/spi/spi-mpfs.c mpfs_spi_init() -> mpfs_spi_read()

Type Parameter Key Value
PARAM_VALUE 0 spi 4096-ptr_max
PARAM_VALUE 0 spi->regs 4096-ptr_max
PARAM_VALUE 1 reg 0
BUF_SIZE 0 spi s32min-(-2),1-s32max
BUF_SIZE 0 spi s32min-(-2),1-s32max
BUF_SIZE 0 spi->clk (-1),1-s32max
BUF_SIZE 0 spi->irq s32min-(-1),1-s32max
DATA_SOURCE 0 spi $1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 spi unit_byte

drivers/spi/spi-mpfs.c mpfs_spi_init() -> mpfs_spi_read()

Type Parameter Key Value
PARAM_VALUE 0 spi 4096-ptr_max
PARAM_VALUE 0 spi->regs 4096-ptr_max
PARAM_VALUE 1 reg 0
BUF_SIZE 0 spi s32min-(-2),1-s32max
BUF_SIZE 0 spi s32min-(-2),1-s32max
BUF_SIZE 0 spi->clk (-1),1-s32max
BUF_SIZE 0 spi->irq s32min-(-1),1-s32max
DATA_SOURCE 0 spi $1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 spi unit_byte

drivers/spi/spi-mpfs.c mpfs_spi_interrupt() -> mpfs_spi_read()

Type Parameter Key Value
PARAM_VALUE 1 reg 32
BUF_SIZE 0 spi s32min-(-2),1-s32max
BUF_SIZE 0 spi s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 spi unit_byte
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 flags

drivers/spi/spi-mpfs.c mpfs_spi_read_fifo() -> mpfs_spi_read()

Type Parameter Key Value
PARAM_VALUE 0 spi 4096-ptr_max
PARAM_VALUE 1 reg 8
BUF_SIZE 0 spi s32min-(-2),1-s32max
BUF_SIZE 0 spi s32min-(-2),1-s32max
BUF_SIZE 0 spi->rx_buf s32min-(-1),1-s32max
CAPPED_DATA 0 spi->clk->core 1
DATA_SOURCE 0 spi $0
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 *spi->rx_buf 0-255
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-mpfs.c mpfs_spi_read_fifo() -> mpfs_spi_read()

Type Parameter Key Value
PARAM_VALUE 0 spi 4096-ptr_max
PARAM_VALUE 1 reg 8
BUF_SIZE 0 spi s32min-(-2),1-s32max
BUF_SIZE 0 spi s32min-(-2),1-s32max
BUF_SIZE 0 spi->rx_buf s32min-(-1),1-s32max
CAPPED_DATA 0 spi->clk->core 1
DATA_SOURCE 0 spi $0
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 *spi->rx_buf 0-255
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-mpfs.c mpfs_spi_read_fifo() -> mpfs_spi_read()

Type Parameter Key Value
PARAM_VALUE 0 spi 4096-ptr_max
PARAM_VALUE 1 reg 16
BUF_SIZE 0 spi s32min-(-2),1-s32max
BUF_SIZE 0 spi s32min-(-2),1-s32max
BUF_SIZE 0 spi->rx_buf s32min-(-1),1-s32max
CAPPED_DATA 0 spi->clk->core 1
DATA_SOURCE 0 spi $0
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 *spi->rx_buf 0-255
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-mpfs.c mpfs_spi_set_clk_gen() -> mpfs_spi_read()

Type Parameter Key Value
PARAM_VALUE 0 spi 4096-ptr_max
PARAM_VALUE 1 reg 0
BUF_SIZE 0 spi s32min-(-2),1-s32max
BUF_SIZE 0 spi s32min-(-2),1-s32max
CAPPED_DATA 0 spi->clk->core 1
DATA_SOURCE 0 spi $0
RX_PATH
TASK_NOT_RUNNING
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-mpfs.c mpfs_spi_set_cs() -> mpfs_spi_read()

Type Parameter Key Value
PARAM_VALUE 1 reg 28
BUF_SIZE 0 spi s32min-(-2),1-s32max
BUF_SIZE 0 spi s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 spi 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-mpfs.c mpfs_spi_set_framesize() -> mpfs_spi_read()

Type Parameter Key Value
PARAM_VALUE 0 spi 4096-ptr_max
PARAM_VALUE 1 reg 4
BUF_SIZE 0 spi s32min-(-2),1-s32max
BUF_SIZE 0 spi s32min-(-2),1-s32max
BUF_SIZE 0 spi->clk (-1),1-s32max
BUF_SIZE 0 spi->irq s32min-(-1),1-s32max
BUF_SIZE 0 spi->rx_buf s32min-(-1),1-s32max
BUF_SIZE 0 spi->tx_buf s32min-(-1),1-s32max
DATA_SOURCE 0 spi $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 spi unit_byte
HALF_LOCKED2 &host->io_mutex

drivers/spi/spi-mpfs.c mpfs_spi_set_framesize() -> mpfs_spi_read()

Type Parameter Key Value
PARAM_VALUE 0 spi 4096-ptr_max
PARAM_VALUE 1 reg 0
BUF_SIZE 0 spi s32min-(-2),1-s32max
BUF_SIZE 0 spi s32min-(-2),1-s32max
BUF_SIZE 0 spi->clk (-1),1-s32max
BUF_SIZE 0 spi->irq s32min-(-1),1-s32max
BUF_SIZE 0 spi->rx_buf s32min-(-1),1-s32max
BUF_SIZE 0 spi->tx_buf s32min-(-1),1-s32max
DATA_SOURCE 0 spi $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 spi unit_byte
HALF_LOCKED2 &host->io_mutex

drivers/spi/spi-mpfs.c mpfs_spi_set_mode() -> mpfs_spi_read()

Type Parameter Key Value
PARAM_VALUE 1 reg 0
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
UNITS 0 spi unit_byte
LOCK2 &host->io_mutex
TYPE_LOCK (struct spi_controller)->io_mutex

drivers/spi/spi-mpfs.c mpfs_spi_set_xfer_size() -> mpfs_spi_read()

Type Parameter Key Value
PARAM_VALUE 0 spi 4096-ptr_max
PARAM_VALUE 1 reg 80
BUF_SIZE 0 spi s32min-(-2),1-s32max
BUF_SIZE 0 spi s32min-(-2),1-s32max
BUF_SIZE 0 spi->rx_buf s32min-(-1),1-s32max
BUF_SIZE 0 spi->tx_buf s32min-(-1),1-s32max
CAPPED_DATA 0 spi->clk->core 1
DATA_SOURCE 0 spi $0
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 *spi->rx_buf 0-255
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-mpfs.c mpfs_spi_set_xfer_size() -> mpfs_spi_read()

Type Parameter Key Value
PARAM_VALUE 0 spi 4096-ptr_max
PARAM_VALUE 1 reg 0
BUF_SIZE 0 spi s32min-(-2),1-s32max
BUF_SIZE 0 spi s32min-(-2),1-s32max
BUF_SIZE 0 spi->rx_buf s32min-(-1),1-s32max
BUF_SIZE 0 spi->tx_buf s32min-(-1),1-s32max
CAPPED_DATA 0 spi->clk->core 1
DATA_SOURCE 0 spi $0
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 *spi->rx_buf 0-255
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-mpfs.c mpfs_spi_setup() -> mpfs_spi_read()

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

drivers/spi/spi-mpfs.c mpfs_spi_write_fifo() -> mpfs_spi_read()

Type Parameter Key Value
PARAM_VALUE 0 spi 4096-ptr_max
PARAM_VALUE 1 reg 8
BUF_SIZE 0 spi s32min-(-2),1-s32max
BUF_SIZE 0 spi s32min-(-2),1-s32max
BUF_SIZE 0 spi->rx_buf s32min-(-1),1-s32max
BUF_SIZE 0 spi->tx_buf s32min-(-1),1-s32max
CAPPED_DATA 0 spi->clk->core 1
DATA_SOURCE 0 spi $0
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 *spi->rx_buf 0-255
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-mpfs.c mpfs_spi_write_fifo() -> mpfs_spi_read()

Type Parameter Key Value
PARAM_VALUE 0 spi 4096-ptr_max
PARAM_VALUE 1 reg 8
BUF_SIZE 0 spi s32min-(-2),1-s32max
BUF_SIZE 0 spi s32min-(-2),1-s32max
BUF_SIZE 0 spi->rx_buf s32min-(-1),1-s32max
BUF_SIZE 0 spi->tx_buf s32min-(-1),1-s32max
CAPPED_DATA 0 spi->clk->core 1
DATA_SOURCE 0 spi $0
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 *spi->rx_buf 0-255
UNITS 0 spi unit_byte
LOCK2 &host->io_mutex
HALF_LOCKED2 &host->dev.driver_data->op_lock
TYPE_LOCK (struct spi_controller)->io_mutex