Home
last modified time | relevance | path

Searched refs:state_val (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.4/drivers/iio/common/hid-sensors/
Dhid-sensor-trigger.c96 int state_val; in _hid_sensor_power_state() local
106 state_val = hid_sensor_get_usage_index(st->hsdev, in _hid_sensor_power_state()
124 state_val = hid_sensor_get_usage_index(st->hsdev, in _hid_sensor_power_state()
134 if (state_val >= 0) { in _hid_sensor_power_state()
135 state_val += st->power_state.logical_minimum; in _hid_sensor_power_state()
137 st->power_state.index, sizeof(state_val), in _hid_sensor_power_state()
138 &state_val); in _hid_sensor_power_state()
150 st->pdev->name, state_val, report_val); in _hid_sensor_power_state()
154 sizeof(state_val), &state_val); in _hid_sensor_power_state()