Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/spi/spi-cadence.c cdns_prepare_transfer_hardware() -> cdns_spi_write()

Type Parameter Key Value
PARAM_VALUE 1 offset 20
PARAM_VALUE 2 val 1
BUF_SIZE 0 xspi s32min-(-2),1-s32max
BUF_SIZE 0 xspi s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 xspi unit_byte
LOCK2 &ctlr->io_mutex
TYPE_LOCK (struct spi_controller)->io_mutex

drivers/spi/spi-cadence.c cdns_spi_chipselect() -> cdns_spi_write()

Type Parameter Key Value
PARAM_VALUE 0 xspi 4096-ptr_max
PARAM_VALUE 1 offset 0
BUF_SIZE 0 xspi s32min-(-2),1-s32max
BUF_SIZE 0 xspi s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 val 0-u32max
UNITS 0 xspi 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-cadence.c cdns_spi_config_clock_freq() -> cdns_spi_write()

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

drivers/spi/spi-cadence.c cdns_spi_config_clock_mode() -> cdns_spi_write()

Type Parameter Key Value
PARAM_VALUE 0 xspi 4096-ptr_max
PARAM_VALUE 1 offset 20
PARAM_VALUE 2 val 0
BUF_SIZE 0 xspi s32min-(-2),1-s32max
BUF_SIZE 0 xspi s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 xspi unit_byte
LOCK2 &ctlr->io_mutex
TYPE_LOCK (struct spi_controller)->io_mutex

drivers/spi/spi-cadence.c cdns_spi_config_clock_mode() -> cdns_spi_write()

Type Parameter Key Value
PARAM_VALUE 0 xspi 4096-ptr_max
PARAM_VALUE 1 offset 0
BUF_SIZE 0 xspi s32min-(-2),1-s32max
BUF_SIZE 0 xspi s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 val 0-u32max[c]
UNITS 0 xspi unit_byte
LOCK2 &ctlr->io_mutex
TYPE_LOCK (struct spi_controller)->io_mutex

drivers/spi/spi-cadence.c cdns_spi_config_clock_mode() -> cdns_spi_write()

Type Parameter Key Value
PARAM_VALUE 0 xspi 4096-ptr_max
PARAM_VALUE 1 offset 20
PARAM_VALUE 2 val 1
BUF_SIZE 0 xspi s32min-(-2),1-s32max
BUF_SIZE 0 xspi s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 xspi unit_byte
LOCK2 &ctlr->io_mutex
TYPE_LOCK (struct spi_controller)->io_mutex

drivers/spi/spi-cadence.c cdns_spi_detect_fifo_depth() -> cdns_spi_write()

Type Parameter Key Value
PARAM_VALUE 0 xspi 4096-ptr_max
PARAM_VALUE 0 xspi->regs 4096-ptr_max
PARAM_VALUE 1 offset 40
PARAM_VALUE 2 val u16max
BUF_SIZE 0 xspi s32min-(-2),1-s32max
BUF_SIZE 0 xspi s32min-(-2),1-s32max
BUF_SIZE 0 xspi->pclk (-1),1-s32max
BUF_SIZE 0 xspi->ref_clk (-1),1-s32max
BUF_SIZE 0 xspi->rstc (-1),8,280
DATA_SOURCE 0 xspi $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 xspi unit_byte

drivers/spi/spi-cadence.c cdns_spi_detect_fifo_depth() -> cdns_spi_write()

Type Parameter Key Value
PARAM_VALUE 0 xspi 4096-ptr_max
PARAM_VALUE 0 xspi->regs 4096-ptr_max
PARAM_VALUE 1 offset 40
PARAM_VALUE 2 val 1
BUF_SIZE 0 xspi s32min-(-2),1-s32max
BUF_SIZE 0 xspi s32min-(-2),1-s32max
BUF_SIZE 0 xspi->pclk (-1),1-s32max
BUF_SIZE 0 xspi->ref_clk (-1),1-s32max
BUF_SIZE 0 xspi->rstc (-1),8,280
DATA_SOURCE 0 xspi $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 xspi unit_byte

drivers/spi/spi-cadence.c cdns_spi_init_hw() -> cdns_spi_write()

Type Parameter Key Value
PARAM_VALUE 0 xspi 4096-ptr_max
PARAM_VALUE 1 offset 20
PARAM_VALUE 2 val 0
BUF_SIZE 0 xspi s32min-(-2),1-s32max
BUF_SIZE 0 xspi s32min-(-2),1-s32max
BUF_SIZE 0 xspi->pclk (-1),1-s32max
BUF_SIZE 0 xspi->ref_clk (-1),1-s32max
BUF_SIZE 0 xspi->rstc (-1),8,280
DATA_SOURCE 0 xspi $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 xspi unit_byte

drivers/spi/spi-cadence.c cdns_spi_init_hw() -> cdns_spi_write()

Type Parameter Key Value
PARAM_VALUE 0 xspi 4096-ptr_max
PARAM_VALUE 1 offset 12
PARAM_VALUE 2 val 127
BUF_SIZE 0 xspi s32min-(-2),1-s32max
BUF_SIZE 0 xspi s32min-(-2),1-s32max
BUF_SIZE 0 xspi->pclk (-1),1-s32max
BUF_SIZE 0 xspi->ref_clk (-1),1-s32max
BUF_SIZE 0 xspi->rstc (-1),8,280
DATA_SOURCE 0 xspi $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 xspi unit_byte

drivers/spi/spi-cadence.c cdns_spi_init_hw() -> cdns_spi_write()

Type Parameter Key Value
PARAM_VALUE 0 xspi 4096-ptr_max
PARAM_VALUE 1 offset 4
PARAM_VALUE 2 val 127
BUF_SIZE 0 xspi s32min-(-2),1-s32max
BUF_SIZE 0 xspi s32min-(-2),1-s32max
BUF_SIZE 0 xspi->pclk (-1),1-s32max
BUF_SIZE 0 xspi->ref_clk (-1),1-s32max
BUF_SIZE 0 xspi->rstc (-1),8,280
DATA_SOURCE 0 xspi $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 xspi unit_byte

drivers/spi/spi-cadence.c cdns_spi_init_hw() -> cdns_spi_write()

Type Parameter Key Value
PARAM_VALUE 0 xspi 4096-ptr_max
PARAM_VALUE 1 offset 0
PARAM_VALUE 2 val 0,512,31753,32265
BUF_SIZE 0 xspi s32min-(-2),1-s32max
BUF_SIZE 0 xspi s32min-(-2),1-s32max
BUF_SIZE 0 xspi->pclk (-1),1-s32max
BUF_SIZE 0 xspi->ref_clk (-1),1-s32max
BUF_SIZE 0 xspi->rstc (-1),8,280
DATA_SOURCE 0 xspi $0
FUZZY_MAX 2 val 0
BIT_INFO 2 val 0x0,0x7e09
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 xspi unit_byte

drivers/spi/spi-cadence.c cdns_spi_init_hw() -> cdns_spi_write()

Type Parameter Key Value
PARAM_VALUE 0 xspi 4096-ptr_max
PARAM_VALUE 1 offset 20
PARAM_VALUE 2 val 1
BUF_SIZE 0 xspi s32min-(-2),1-s32max
BUF_SIZE 0 xspi s32min-(-2),1-s32max
BUF_SIZE 0 xspi->pclk (-1),1-s32max
BUF_SIZE 0 xspi->ref_clk (-1),1-s32max
BUF_SIZE 0 xspi->rstc (-1),8,280
DATA_SOURCE 0 xspi $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 xspi unit_byte

drivers/spi/spi-cadence.c cdns_spi_irq() -> cdns_spi_write()

Type Parameter Key Value
PARAM_VALUE 0 xspi 4096-ptr_max
PARAM_VALUE 1 offset 4
BUF_SIZE 0 xspi s32min-(-2),1-s32max
BUF_SIZE 0 xspi s32min-(-2),1-s32max
DATA_SOURCE 2 val r cdns_spi_read
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 val 0-u32max
UNITS 0 xspi unit_byte
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 flags

drivers/spi/spi-cadence.c cdns_spi_irq() -> cdns_spi_write()

Type Parameter Key Value
PARAM_VALUE 0 xspi 4096-ptr_max
PARAM_VALUE 1 offset 12
PARAM_VALUE 2 val 6
BUF_SIZE 0 xspi s32min-(-2),1-s32max
BUF_SIZE 0 xspi s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 xspi unit_byte
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 flags

drivers/spi/spi-cadence.c cdns_spi_irq() -> cdns_spi_write()

Type Parameter Key Value
PARAM_VALUE 0 xspi 4096-ptr_max
PARAM_VALUE 1 offset 40
PARAM_VALUE 2 val 1
BUF_SIZE 0 xspi s32min-(-2),1-s32max
BUF_SIZE 0 xspi s32min-(-2),1-s32max
CAPPED_DATA 0 xspi->tx_bytes 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 xspi unit_byte
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 flags

drivers/spi/spi-cadence.c cdns_spi_irq() -> cdns_spi_write()

Type Parameter Key Value
PARAM_VALUE 0 xspi 4096-ptr_max
PARAM_VALUE 1 offset 12
PARAM_VALUE 2 val 6
BUF_SIZE 0 xspi s32min-(-2),1-s32max
BUF_SIZE 0 xspi s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 *xspi->rxbuf 0-255
UNITS 0 xspi unit_byte
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 flags

drivers/spi/spi-cadence.c cdns_spi_remove() -> cdns_spi_write()

Type Parameter Key Value
PARAM_VALUE 1 offset 20
PARAM_VALUE 2 val 0
BUF_SIZE 0 xspi s32min-(-2),1-s32max
BUF_SIZE 0 xspi s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 xspi unit_byte
HALF_LOCKED2 &_dev->mutex

drivers/spi/spi-cadence.c cdns_spi_writer() -> cdns_spi_write()

Type Parameter Key Value
PARAM_VALUE 0 xspi 4096-ptr_max
PARAM_VALUE 1 offset 28
BUF_SIZE 0 xspi s32min-(-2),1-s32max
BUF_SIZE 0 xspi s32min-(-2),1-s32max
BUF_SIZE 0 xspi->rxbuf s32min-(-1),1-s32max
BUF_SIZE 0 xspi->txbuf s32min-(-1),1-s32max
DATA_SOURCE 0 xspi $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 *xspi->rxbuf 0-255
UNITS 0 xspi unit_byte
HALF_LOCKED2 &ctlr->io_mutex

drivers/spi/spi-cadence.c cdns_target_abort() -> cdns_spi_write()

Type Parameter Key Value
PARAM_VALUE 0 xspi 4096-ptr_max
PARAM_VALUE 1 offset 4
BUF_SIZE 0 xspi s32min-(-2),1-s32max
BUF_SIZE 0 xspi s32min-(-2),1-s32max
DATA_SOURCE 2 val r cdns_spi_read
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 val 0-u32max
UNITS 0 xspi unit_byte

drivers/spi/spi-cadence.c cdns_target_abort() -> cdns_spi_write()

Type Parameter Key Value
PARAM_VALUE 0 xspi 4096-ptr_max
PARAM_VALUE 1 offset 12
PARAM_VALUE 2 val 18
BUF_SIZE 0 xspi s32min-(-2),1-s32max
BUF_SIZE 0 xspi s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 xspi unit_byte

drivers/spi/spi-cadence.c cdns_transfer_one() -> cdns_spi_write()

Type Parameter Key Value
PARAM_VALUE 0 xspi 4096-ptr_max
PARAM_VALUE 1 offset 40
PARAM_VALUE 2 val 0-s32max
BUF_SIZE 0 xspi s32min-(-2),1-s32max
BUF_SIZE 0 xspi s32min-(-2),1-s32max
BUF_SIZE 0 xspi->rxbuf s32min-(-2),1-s32max
BUF_SIZE 0 xspi->txbuf s32min-(-2),1-s32max
CAPPED_DATA 0 xspi->tx_fifo_depth 1
PARAM_COMPARE 0 xspi->tx_bytes > $0->tx_fifo_depth
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 xspi unit_byte
LOCK2 &ctlr->io_mutex
HALF_LOCKED2 &ctlr->dev.driver_data->op_lock
TYPE_LOCK (struct spi_controller)->io_mutex

drivers/spi/spi-cadence.c cdns_transfer_one() -> cdns_spi_write()

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

drivers/spi/spi-cadence.c cdns_unprepare_transfer_hardware() -> cdns_spi_write()

Type Parameter Key Value
PARAM_VALUE 0 xspi 4096-ptr_max
PARAM_VALUE 1 offset 20
PARAM_VALUE 2 val 0
BUF_SIZE 0 xspi s32min-(-2),1-s32max
BUF_SIZE 0 xspi s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 xspi unit_byte
LOCK2 &ctlr->io_mutex
TYPE_LOCK (struct spi_controller)->io_mutex

drivers/spi/spi-cadence.c cdns_unprepare_transfer_hardware() -> cdns_spi_write()

Type Parameter Key Value
PARAM_VALUE 0 xspi 4096-ptr_max
PARAM_VALUE 1 offset 40
PARAM_VALUE 2 val 1
BUF_SIZE 0 xspi s32min-(-2),1-s32max
BUF_SIZE 0 xspi s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 xspi unit_byte
LOCK2 &ctlr->io_mutex
TYPE_LOCK (struct spi_controller)->io_mutex