Lines Matching refs:poll
160 st->poll.report_id, in hid_sensor_read_poll_value()
161 st->poll.index, sizeof(value), &value); in hid_sensor_read_poll_value()
166 if (st->poll.units == HID_USAGE_SENSOR_UNITS_SECOND) in hid_sensor_read_poll_value()
181 st->poll.report_id, in hid_sensor_read_samp_freq_value()
182 st->poll.index, sizeof(value), &value); in hid_sensor_read_samp_freq_value()
187 if (st->poll.units == HID_USAGE_SENSOR_UNITS_MILLISECOND) in hid_sensor_read_samp_freq_value()
189 else if (st->poll.units == HID_USAGE_SENSOR_UNITS_SECOND) in hid_sensor_read_samp_freq_value()
212 if (st->poll.units == HID_USAGE_SENSOR_UNITS_MILLISECOND) in hid_sensor_write_samp_freq_value()
214 else if (st->poll.units == HID_USAGE_SENSOR_UNITS_SECOND) in hid_sensor_write_samp_freq_value()
219 ret = sensor_hub_set_feature(st->hsdev, st->poll.report_id, in hid_sensor_write_samp_freq_value()
220 st->poll.index, sizeof(value), &value); in hid_sensor_write_samp_freq_value()
225 st->poll.report_id, in hid_sensor_write_samp_freq_value()
226 st->poll.index, sizeof(value), &value); in hid_sensor_write_samp_freq_value()
443 &st->poll); in hid_sensor_get_reporting_interval()
445 if (st->poll.units == 0) in hid_sensor_get_reporting_interval()
446 st->poll.units = HID_USAGE_SENSOR_UNITS_MILLISECOND; in hid_sensor_get_reporting_interval()
570 st->poll.index, st->poll.report_id, in hid_sensor_parse_common_attributes()