Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/common/hid-sensors/
H A 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()
/openbmc/linux/drivers/hid/
H A Dhid-sensor-custom.c165 int report_val = -1; in set_power_report_state() local
193 report_val = hid_sensor_get_usage_index(sensor_inst->hsdev, in set_power_report_state()
213 if (report_val >= 0) { in set_power_report_state()
214 report_val += in set_power_report_state()
219 sizeof(report_val), in set_power_report_state()
220 &report_val); in set_power_report_state()