Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 18 files:
- drivers/iio/accel/adxl380.c, line 1594
- drivers/iio/accel/bma400_core.c, line 332
- drivers/iio/adc/ad7280a.c, line 544
- drivers/iio/adc/ina2xx-adc.c, line 619
- drivers/iio/adc/pac1921.c, line 802
- drivers/iio/adc/rtq6056.c, line 606
- drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c, line 103
- drivers/iio/common/hid-sensors/hid-sensor-trigger.c, line 29
- drivers/iio/dac/adi-axi-dac.c
- drivers/iio/health/afe4403.c, line 167
- drivers/iio/health/afe4404.c, line 198
- drivers/iio/imu/bmi323/bmi323_core.c, line 678
- drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c, line 849
- drivers/iio/industrialio-core.c, line 991
- drivers/iio/industrialio-event.c, line 356
- drivers/iio/proximity/srf08.c, line 296
- drivers/iio/test/iio-test-rescale.c, line 602
- drivers/iio/trigger/iio-trig-hrtimer.c, line 60
Smatch caller information:
drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c st_lsm6dsx_hwfifo_odr_store() -> iio_str_to_fixpoint()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | str | 4096-ptr_max |
| PARAM_VALUE | 1 | fract_mult | 100 |
| PARAM_VALUE | 2 | integer | 6124888674362544128 |
| PARAM_VALUE | 3 | fract | 573082502461935616 |
| DATA_SOURCE | 0 | str | $2 |
| 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/adc/ad7280a.c ad7280_store_balance_timer() -> iio_str_to_fixpoint()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | fract_mult | 100 |
| PARAM_VALUE | 2 | integer | 1981855680059842560 |
| PARAM_VALUE | 3 | fract | 3508428557699665920 |
| BUF_SIZE | 0 | str | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | str | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | str | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/iio/industrialio-event.c iio_ev_value_store() -> iio_str_to_fixpoint()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | str | 4096-ptr_max |
| PARAM_VALUE | 1 | fract_mult | 100000 |
| PARAM_VALUE | 2 | integer | 1504943665225814016 |
| PARAM_VALUE | 3 | fract | 8591697451553140736 |
| DATA_SOURCE | 0 | str | $2 |
| 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/health/afe4403.c afe440x_store_register() -> iio_str_to_fixpoint()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | str | 4096-ptr_max |
| PARAM_VALUE | 1 | fract_mult | 100000 |
| PARAM_VALUE | 2 | integer | 8767911429547704320 |
| PARAM_VALUE | 3 | fract | 1675622368291897344 |
| DATA_SOURCE | 0 | str | $2 |
| 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/accel/bma400_core.c in_accel_gesture_tap_maxtomin_time_store() -> iio_str_to_fixpoint()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | str | 4096-ptr_max |
| PARAM_VALUE | 1 | fract_mult | 100000 |
| PARAM_VALUE | 2 | integer | 8510873891957768192 |
| PARAM_VALUE | 3 | fract | 213793613004320768 |
| DATA_SOURCE | 0 | str | $2 |
| 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/dac/adi-axi-dac.c axi_dac_phase_set() -> iio_str_to_fixpoint()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | fract_mult | 100000 |
| PARAM_VALUE | 2 | integer | 6909380315761811456 |
| PARAM_VALUE | 3 | fract | 4450524047583645696 |
| BUF_SIZE | 0 | str | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | str | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | str | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/iio/dac/adi-axi-dac.c axi_dac_scale_set() -> iio_str_to_fixpoint()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | fract_mult | 100000 |
| PARAM_VALUE | 2 | integer | 1770904991070785536 |
| PARAM_VALUE | 3 | fract | 70712951780933632 |
| BUF_SIZE | 0 | str | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | str | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | str | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/iio/trigger/iio-trig-hrtimer.c iio_hrtimer_store_sampling_frequency() -> iio_str_to_fixpoint()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | str | 4096-ptr_max |
| PARAM_VALUE | 1 | fract_mult | 100 |
| PARAM_VALUE | 2 | integer | 9210087581033594880 |
| PARAM_VALUE | 3 | fract | 6872968965754814464 |
| DATA_SOURCE | 0 | str | $2 |
| 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/test/iio-test-rescale.c iio_str_to_nano() -> iio_str_to_fixpoint()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | fract_mult | 100000000 |
| PARAM_VALUE | 2 | integer | 2945634110119952384 |
| PARAM_VALUE | 3 | fract | 9000933268883566592 |
| BUF_SIZE | 0 | str | (-1),4096 |
| BUF_SIZE | 0 | str | (-1),4096 |
| DATA_SOURCE | 0 | str | $0 |
| STR_LEN | 0 | str | (-1)-4095 |
| STR_LEN | 0 | str | (-1)-4095 |
drivers/iio/accel/adxl380.c in_accel_gesture_tap_maxtomin_time_store() -> iio_str_to_fixpoint()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | str | 4096-ptr_max |
| PARAM_VALUE | 1 | fract_mult | 100000 |
| PARAM_VALUE | 2 | integer | 6054102574212116480 |
| PARAM_VALUE | 3 | fract | 4062314346484084736 |
| DATA_SOURCE | 0 | str | $2 |
| 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/proximity/srf08.c srf08_store_range_mm() -> iio_str_to_fixpoint()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | str | 4096-ptr_max |
| PARAM_VALUE | 1 | fract_mult | 100 |
| PARAM_VALUE | 2 | integer | 7236824072505790464 |
| PARAM_VALUE | 3 | fract | 210911053082042368 |
| DATA_SOURCE | 0 | str | $2 |
| 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/adc/rtq6056.c shunt_resistor_store() -> iio_str_to_fixpoint()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | str | 4096-ptr_max |
| PARAM_VALUE | 1 | fract_mult | 100000 |
| PARAM_VALUE | 2 | integer | 4321068509335871488 |
| PARAM_VALUE | 3 | fract | 4601519236603215872 |
| DATA_SOURCE | 0 | str | $2 |
| 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/common/hid-sensors/hid-sensor-trigger.c _hid_sensor_set_report_latency() -> iio_str_to_fixpoint()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | str | 4096-ptr_max |
| PARAM_VALUE | 1 | fract_mult | 100000 |
| PARAM_VALUE | 2 | integer | 7618483720978587648 |
| PARAM_VALUE | 3 | fract | 3102116796552740864 |
| DATA_SOURCE | 0 | str | $2 |
| 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/common/cros_ec_sensors/cros_ec_sensors_core.c cros_ec_sensor_set_report_latency() -> iio_str_to_fixpoint()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | str | 4096-ptr_max |
| PARAM_VALUE | 1 | fract_mult | 100000 |
| PARAM_VALUE | 2 | integer | 5886842490343333888 |
| PARAM_VALUE | 3 | fract | 4938857223162535936 |
| DATA_SOURCE | 0 | str | $2 |
| 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/adc/pac1921.c pac1921_write_shunt_resistor() -> iio_str_to_fixpoint()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | fract_mult | 100000 |
| PARAM_VALUE | 2 | integer | 1401288009081597952 |
| PARAM_VALUE | 3 | fract | 2890245302214533120 |
| BUF_SIZE | 0 | str | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | str | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | str | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/iio/imu/bmi323/bmi323_core.c in_accel_gesture_tap_wait_dur_store() -> iio_str_to_fixpoint()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | str | 4096-ptr_max |
| PARAM_VALUE | 1 | fract_mult | 100000 |
| PARAM_VALUE | 2 | integer | 4187334983176966144 |
| PARAM_VALUE | 3 | fract | 2090049166628163584 |
| DATA_SOURCE | 0 | str | $2 |
| 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/health/afe4404.c afe440x_store_register() -> iio_str_to_fixpoint()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | str | 4096-ptr_max |
| PARAM_VALUE | 1 | fract_mult | 100000 |
| PARAM_VALUE | 2 | integer | 5883932832854724608 |
| PARAM_VALUE | 3 | fract | 2083582034963042304 |
| DATA_SOURCE | 0 | str | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |