Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/iio/adc/xilinx-xadc-core.c xadc_zynq_read_adc_reg() -> xadc_zynq_write_fifo()

Type Parameter Key Value
PARAM_VALUE 0 xadc 4096-ptr_max
PARAM_VALUE 1 cmd 4096-ptr_max
PARAM_VALUE 2 n 2
BUF_SIZE 0 xadc s32min-(-1),1-s32max
BUF_SIZE 0 xadc s32min-(-1),1-s32max
BUF_SIZE 0 xadc->clk (-1),1-s32max
BUF_SIZE 0 xadc->convst_trigger (-1),2224
BUF_SIZE 0 xadc->samplerate_trigger (-1),2224
BUF_SIZE 1 cmd 8
DATA_SOURCE 0 xadc $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 2 n unit_array_size
LOCK2 irq
LOCK2 0 &xadc->lock
LOCK2 0 &xadc->mutex
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct xadc)->lock
TYPE_LOCK (struct xadc)->mutex

drivers/iio/adc/xilinx-xadc-core.c xadc_zynq_write_adc_reg() -> xadc_zynq_write_fifo()

Type Parameter Key Value
PARAM_VALUE 0 xadc 4096-ptr_max
PARAM_VALUE 1 cmd 4096-ptr_max
PARAM_VALUE 2 n 1
BUF_SIZE 0 xadc s32min-(-1),1-s32max
BUF_SIZE 0 xadc s32min-(-1),1-s32max
BUF_SIZE 0 xadc->clk (-1),1-s32max
BUF_SIZE 0 xadc->convst_trigger (-1),2224
BUF_SIZE 0 xadc->samplerate_trigger (-1),2224
DATA_SOURCE 0 xadc $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 2 n unit_array_size
LOCK2 irq
LOCK2 0 &xadc->lock
LOCK2 0 &xadc->mutex
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct xadc)->lock
TYPE_LOCK (struct xadc)->mutex