Lines Matching refs:hsdev

159 	ret = sensor_hub_get_feature(st->hsdev,  in hid_sensor_read_poll_value()
180 ret = sensor_hub_get_feature(st->hsdev, in hid_sensor_read_samp_freq_value()
219 ret = sensor_hub_set_feature(st->hsdev, st->poll.report_id, in hid_sensor_write_samp_freq_value()
224 ret = sensor_hub_get_feature(st->hsdev, in hid_sensor_write_samp_freq_value()
242 ret = sensor_hub_get_feature(st->hsdev, in hid_sensor_read_raw_hyst_value()
265 ret = sensor_hub_get_feature(st->hsdev, in hid_sensor_read_raw_hyst_rel_value()
294 ret = sensor_hub_set_feature(st->hsdev, st->sensitivity.report_id, in hid_sensor_write_raw_hyst_value()
300 ret = sensor_hub_get_feature(st->hsdev, in hid_sensor_write_raw_hyst_value()
325 ret = sensor_hub_set_feature(st->hsdev, st->sensitivity_rel.report_id, in hid_sensor_write_raw_hyst_rel_value()
331 ret = sensor_hub_get_feature(st->hsdev, in hid_sensor_write_raw_hyst_rel_value()
436 int hid_sensor_get_reporting_interval(struct hid_sensor_hub_device *hsdev, in hid_sensor_get_reporting_interval() argument
440 sensor_hub_input_get_attribute_info(hsdev, in hid_sensor_get_reporting_interval()
454 static void hid_sensor_get_report_latency_info(struct hid_sensor_hub_device *hsdev, in hid_sensor_get_report_latency_info() argument
458 sensor_hub_input_get_attribute_info(hsdev, HID_FEATURE_REPORT, in hid_sensor_get_report_latency_info()
463 hid_dbg(hsdev->hdev, "Report latency attributes: %x:%x\n", in hid_sensor_get_report_latency_info()
472 ret = sensor_hub_get_feature(st->hsdev, st->report_latency.report_id, in hid_sensor_get_report_latency()
484 return sensor_hub_set_feature(st->hsdev, st->report_latency.report_id, in hid_sensor_set_report_latency()
496 int hid_sensor_parse_common_attributes(struct hid_sensor_hub_device *hsdev, in hid_sensor_parse_common_attributes() argument
508 hid_sensor_get_reporting_interval(hsdev, usage_id, st); in hid_sensor_parse_common_attributes()
510 sensor_hub_input_get_attribute_info(hsdev, in hid_sensor_parse_common_attributes()
515 sensor_hub_input_get_attribute_info(hsdev, in hid_sensor_parse_common_attributes()
523 sensor_hub_input_get_attribute_info(hsdev, in hid_sensor_parse_common_attributes()
528 sensor_hub_input_get_attribute_info(hsdev, in hid_sensor_parse_common_attributes()
539 hsdev, HID_FEATURE_REPORT, usage_id, in hid_sensor_parse_common_attributes()
546 hsdev, HID_FEATURE_REPORT, usage_id, in hid_sensor_parse_common_attributes()
554 sensor_hub_input_get_attribute_info(hsdev, in hid_sensor_parse_common_attributes()
567 hid_sensor_get_report_latency_info(hsdev, usage_id, st); in hid_sensor_parse_common_attributes()
569 hid_dbg(hsdev->hdev, "common attributes: %x:%x, %x:%x, %x:%x %x:%x %x:%x\n", in hid_sensor_parse_common_attributes()
576 ret = sensor_hub_get_feature(hsdev, in hid_sensor_parse_common_attributes()