Lines Matching refs:hsdev
114 struct hid_sensor_hub_device *hsdev; in hinge_read_raw() local
118 hsdev = st->common_attributes.hsdev; in hinge_read_raw()
129 *val = sensor_hub_input_attr_get_raw_value(st->common_attributes.hsdev, in hinge_read_raw()
130 hsdev->usage, in hinge_read_raw()
192 static int hinge_proc_event(struct hid_sensor_hub_device *hsdev, in hinge_proc_event() argument
211 static int hinge_capture_sample(struct hid_sensor_hub_device *hsdev, in hinge_capture_sample() argument
237 struct hid_sensor_hub_device *hsdev, in hinge_parse_report() argument
245 ret = sensor_hub_input_get_attribute_info(hsdev, in hinge_parse_report()
268 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_hinge_probe() local
279 st->common_attributes.hsdev = hsdev; in hid_hinge_probe()
285 ret = hid_sensor_parse_common_attributes(hsdev, hsdev->usage, in hid_hinge_probe()
300 ret = hinge_parse_report(pdev, hsdev, in hid_hinge_probe()
302 hsdev->usage, st); in hid_hinge_probe()
323 ret = sensor_hub_register_callback(hsdev, hsdev->usage, &st->callbacks); in hid_hinge_probe()
338 sensor_hub_remove_callback(hsdev, hsdev->usage); in hid_hinge_probe()
347 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_hinge_remove() local
352 sensor_hub_remove_callback(hsdev, hsdev->usage); in hid_hinge_remove()