Documented in 1 files:
Defined in 1 files as a function:
Referenced in 11 files:
- drivers/iio/accel/adis16201.c, line 200
- drivers/iio/accel/adis16209.c, line 125
- drivers/iio/gyro/adis16136.c
- drivers/iio/gyro/adis16260.c
- drivers/iio/imu/adis.c, line 245
- drivers/iio/imu/adis16400.c
- drivers/iio/imu/adis16460.c, line 158
- drivers/iio/imu/adis16475.c, line 441
- drivers/iio/imu/adis16480.c
- drivers/iio/imu/adis16550.c
- drivers/staging/iio/accel/adis16203.c, line 154
Smatch caller information:
drivers/iio/gyro/adis16136.c adis16136_set_freq() -> adis_write_reg_16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adis | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 30 |
| PARAM_VALUE | 2 | val | 14-s16max,u16max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/iio/gyro/adis16136.c adis16136_stop_device() -> adis_write_reg_16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adis | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 36 |
| PARAM_VALUE | 2 | val | 255 |
drivers/iio/imu/adis16475.c adis16475_set_filter() -> adis_write_reg_16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adis | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 92 |
| PARAM_VALUE | 2 | val | 0-7 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/iio/imu/adis.c adis_debugfs_reg_access() -> adis_write_reg_16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | adis | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | adis | s32min-(-2),1-s32max |
| DATA_SOURCE | 1 | reg | $1 |
| DATA_SOURCE | 2 | val | $2 |
| UNITS | 0 | adis | unit_byte |
drivers/iio/gyro/adis16260.c adis16260_stop_device() -> adis_write_reg_16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adis | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 58 |
| PARAM_VALUE | 2 | val | 128 |
drivers/iio/gyro/adis16260.c adis16260_write_raw() -> adis_write_reg_16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adis | 4096-ptr_max |
| PARAM_VALUE | 2 | val | 0-2047,63488-u16max |
| BUF_SIZE | 0 | adis | 352 |
| DATA_SOURCE | 2 | val | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | val | 0-2047,63488-u16max |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/iio/gyro/adis16260.c adis16260_write_raw() -> adis_write_reg_16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adis | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 22 |
| PARAM_VALUE | 2 | val | 0-4095 |
| BUF_SIZE | 0 | adis | 352 |
| DATA_SOURCE | 2 | val | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | val | 0-4095 |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/staging/iio/accel/adis16203.c adis16203_write_raw() -> adis_write_reg_16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 24 |
| PARAM_VALUE | 2 | val | 0-16383 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | val | 0-16383[c] |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/iio/accel/adis16201.c adis16201_write_raw() -> adis_write_reg_16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 16,18,24,26 |
| PARAM_VALUE | 2 | val | 0-4095 |
| CAPPED_DATA | 2 | val | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | val | 0-4095[c] |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/iio/imu/adis16400.c adis16400_stop_device() -> adis_write_reg_16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adis | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 58 |
| PARAM_VALUE | 2 | val | 256 |
drivers/iio/imu/adis16400.c adis16400_write_raw() -> adis_write_reg_16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adis | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 26,28,30,32,34,36 |
| DATA_SOURCE | 2 | val | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | val | 0-u16max |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/iio/imu/adis16460.c adis16460_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 | 0-2047 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/iio/imu/adis16480.c adis16480_config_irq_pin() -> 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->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 | 390 |
| PARAM_VALUE | 2 | val | 0-15 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/iio/imu/adis16480.c adis16480_ext_clk_config() -> 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->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 | 390 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/iio/imu/adis16480.c adis16480_set_calibbias() -> adis_write_reg_16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adis | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 272,276,280,284,288,292,296,298,300,320 |
| DATA_SOURCE | 2 | val | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | val | 0-u16max |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/iio/imu/adis16480.c adis16480_set_calibscale() -> adis_write_reg_16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adis | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 260,262,264,266,268,270 |
| DATA_SOURCE | 2 | val | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | val | 0-u16max |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/iio/imu/adis16480.c adis16480_stop_device() -> adis_write_reg_16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adis | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 400 |
| PARAM_VALUE | 2 | val | 512 |
drivers/iio/accel/adis16209.c adis16209_write_raw() -> adis_write_reg_16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | val | 0-16383 |
| CAPPED_DATA | 2 | val | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | val | 0-16383[c] |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/iio/imu/adis16550.c adis16550_config_sync() -> adis_write_reg_16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adis | 4096-ptr_max |
| PARAM_VALUE | 0 | adis->data | 4142433282470858752 |
| PARAM_VALUE | 0 | adis->msg.spi | 0 |
| PARAM_VALUE | 0 | adis->msg.transfers.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | adis->ops | 1586186859525885952,8090676967572684800 |
| PARAM_VALUE | 0 | adis->spi | 4096-ptr_max |
| PARAM_VALUE | 0 | adis->state_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 86 |
| PARAM_VALUE | 2 | val | 3000-4500 |
| CAPPED_DATA | 2 | val | 1 |
| FUZZY_MAX | 2 | val | 4500 |
| HARD_MAX | 2 | val | 4500 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/iio/imu/adis16550.c adis16550_write_raw() -> adis_write_reg_16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 48,50,52,54,56,58 |
| DATA_SOURCE | 2 | val | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | val | 0-u16max |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |