Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 13 files:
- drivers/hid/hid-sensor-custom.c, line 350
- drivers/hid/hid-sensor-hub.c, line 398
- drivers/iio/accel/hid-sensor-accel-3d.c, line 144
- drivers/iio/gyro/hid-sensor-gyro-3d.c, line 105
- drivers/iio/humidity/hid-sensor-humidity.c, line 67
- drivers/iio/light/hid-sensor-als.c, line 165
- drivers/iio/light/hid-sensor-prox.c, line 94
- drivers/iio/magnetometer/hid-sensor-magn-3d.c, line 155
- drivers/iio/orientation/hid-sensor-incl-3d.c, line 117
- drivers/iio/position/hid-sensor-custom-intel-hinge.c, line 128
- drivers/iio/pressure/hid-sensor-press.c, line 84
- drivers/iio/temperature/hid-sensor-temperature.c, line 68
- drivers/rtc/rtc-hid-sensor-time.c, line 200
Smatch caller information:
drivers/iio/temperature/hid-sensor-temperature.c temperature_read_raw() -> sensor_hub_input_attr_get_raw_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | usage_id | 2097203 |
| PARAM_VALUE | 2 | attr_usage_id | 2098228 |
| PARAM_VALUE | 4 | flag | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/iio/orientation/hid-sensor-incl-3d.c incl_3d_read_raw() -> sensor_hub_input_attr_get_raw_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | usage_id | 2097286 |
| PARAM_VALUE | 2 | attr_usage_id | 2098303-2098305 |
| PARAM_VALUE | 3 | report_id | 0-s32max |
| PARAM_VALUE | 4 | flag | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/iio/light/hid-sensor-prox.c prox_read_raw() -> sensor_hub_input_attr_get_raw_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hsdev | 4096-ptr_max |
| PARAM_VALUE | 2 | attr_usage_id | 2098353-2098354,2098365 |
| PARAM_VALUE | 4 | flag | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/iio/light/hid-sensor-als.c als_read_raw() -> sensor_hub_input_attr_get_raw_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hsdev | 4096-ptr_max |
| PARAM_VALUE | 2 | attr_usage_id | 2098385-2098386,2098388-2098389 |
| PARAM_VALUE | 3 | report_id | 0-s32max |
| PARAM_VALUE | 4 | flag | 0 |
| FUZZY_MAX | 2 | attr_usage_id | 2098389 |
| BIT_INFO | 2 | attr_usage_id | 0x2004d0,0x2004d7 |
| HARD_MAX | 2 | attr_usage_id | 2098389 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/iio/magnetometer/hid-sensor-magn-3d.c magn_3d_read_raw() -> sensor_hub_input_attr_get_raw_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | usage_id | 2097283 |
| PARAM_VALUE | 2 | attr_usage_id | 2098293-2098296,2098309-2098311,2098473 |
| PARAM_VALUE | 3 | report_id | 0-s32max |
| PARAM_VALUE | 4 | flag | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/iio/position/hid-sensor-custom-intel-hinge.c hinge_read_raw() -> sensor_hub_input_attr_get_raw_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hsdev | 4096-ptr_max |
| PARAM_VALUE | 2 | attr_usage_id | 2098500-2098502 |
| PARAM_VALUE | 3 | report_id | 0-s32max |
| PARAM_VALUE | 4 | flag | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/iio/accel/hid-sensor-accel-3d.c accel_3d_read_raw() -> sensor_hub_input_attr_get_raw_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hsdev | 4096-ptr_max |
| PARAM_VALUE | 2 | attr_usage_id | 2098259-2098261 |
| PARAM_VALUE | 3 | report_id | 0-s32max |
| PARAM_VALUE | 4 | flag | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/hid/hid-sensor-custom.c show_value() -> sensor_hub_input_attr_get_raw_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hsdev | 4096-ptr_max |
| PARAM_VALUE | 4 | flag | 0 |
| PARAM_VALUE | 5 | is_signed | 0 |
| 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/humidity/hid-sensor-humidity.c humidity_read_raw() -> sensor_hub_input_attr_get_raw_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | usage_id | 2097202 |
| PARAM_VALUE | 2 | attr_usage_id | 2098227 |
| PARAM_VALUE | 4 | flag | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/rtc/rtc-hid-sensor-time.c hid_rtc_read_time() -> sensor_hub_input_attr_get_raw_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | usage_id | 2097312 |
| PARAM_VALUE | 2 | attr_usage_id | 2098465 |
| PARAM_VALUE | 4 | flag | 0 |
| PARAM_VALUE | 5 | is_signed | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &rtc->ops_lock |
drivers/iio/gyro/hid-sensor-gyro-3d.c gyro_3d_read_raw() -> sensor_hub_input_attr_get_raw_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | usage_id | 2097270 |
| PARAM_VALUE | 2 | attr_usage_id | 2098263-2098265 |
| PARAM_VALUE | 3 | report_id | 0-s32max |
| PARAM_VALUE | 4 | flag | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/iio/pressure/hid-sensor-press.c press_read_raw() -> sensor_hub_input_attr_get_raw_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | usage_id | 2097201 |
| PARAM_VALUE | 2 | attr_usage_id | 2098225 |
| PARAM_VALUE | 3 | report_id | 0-s32max |
| PARAM_VALUE | 4 | flag | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock |