Documented in 1 files:
Defined in 1 files as a function:
Referenced in 6 files:
- drivers/iio/gyro/adis16136.c, line 263
- drivers/iio/imu/adis.c
- drivers/iio/imu/adis16400.c
- drivers/iio/imu/adis16475.c
- drivers/iio/imu/adis16480.c
- drivers/iio/imu/adis16550.c
Smatch caller information:
drivers/iio/gyro/adis16136.c adis16136_set_filter() -> __adis_write_reg_16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adis | 4096-ptr_max |
| PARAM_VALUE | 0 | adis->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 32 |
| PARAM_VALUE | 2 | val | 0-7 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/iio/imu/adis16475.c adis16475_buffer_postdisable() -> __adis_write_reg_16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adis | 4096-ptr_max |
| PARAM_VALUE | 0 | adis->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | adis->ops->read | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 104 |
| PARAM_VALUE | 2 | val | 32 |
| BUF_SIZE | 0 | adis | 352 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock |
drivers/iio/imu/adis16475.c adis16475_config_sync_mode() -> __adis_write_reg_16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adis | 4096-ptr_max |
| PARAM_VALUE | 0 | adis->data | 4096-ptr_max |
| PARAM_VALUE | 0 | adis->irq_flag | 1-2,4,8 |
| PARAM_VALUE | 0 | adis->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | adis->spi | 4096-ptr_max |
| PARAM_VALUE | 0 | adis->state_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 98 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/iio/imu/adis16475.c adis16475_set_freq() -> __adis_write_reg_16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adis | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 98 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex |
drivers/iio/imu/adis16475.c adis16475_set_freq() -> __adis_write_reg_16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adis | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 100 |
| CAPPED_DATA | 2 | val | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex |
drivers/iio/imu/adis.c __adis_enable_irq() -> __adis_write_reg_16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adis | 4096-ptr_max |
| PARAM_VALUE | 0 | adis->data | 4096-ptr_max |
| PARAM_VALUE | 0 | adis->data->burst_len | 0,16,18,20,24,28,40 |
| PARAM_VALUE | 0 | adis->data->burst_max_len | 0,32,34 |
| PARAM_VALUE | 0 | adis->data->burst_max_speed_hz | 0,1000000,6000000,6500000,8000000 |
| PARAM_VALUE | 0 | adis->data->burst_reg_cmd | 0,62,104,124 |
| PARAM_VALUE | 0 | adis->data->cs_change_delay | 0,5,16 |
| PARAM_VALUE | 0 | adis->data->diag_stat_reg | 2,10,14,38,60 |
| PARAM_VALUE | 0 | adis->data->diag_stat_size | 0,4 |
| PARAM_VALUE | 0 | adis->data->enable_irq | 0 |
| PARAM_VALUE | 0 | adis->data->glob_cmd_reg | 0,40,62,104,386 |
| PARAM_VALUE | 0 | adis->data->msc_ctrl_reg | 0,28,52,96 |
| PARAM_VALUE | 0 | adis->data->prod_id | 0,16375,16460,16465,16467,16470,16475,16477,16480,16485-16490,16495,16497,16500-16501,16505,16507,16545,16547,16550,16575-16577 |
| PARAM_VALUE | 0 | adis->data->prod_id_reg | 0,86,114,126 |
| PARAM_VALUE | 0 | adis->data->read_delay | 0,5,10,20,30,50 |
| PARAM_VALUE | 0 | adis->data->self_test_mask | 2,4,256,1024,2048 |
| PARAM_VALUE | 0 | adis->data->self_test_reg | 28,52,62,80,104,386 |
| PARAM_VALUE | 0 | adis->data->status_error_mask | 15,47,108,127,252,254,3903,65407,4026565631 |
| PARAM_VALUE | 0 | adis->data->status_error_msgs | 4096-ptr_max |
| PARAM_VALUE | 0 | adis->data->timeouts | 4096-ptr_max |
| PARAM_VALUE | 0 | adis->data->unmasked_drdy | 0 |
| PARAM_VALUE | 0 | adis->data->write_delay | 0,5,10,30,50 |
| PARAM_VALUE | 0 | adis->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | adis->ops->read | 5057626505638428672,6523004374417707008 |
| PARAM_VALUE | 0 | adis->ops->reset | 6757548542357528576,6861480794578456576 |
| PARAM_VALUE | 0 | adis->ops->write | 2360535334803374080,9187453099902136320 |
| PARAM_VALUE | 1 | reg | 0,28,52,96 |
| BUF_SIZE | 0 | adis | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | adis | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | adis | $0 |
| BIT_INFO | 2 | val | 0x2,0xfffe |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | adis | unit_byte |
| HALF_LOCKED2 | _T->lock |
drivers/iio/imu/adis.c adis_self_test() -> __adis_write_reg_16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adis | 4096-ptr_max |
| PARAM_VALUE | 0 | adis->data | 4096-ptr_max |
| PARAM_VALUE | 0 | adis->data->burst_len | 0,16,18,20,24,28,40 |
| PARAM_VALUE | 0 | adis->data->burst_max_len | 0,32,34 |
| PARAM_VALUE | 0 | adis->data->burst_max_speed_hz | 0,1000000,6000000,6500000,8000000 |
| PARAM_VALUE | 0 | adis->data->burst_reg_cmd | 0,62,104,124 |
| PARAM_VALUE | 0 | adis->data->cs_change_delay | 0,5,16 |
| PARAM_VALUE | 0 | adis->data->diag_stat_reg | 2,10,14,38,60 |
| PARAM_VALUE | 0 | adis->data->diag_stat_size | 0,4 |
| PARAM_VALUE | 0 | adis->data->enable_irq | 0,8529675694774956032 |
| PARAM_VALUE | 0 | adis->data->glob_cmd_reg | 0,40,62,104,386 |
| PARAM_VALUE | 0 | adis->data->msc_ctrl_reg | 0,28,52,96 |
| PARAM_VALUE | 0 | adis->data->prod_id | 0,16375,16460,16465,16467,16470,16475,16477,16480,16485-16490,16495,16497,16500-16501,16505,16507,16545,16547,16550,16575-16577 |
| PARAM_VALUE | 0 | adis->data->prod_id_reg | 0,86,114,126 |
| PARAM_VALUE | 0 | adis->data->read_delay | 0,5,10,20,30,50 |
| PARAM_VALUE | 0 | adis->data->self_test_mask | 2,4,256,1024,2048 |
| PARAM_VALUE | 0 | adis->data->self_test_reg | 28,52,62,80,104,386 |
| PARAM_VALUE | 0 | adis->data->status_error_mask | 15,47,108,127,252,254,3903,65407,4026565631 |
| PARAM_VALUE | 0 | adis->data->status_error_msgs | 4096-ptr_max |
| PARAM_VALUE | 0 | adis->data->timeouts | 4096-ptr_max |
| PARAM_VALUE | 0 | adis->data->write_delay | 0,5,10,30,50 |
| PARAM_VALUE | 0 | adis->ops->read | 5057626505638428672,6523004374417707008 |
| PARAM_VALUE | 0 | adis->ops->reset | 6757548542357528576,6861480794578456576 |
| PARAM_VALUE | 0 | adis->ops->write | 2360535334803374080,9187453099902136320 |
| PARAM_VALUE | 1 | reg | 28,52,62,80,104,386 |
| PARAM_VALUE | 2 | val | 2,4,256,1024,2048 |
| DATA_SOURCE | 0 | adis | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/iio/imu/adis.c adis_self_test() -> __adis_write_reg_16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adis | 4096-ptr_max |
| PARAM_VALUE | 0 | adis->data | 4096-ptr_max |
| PARAM_VALUE | 0 | adis->data->burst_len | 0,16,18,20,24,28,40 |
| PARAM_VALUE | 0 | adis->data->burst_max_len | 0,32,34 |
| PARAM_VALUE | 0 | adis->data->burst_max_speed_hz | 0,1000000,6000000,6500000,8000000 |
| PARAM_VALUE | 0 | adis->data->burst_reg_cmd | 0,62,104,124 |
| PARAM_VALUE | 0 | adis->data->cs_change_delay | 0,5,16 |
| PARAM_VALUE | 0 | adis->data->diag_stat_reg | 2,10,14,38,60 |
| PARAM_VALUE | 0 | adis->data->diag_stat_size | 0,4 |
| PARAM_VALUE | 0 | adis->data->enable_irq | 0,8529675694774956032 |
| PARAM_VALUE | 0 | adis->data->glob_cmd_reg | 0,40,62,104,386 |
| PARAM_VALUE | 0 | adis->data->msc_ctrl_reg | 0,28,52,96 |
| PARAM_VALUE | 0 | adis->data->prod_id | 0,16375,16460,16465,16467,16470,16475,16477,16480,16485-16490,16495,16497,16500-16501,16505,16507,16545,16547,16550,16575-16577 |
| PARAM_VALUE | 0 | adis->data->prod_id_reg | 0,86,114,126 |
| PARAM_VALUE | 0 | adis->data->read_delay | 0,5,10,20,30,50 |
| PARAM_VALUE | 0 | adis->data->self_test_mask | 2,4,256,1024,2048 |
| PARAM_VALUE | 0 | adis->data->self_test_no_autoclear | 1 |
| PARAM_VALUE | 0 | adis->data->self_test_reg | 28,52,62,80,104,386 |
| PARAM_VALUE | 0 | adis->data->status_error_mask | 15,47,108,127,252,254,3903,65407,4026565631 |
| PARAM_VALUE | 0 | adis->data->status_error_msgs | 4096-ptr_max |
| PARAM_VALUE | 0 | adis->data->timeouts | 4096-ptr_max |
| PARAM_VALUE | 0 | adis->data->write_delay | 0,5,10,30,50 |
| PARAM_VALUE | 0 | adis->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | adis->ops->read | 5057626505638428672,6523004374417707008 |
| PARAM_VALUE | 0 | adis->ops->reset | 6757548542357528576,6861480794578456576 |
| PARAM_VALUE | 0 | adis->ops->write | 2360535334803374080,9187453099902136320 |
| PARAM_VALUE | 1 | reg | 28,52,62,80,104,386 |
| PARAM_VALUE | 2 | val | 0 |
| DATA_SOURCE | 0 | adis | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/iio/imu/adis16400.c __adis16400_set_filter() -> __adis_write_reg_16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adis | 4096-ptr_max |
| PARAM_VALUE | 0 | adis->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 56 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/iio/imu/adis16400.c adis16334_set_freq() -> __adis_write_reg_16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adis | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 54 |
| PARAM_VALUE | 2 | val | 1,257-7937,12545 |
| BIT_INFO | 2 | val | 0x1,0x3fff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex |
drivers/iio/imu/adis16480.c adis16480_enable_irq() -> __adis_write_reg_16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adis | 4096-ptr_max |
| PARAM_VALUE | 0 | adis->data | 4096-ptr_max |
| PARAM_VALUE | 0 | adis->data->burst_len | 0,16,18,20,24,28,40 |
| PARAM_VALUE | 0 | adis->data->burst_max_len | 0,32,34 |
| PARAM_VALUE | 0 | adis->data->burst_max_speed_hz | 0,1000000,6000000,6500000,8000000 |
| PARAM_VALUE | 0 | adis->data->burst_reg_cmd | 0,62,104,124 |
| PARAM_VALUE | 0 | adis->data->cs_change_delay | 0,5,16 |
| PARAM_VALUE | 0 | adis->data->diag_stat_reg | 2,10,14,38,60 |
| PARAM_VALUE | 0 | adis->data->diag_stat_size | 0,4 |
| PARAM_VALUE | 0 | adis->data->enable_irq | 8529675694774956032 |
| PARAM_VALUE | 0 | adis->data->glob_cmd_reg | 0,40,62,104,386 |
| PARAM_VALUE | 0 | adis->data->msc_ctrl_reg | 0,28,52,96 |
| PARAM_VALUE | 0 | adis->data->prod_id | 0,16375,16460,16465,16467,16470,16475,16477,16480,16485-16490,16495,16497,16500-16501,16505,16507,16545,16547,16550,16575-16577 |
| PARAM_VALUE | 0 | adis->data->prod_id_reg | 0,86,114,126 |
| PARAM_VALUE | 0 | adis->data->read_delay | 0,5,10,20,30,50 |
| PARAM_VALUE | 0 | adis->data->self_test_mask | 2,4,256,1024,2048 |
| PARAM_VALUE | 0 | adis->data->self_test_reg | 28,52,62,80,104,386 |
| PARAM_VALUE | 0 | adis->data->status_error_mask | 15,47,108,127,252,254,3903,65407,4026565631 |
| PARAM_VALUE | 0 | adis->data->status_error_msgs | 4096-ptr_max |
| PARAM_VALUE | 0 | adis->data->timeouts | 4096-ptr_max |
| PARAM_VALUE | 0 | adis->data->write_delay | 0,5,10,30,50 |
| PARAM_VALUE | 0 | adis->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | adis->ops->read | 5057626505638428672,6523004374417707008 |
| PARAM_VALUE | 0 | adis->ops->reset | 6757548542357528576,6861480794578456576 |
| PARAM_VALUE | 0 | adis->ops->write | 2360535334803374080,9187453099902136320 |
| PARAM_VALUE | 1 | reg | 390 |
| BUF_SIZE | 0 | adis | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | adis | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | adis | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
drivers/iio/imu/adis16480.c adis16480_probe() -> __adis_write_reg_16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adis | 4096-ptr_max |
| PARAM_VALUE | 0 | adis->current_page | 0,u32max |
| PARAM_VALUE | 0 | adis->data | 4096-ptr_max |
| PARAM_VALUE | 0 | adis->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | adis->spi | 4096-ptr_max |
| PARAM_VALUE | 0 | adis->state_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 400 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/iio/imu/adis16480.c adis16480_set_filter_freq() -> __adis_write_reg_16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adis | 4096-ptr_max |
| PARAM_VALUE | 0 | adis->ops | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/iio/imu/adis16480.c adis16480_set_freq() -> __adis_write_reg_16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adis | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 400 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex |
drivers/iio/imu/adis16480.c adis16480_set_freq() -> __adis_write_reg_16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adis | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 396 |
| PARAM_VALUE | 2 | val | 0-4250 |
| CAPPED_DATA | 2 | val | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex |
drivers/iio/imu/adis16550.c adis16550_reset() -> __adis_write_reg_16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 80 |
| PARAM_VALUE | 2 | val | 32768 |
| DATA_SOURCE | 0 | adis | $0 |
drivers/iio/imu/adis16550.c adis16550_set_freq_hz() -> __adis_write_reg_16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adis | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 86 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex |
drivers/iio/imu/adis16550.c adis16550_set_freq_hz() -> __adis_write_reg_16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adis | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 84 |
| PARAM_VALUE | 2 | val | 0-4095 |
| CAPPED_DATA | 2 | val | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex |