Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/hid/hid-sensor-hub.c hid_sensor_get_usage_index() -> sensor_hub_report()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | hdev->driver_input_lock.first_waiter->up | 0-1 |
| PARAM_VALUE | 2 | dir | 2 |
| DATA_SOURCE | 0 | id | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &sensor_inst->mutex |
drivers/hid/hid-sensor-hub.c sensor_hub_get_feature() -> sensor_hub_report()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | hdev | 4096-ptr_max |
| PARAM_VALUE | 1 | hdev->driver_input_lock.first_waiter->up | 0-1 |
| PARAM_VALUE | 2 | dir | 2 |
| DATA_SOURCE | 0 | id | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &data->mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct sensor_hub_data)->mutex |
drivers/hid/hid-sensor-hub.c sensor_hub_input_attr_get_raw_value() -> sensor_hub_report()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | hdev | 4096-ptr_max |
| PARAM_VALUE | 2 | dir | 0 |
| DATA_SOURCE | 0 | id | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex |
drivers/hid/hid-sensor-hub.c sensor_hub_input_attr_read_values() -> sensor_hub_report()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | hdev | 4096-ptr_max |
| PARAM_VALUE | 2 | dir | 0 |
| DATA_SOURCE | 0 | id | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/hid/hid-sensor-hub.c sensor_hub_set_feature() -> sensor_hub_report()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | hdev | 4096-ptr_max |
| PARAM_VALUE | 1 | hdev->driver_input_lock.first_waiter->up | 0-1 |
| PARAM_VALUE | 2 | dir | 2 |
| DATA_SOURCE | 0 | id | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &data->mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &sensor_inst->mutex | ||
| TYPE_LOCK | (struct sensor_hub_data)->mutex |