Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/iio/common/hid-sensors/
Dhid-sensor-trigger.c87 int report_val; in _hid_sensor_power_state() local
100 report_val = hid_sensor_get_usage_index(st->hsdev, in _hid_sensor_power_state()
118 report_val = hid_sensor_get_usage_index(st->hsdev, in _hid_sensor_power_state()
131 if (report_val >= 0) { in _hid_sensor_power_state()
132 report_val += st->report_state.logical_minimum; in _hid_sensor_power_state()
135 sizeof(report_val), in _hid_sensor_power_state()
136 &report_val); in _hid_sensor_power_state()
140 st->pdev->name, state_val, report_val); in _hid_sensor_power_state()
/Linux-v5.15/drivers/hid/
Dhid-sensor-custom.c164 int report_val = -1; in set_power_report_state() local
192 report_val = hid_sensor_get_usage_index(sensor_inst->hsdev, in set_power_report_state()
212 if (report_val >= 0) { in set_power_report_state()
213 report_val += in set_power_report_state()
218 sizeof(report_val), in set_power_report_state()
219 &report_val); in set_power_report_state()