Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/iio/adc/xilinx-xadc-core.c xadc_axi_interrupt_handler() -> xadc_write_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xadc | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 96 |
| PARAM_VALUE | 2 | val | 1-u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | val | 1-u32max[c] |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags |
drivers/iio/adc/xilinx-xadc-core.c xadc_axi_setup() -> xadc_write_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 0 |
| PARAM_VALUE | 2 | val | 10 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/iio/adc/xilinx-xadc-core.c xadc_axi_setup() -> xadc_write_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xadc | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 92 |
| PARAM_VALUE | 2 | val | 2147483648 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/iio/adc/xilinx-xadc-core.c xadc_axi_update_alarm() -> xadc_write_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xadc | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 104 |
| DATA_SOURCE | 0 | xadc | $0 |
| BIT_INFO | 2 | val | 0x0,0xffffc3ff |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | val | 0-u32max[c] |
| LOCK2 | &of->mutex | ||
| LOCK2 | flags | ||
| LOCK2 | 0 | &xadc->lock | |
| LOCK2 | 0 | &xadc->mutex | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct xadc)->lock | ||
| TYPE_LOCK | (struct xadc)->mutex |
drivers/iio/adc/xilinx-xadc-core.c xadc_axi_write_adc_reg() -> xadc_write_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xadc | 4096-ptr_max |
| 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 |
| DATA_SOURCE | 2 | val | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | val | 0-u16max[c] |
| USER_DATA | 2 | val | 0-u16max[c] |
| LOCK2 | 0 | &xadc->mutex | |
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct xadc)->mutex |
drivers/iio/adc/xilinx-xadc-core.c xadc_trigger_set_state() -> xadc_write_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xadc | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 96 |
| PARAM_VALUE | 2 | val | 16 |
| BUF_SIZE | 0 | xadc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | xadc | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &xadc->mutex | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | xadc | unit_byte |
| LOCK2 | _T->lock | ||
| LOCK2 | flags | ||
| 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_trigger_set_state() -> xadc_write_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xadc | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 104 |
| BUF_SIZE | 0 | xadc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | xadc | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &xadc->mutex | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | val | 0-u32max |
| UNITS | 0 | xadc | unit_byte |
| LOCK2 | _T->lock | ||
| LOCK2 | flags | ||
| 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_interrupt_handler() -> xadc_write_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xadc | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 4 |
| PARAM_VALUE | 2 | val | 1-u32max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | val | 1-u32max[c] |
| LOCK2 | 0 | &xadc->lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct xadc)->lock |
drivers/iio/adc/xilinx-xadc-core.c xadc_zynq_read_adc_reg() -> xadc_write_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xadc | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 0 |
| PARAM_VALUE | 2 | val | 0,65536-u32max |
| 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 |
| BIT_INFO | 2 | val | 0x10000,0xfff1ffff |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | val | 0,65536-u32max[c] |
| 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_setup() -> xadc_write_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xadc | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 24 |
| PARAM_VALUE | 2 | val | 16 |
| CAPPED_DATA | 0 | xadc->clk->core | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | xadc->clk->core->parent->req_rate |
drivers/iio/adc/xilinx-xadc-core.c xadc_zynq_setup() -> xadc_write_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xadc | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 24 |
| PARAM_VALUE | 2 | val | 0 |
| CAPPED_DATA | 0 | xadc->clk->core | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | xadc->clk->core->parent->req_rate |
drivers/iio/adc/xilinx-xadc-core.c xadc_zynq_setup() -> xadc_write_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xadc | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 4 |
| PARAM_VALUE | 2 | val | u32max |
| CAPPED_DATA | 0 | xadc->clk->core | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | xadc->clk->core->parent->req_rate |
drivers/iio/adc/xilinx-xadc-core.c xadc_zynq_setup() -> xadc_write_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xadc | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 8 |
| PARAM_VALUE | 2 | val | u32max |
| CAPPED_DATA | 0 | xadc->clk->core | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | xadc->clk->core->parent->req_rate |
drivers/iio/adc/xilinx-xadc-core.c xadc_zynq_setup() -> xadc_write_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xadc | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 0 |
| PARAM_VALUE | 2 | val | 2147495956,2147496212,2147496468,2147496724 |
| CAPPED_DATA | 0 | xadc->clk->core | 1 |
| BIT_INFO | 2 | val | 0x80003014,0x80003314 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | xadc->clk->core->parent->req_rate |
drivers/iio/adc/xilinx-xadc-core.c xadc_zynq_unmask_worker() -> xadc_write_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xadc | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 4 |
| CAPPED_DATA | 2 | val | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | xadc->zynq_masked_alarm | 0-255[c] |
| HOST_DATA | 2 | val | 0-u32max[c] |
| LOCK2 | irq | ||
| LOCK2 | 0 | &xadc->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct xadc)->lock |
drivers/iio/adc/xilinx-xadc-core.c xadc_zynq_update_alarm() -> xadc_write_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xadc | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 4 |
| PARAM_VALUE | 2 | val | 0-255 |
| CAPPED_DATA | 2 | val | 1 |
| DATA_SOURCE | 0 | xadc | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | val | 0-255 |
| LOCK2 | &of->mutex | ||
| LOCK2 | flags | ||
| LOCK2 | 0 | &xadc->lock | |
| LOCK2 | 0 | &xadc->mutex | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct xadc)->lock | ||
| TYPE_LOCK | (struct xadc)->mutex |
drivers/iio/adc/xilinx-xadc-core.c xadc_zynq_update_intmsk() -> xadc_write_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xadc | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 8 |
| 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 | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | xadc->zynq_masked_alarm | 0-u32max[c] |
| HOST_DATA | 2 | val | 0-u32max[c] |
| LOCK2 | 0 | &xadc->lock | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | 0 | &xadc->mutex | |
| TYPE_LOCK | (struct xadc)->lock |
drivers/iio/adc/xilinx-xadc-core.c xadc_zynq_write_adc_reg() -> xadc_write_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xadc | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 0 |
| 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 |
| BIT_INFO | 2 | val | 0x0,0xfff0ffff |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | val | 0-u32max[c] |
| 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_fifo() -> xadc_write_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xadc | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 16 |
| 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 | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | irq | ||
| LOCK2 | 0 | &xadc->lock | |
| LOCK2 | 0 | &xadc->mutex | |
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct xadc)->lock | ||
| TYPE_LOCK | (struct xadc)->mutex |