Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/spi/spi-atmel.c atmel_spi_one_transfer() -> atmel_spi_lock()

Type Parameter Key Value
PARAM_VALUE 0 as 4096-ptr_max
PARAM_VALUE 0 as->current_remaining_bytes s32min-(-1),1-s32max
PARAM_VALUE 0 as->current_transfer 4096-ptr_max
PARAM_VALUE 0 as->current_transfer->len 1-u32max
PARAM_VALUE 0 as->current_transfer->rx_dma 0-18446744073709551614
PARAM_VALUE 0 as->current_transfer->tx_dma 0-18446744073709551614
PARAM_VALUE 0 as->done_status 0
PARAM_VALUE 0 as->use_pdc 1
PARAM_VALUE 0 as->xfer_completion.done 0
BUF_SIZE 0 as s32min-(-2),1-s32max
BUF_SIZE 0 as s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 as unit_byte
LOCK2 &host->io_mutex
HALF_LOCKED2 &host->dev.driver_data->op_lock
TYPE_LOCK (struct spi_controller)->io_mutex

drivers/spi/spi-atmel.c atmel_spi_one_transfer() -> atmel_spi_lock()

Type Parameter Key Value
PARAM_VALUE 0 as 4096-ptr_max
PARAM_VALUE 0 as->current_remaining_bytes s32min-(-1),1-s32max
PARAM_VALUE 0 as->current_transfer 4096-ptr_max
PARAM_VALUE 0 as->current_transfer->len 1-u32max
PARAM_VALUE 0 as->done_status 0
PARAM_VALUE 0 as->use_pdc 0
PARAM_VALUE 0 as->xfer_completion.done 0
BUF_SIZE 0 as s32min-(-2),1-s32max
BUF_SIZE 0 as s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 as unit_byte
LOCK2 &host->io_mutex
HALF_LOCKED2 &host->dev.driver_data->op_lock
TYPE_LOCK (struct spi_controller)->io_mutex

drivers/spi/spi-atmel.c atmel_spi_pio_interrupt() -> atmel_spi_lock()

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