Home
last modified time | relevance | path

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

/drivers/iio/common/hid-sensors/
Dhid-sensor-trigger.c35 int report_val; in _hid_sensor_power_state() local
48 report_val = hid_sensor_get_usage_index(st->hsdev, in _hid_sensor_power_state()
66 report_val = hid_sensor_get_usage_index(st->hsdev, in _hid_sensor_power_state()
79 if (report_val >= 0) { in _hid_sensor_power_state()
80 report_val += st->report_state.logical_minimum; in _hid_sensor_power_state()
83 sizeof(report_val), in _hid_sensor_power_state()
84 &report_val); in _hid_sensor_power_state()
88 st->pdev->name, state_val, report_val); in _hid_sensor_power_state()
/drivers/hid/
Dhid-sensor-custom.c170 int report_val = -1; in set_power_report_state() local
198 report_val = hid_sensor_get_usage_index(sensor_inst->hsdev, in set_power_report_state()
218 if (report_val >= 0) { in set_power_report_state()
219 report_val += in set_power_report_state()
224 sizeof(report_val), in set_power_report_state()
225 &report_val); in set_power_report_state()