Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/spi/spi-aspeed-smc.c aspeed_spi_ast2600_calibrate() -> aspeed_spi_check_reads()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->aspi 4096-ptr_max
PARAM_VALUE 0 chip->aspi->data 4096-ptr_max
PARAM_VALUE 0 chip->ctl 4096-ptr_max
PARAM_VALUE 0 chip->ctl_val 4096-ptr_max
PARAM_VALUE 1 golden_buf 4096-ptr_max
PARAM_VALUE 2 test_buf 4096-ptr_max
BUF_SIZE 1 golden_buf 16384
BUF_SIZE 1 golden_buf 16384
BUF_SIZE 2 test_buf 32768
BUF_SIZE 2 test_buf 32768
DATA_SOURCE 0 chip $0
DATA_SOURCE 1 golden_buf $2
DATA_SOURCE 2 test_buf $3
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 *golden_buf 0-255
HOST_DATA 2 *test_buf 0-255
LOCK2 &mem->spi->controller->bus_lock_mutex
LOCK2 &mem->spi->controller->io_mutex
TYPE_LOCK (struct spi_controller)->bus_lock_mutex
TYPE_LOCK (struct spi_controller)->io_mutex

drivers/spi/spi-aspeed-smc.c aspeed_spi_ast2600_calibrate() -> aspeed_spi_check_reads()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->aspi 4096-ptr_max
PARAM_VALUE 0 chip->aspi->data 4096-ptr_max
PARAM_VALUE 0 chip->ctl 4096-ptr_max
PARAM_VALUE 0 chip->ctl_val 4096-ptr_max
PARAM_VALUE 1 golden_buf 4096-ptr_max
PARAM_VALUE 2 test_buf 4096-ptr_max
BUF_SIZE 1 golden_buf 16384
BUF_SIZE 1 golden_buf 16384
BUF_SIZE 2 test_buf 32768
BUF_SIZE 2 test_buf 32768
DATA_SOURCE 0 chip $0
DATA_SOURCE 1 golden_buf $2
DATA_SOURCE 2 test_buf $3
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 *golden_buf 0-255
HOST_DATA 2 *test_buf 0-255
LOCK2 &mem->spi->controller->bus_lock_mutex
LOCK2 &mem->spi->controller->io_mutex
TYPE_LOCK (struct spi_controller)->bus_lock_mutex
TYPE_LOCK (struct spi_controller)->io_mutex

drivers/spi/spi-aspeed-smc.c aspeed_spi_calibrate() -> aspeed_spi_check_reads()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->aspi 4096-ptr_max
PARAM_VALUE 0 chip->aspi->data 4096-ptr_max
PARAM_VALUE 0 chip->cs 0-255
PARAM_VALUE 0 chip->ctl 4096-ptr_max
PARAM_VALUE 0 chip->ctl_val 4096-ptr_max
PARAM_VALUE 1 golden_buf 4096-ptr_max
PARAM_VALUE 2 test_buf 4096-ptr_max
BUF_SIZE 1 golden_buf 16384
BUF_SIZE 1 golden_buf 16384
BUF_SIZE 2 test_buf 32768
BUF_SIZE 2 test_buf 32768
DATA_SOURCE 0 chip $0
DATA_SOURCE 1 golden_buf $2
DATA_SOURCE 2 test_buf $3
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 *golden_buf 0-255
HOST_DATA 2 *test_buf 0-255
LOCK2 &mem->spi->controller->bus_lock_mutex
LOCK2 &mem->spi->controller->io_mutex
TYPE_LOCK (struct spi_controller)->bus_lock_mutex
TYPE_LOCK (struct spi_controller)->io_mutex