Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/spi/spi-aspeed-smc.c aspeed_spi_do_calibration() -> (struct aspeed_spi_data)->calibrate()

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 hdiv 1-5,2147483648-u32max
PARAM_VALUE 2 golden_buf 4096-ptr_max
PARAM_VALUE 3 test_buf 4096-ptr_max
BUF_SIZE 2 golden_buf 16384
BUF_SIZE 2 golden_buf 16384
BUF_SIZE 3 test_buf 32768
BUF_SIZE 3 test_buf 32768
DATA_SOURCE 0 chip $0
DATA_SOURCE 3 test_buf r _kzalloc_noprof
PARAM_COMPARE 2 golden_buf == $3
PARAM_COMPARE 2 golden_buf > $3
PARAM_COMPARE 2 golden_buf > $3
PARAM_COMPARE 3 test_buf < $2
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 2 *golden_buf 0-255
HOST_DATA 3 *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