Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/iio/adc/xilinx-ams.c ams_disable_all_alarms() -> ams_pl_update_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ams | 4096-ptr_max |
| PARAM_VALUE | 0 | ams->pl_base | 1-u64max |
| PARAM_VALUE | 1 | offset | 260 |
| PARAM_VALUE | 2 | mask | 3855 |
| PARAM_VALUE | 3 | data | 3855 |
| BUF_SIZE | 0 | ams->clk | (-1),1-s32max |
| DATA_SOURCE | 0 | ams | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/iio/adc/xilinx-ams.c ams_disable_all_alarms() -> ams_pl_update_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ams | 4096-ptr_max |
| PARAM_VALUE | 0 | ams->pl_base | 1-u64max |
| PARAM_VALUE | 1 | offset | 268 |
| PARAM_VALUE | 2 | mask | 63 |
| PARAM_VALUE | 3 | data | 63 |
| BUF_SIZE | 0 | ams->clk | (-1),1-s32max |
| DATA_SOURCE | 0 | ams | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/iio/adc/xilinx-ams.c ams_enable_channel_sequence() -> ams_pl_update_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ams | 4096-ptr_max |
| PARAM_VALUE | 0 | ams->pl_base | 1-u64max |
| PARAM_VALUE | 1 | offset | 260 |
| PARAM_VALUE | 2 | mask | 61440 |
| PARAM_VALUE | 3 | data | 0,4096-61440 |
| BIT_INFO | 3 | data | 0x0,0xf000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | _T->lock |
drivers/iio/adc/xilinx-ams.c ams_enable_channel_sequence() -> ams_pl_update_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ams | 4096-ptr_max |
| PARAM_VALUE | 0 | ams->pl_base | 1-u64max |
| PARAM_VALUE | 1 | offset | 260 |
| PARAM_VALUE | 2 | mask | 61440 |
| PARAM_VALUE | 3 | data | 0,4096-61440 |
| BIT_INFO | 3 | data | 0x0,0xf000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | _T->lock |
drivers/iio/adc/xilinx-ams.c ams_init_device() -> ams_pl_update_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ams | 4096-ptr_max |
| PARAM_VALUE | 0 | ams->pl_base | 1-u64max |
| PARAM_VALUE | 1 | offset | 260 |
| PARAM_VALUE | 2 | mask | 61440 |
| PARAM_VALUE | 3 | data | 0,4096-61440 |
| BUF_SIZE | 0 | ams->clk | (-1),1-s32max |
| DATA_SOURCE | 0 | ams | $0 |
| BIT_INFO | 3 | data | 0x0,0xf000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/iio/adc/xilinx-ams.c ams_update_pl_alarm() -> ams_pl_update_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ams | 4096-ptr_max |
| PARAM_VALUE | 0 | ams->pl_base | 1-u64max |
| PARAM_VALUE | 1 | offset | 260 |
| PARAM_VALUE | 2 | mask | 3855 |
| DATA_SOURCE | 0 | ams | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/iio/adc/xilinx-ams.c ams_update_pl_alarm() -> ams_pl_update_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ams | 4096-ptr_max |
| PARAM_VALUE | 0 | ams->pl_base | 1-u64max |
| PARAM_VALUE | 1 | offset | 268 |
| PARAM_VALUE | 2 | mask | 63 |
| DATA_SOURCE | 0 | ams | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/iio/adc/xilinx-ams.c ams_write_event_value() -> ams_pl_update_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | offset | 0,320-436 |
| PARAM_VALUE | 2 | mask | 1 |
| PARAM_VALUE | 3 | data | 1 |
| DATA_SOURCE | 1 | offset | r ams_get_alarm_offset |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |