Lines Matching refs:hsdev
89 struct hid_sensor_hub_device *hsdev = als_state->common_attributes.hsdev; in als_read_raw() local
114 hsdev, hsdev->usage, address, report_id, in als_read_raw()
189 static int als_proc_event(struct hid_sensor_hub_device *hsdev, in als_proc_event() argument
210 static int als_capture_sample(struct hid_sensor_hub_device *hsdev, in als_capture_sample() argument
239 struct hid_sensor_hub_device *hsdev, in als_parse_report() argument
246 ret = sensor_hub_input_get_attribute_info(hsdev, HID_INPUT_REPORT, in als_parse_report()
273 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_als_probe() local
281 als_state->common_attributes.hsdev = hsdev; in hid_als_probe()
284 ret = hid_sensor_parse_common_attributes(hsdev, in hid_als_probe()
285 hsdev->usage, in hid_als_probe()
301 ret = als_parse_report(pdev, hsdev, in hid_als_probe()
303 hsdev->usage, in hid_als_probe()
334 ret = sensor_hub_register_callback(hsdev, hsdev->usage, &als_state->callbacks); in hid_als_probe()
352 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_als_remove() local
356 sensor_hub_remove_callback(hsdev, hsdev->usage); in hid_als_remove()