Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 12 files:
- drivers/iio/accel/hid-sensor-accel-3d.c, line 306
- drivers/iio/common/hid-sensors/hid-sensor-attributes.c
- drivers/iio/gyro/hid-sensor-gyro-3d.c, line 256
- drivers/iio/humidity/hid-sensor-humidity.c, line 178
- drivers/iio/light/hid-sensor-als.c, line 332
- drivers/iio/light/hid-sensor-prox.c, line 246
- drivers/iio/magnetometer/hid-sensor-magn-3d.c
- drivers/iio/orientation/hid-sensor-incl-3d.c, line 285
- drivers/iio/orientation/hid-sensor-rotation.c, line 293
- drivers/iio/position/hid-sensor-custom-intel-hinge.c, line 256
- drivers/iio/pressure/hid-sensor-press.c, line 222
- drivers/iio/temperature/hid-sensor-temperature.c, line 176
Smatch caller information:
drivers/iio/orientation/hid-sensor-rotation.c dev_rot_parse_report() -> hid_sensor_format_scale()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | usage_id | 2097290,2097294,2097345 |
| PARAM_VALUE | 1 | attr_info | 4096-ptr_max |
| PARAM_VALUE | 1 | attr_info->attrib_id | 2098307 |
| PARAM_VALUE | 1 | attr_info->index | 0 |
| PARAM_VALUE | 2 | val0 | 4096-ptr_max |
| PARAM_VALUE | 3 | val1 | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/iio/temperature/hid-sensor-temperature.c temperature_parse_report() -> hid_sensor_format_scale()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | usage_id | 2097203 |
| PARAM_VALUE | 1 | attr_info | 4096-ptr_max |
| PARAM_VALUE | 1 | attr_info->attrib_id | 2098228 |
| PARAM_VALUE | 1 | attr_info->index | 0 |
| PARAM_VALUE | 2 | val0 | 4096-ptr_max |
| PARAM_VALUE | 3 | val1 | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/iio/orientation/hid-sensor-incl-3d.c incl_3d_parse_report() -> hid_sensor_format_scale()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | usage_id | 2097286 |
| PARAM_VALUE | 1 | attr_info | 4096-ptr_max |
| PARAM_VALUE | 1 | attr_info->attrib_id | 2098303 |
| PARAM_VALUE | 2 | val0 | 4096-ptr_max |
| PARAM_VALUE | 3 | val1 | 4096-ptr_max |
| BUF_SIZE | 1 | attr_info | 108 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/iio/common/hid-sensors/hid-sensor-attributes.c hid_sensor_parse_common_attributes() -> hid_sensor_format_scale()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | usage_id | 2098473 |
| PARAM_VALUE | 1 | attr_info | 6073671130401898496 |
| PARAM_VALUE | 1 | attr_info->attrib_id | 2098473 |
| PARAM_VALUE | 1 | attr_info->index | 0 |
| PARAM_VALUE | 1 | attr_info->report_id | s32min-(-1),1-s32max |
| PARAM_VALUE | 2 | val0 | 5300803613288148992 |
| PARAM_VALUE | 3 | val1 | 334695022147170304 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/iio/light/hid-sensor-prox.c prox_parse_report() -> hid_sensor_format_scale()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | usage_id | 2098353-2098354,2098365 |
| PARAM_VALUE | 1 | attr_info | 4096-ptr_max |
| PARAM_VALUE | 1 | attr_info->attrib_id | 2098353-2098354,2098365 |
| PARAM_VALUE | 2 | val0 | 4096-ptr_max |
| PARAM_VALUE | 3 | val1 | 4096-ptr_max |
| CAPPED_DATA | 0 | usage_id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/iio/light/hid-sensor-als.c als_parse_report() -> hid_sensor_format_scale()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr_info | 4096-ptr_max |
| PARAM_VALUE | 1 | attr_info->attrib_id | 2098385-2098386,2098388-2098389 |
| PARAM_VALUE | 2 | val0 | 4096-ptr_max |
| PARAM_VALUE | 3 | val1 | 4096-ptr_max |
| CAPPED_DATA | 0 | usage_id | 1 |
| DATA_SOURCE | 0 | usage_id | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/iio/magnetometer/hid-sensor-magn-3d.c magn_3d_parse_report() -> hid_sensor_format_scale()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | usage_id | 2097283 |
| PARAM_VALUE | 1 | attr_info | 4096-ptr_max |
| PARAM_VALUE | 2 | val0 | 4096-ptr_max |
| PARAM_VALUE | 3 | val1 | 4096-ptr_max |
| BUF_SIZE | 1 | attr_info | 288 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/iio/magnetometer/hid-sensor-magn-3d.c magn_3d_parse_report() -> hid_sensor_format_scale()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | usage_id | 2098293 |
| PARAM_VALUE | 1 | attr_info | 4096-ptr_max |
| PARAM_VALUE | 2 | val0 | 4096-ptr_max |
| PARAM_VALUE | 3 | val1 | 4096-ptr_max |
| BUF_SIZE | 1 | attr_info | 180 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/iio/position/hid-sensor-custom-intel-hinge.c hinge_parse_report() -> hid_sensor_format_scale()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | usage_id | 2097675 |
| PARAM_VALUE | 1 | attr_info | 4096-ptr_max |
| PARAM_VALUE | 2 | val0 | 4096-ptr_max |
| PARAM_VALUE | 3 | val1 | 4096-ptr_max |
| BUF_SIZE | 1 | attr_info | 108 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/iio/accel/hid-sensor-accel-3d.c accel_3d_parse_report() -> hid_sensor_format_scale()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr_info | 4096-ptr_max |
| PARAM_VALUE | 2 | val0 | 4096-ptr_max |
| PARAM_VALUE | 3 | val1 | 4096-ptr_max |
| BUF_SIZE | 1 | attr_info | 108 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/iio/humidity/hid-sensor-humidity.c humidity_parse_report() -> hid_sensor_format_scale()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | usage_id | 2097202 |
| PARAM_VALUE | 1 | attr_info | 4096-ptr_max |
| PARAM_VALUE | 1 | attr_info->attrib_id | 2098227 |
| PARAM_VALUE | 1 | attr_info->index | 0 |
| PARAM_VALUE | 2 | val0 | 4096-ptr_max |
| PARAM_VALUE | 3 | val1 | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/iio/gyro/hid-sensor-gyro-3d.c gyro_3d_parse_report() -> hid_sensor_format_scale()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | usage_id | 2097270 |
| PARAM_VALUE | 1 | attr_info | 4096-ptr_max |
| PARAM_VALUE | 2 | val0 | 4096-ptr_max |
| PARAM_VALUE | 3 | val1 | 4096-ptr_max |
| BUF_SIZE | 1 | attr_info | 108 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/iio/pressure/hid-sensor-press.c press_parse_report() -> hid_sensor_format_scale()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | usage_id | 2097201 |
| PARAM_VALUE | 1 | attr_info | 4096-ptr_max |
| PARAM_VALUE | 1 | attr_info->attrib_id | 2098225 |
| PARAM_VALUE | 1 | attr_info->index | 0 |
| PARAM_VALUE | 2 | val0 | 4096-ptr_max |
| PARAM_VALUE | 3 | val1 | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |