Lines Matching refs:hsdev
138 struct hid_sensor_hub_device *hsdev = als_state->common_attributes.hsdev; in als_read_raw() local
178 hsdev, hsdev->usage, address, report_id, in als_read_raw()
253 static int als_proc_event(struct hid_sensor_hub_device *hsdev, in als_proc_event() argument
274 static int als_capture_sample(struct hid_sensor_hub_device *hsdev, in als_capture_sample() argument
316 struct hid_sensor_hub_device *hsdev, in als_parse_report() argument
327 ret = sensor_hub_input_get_attribute_info(hsdev, in als_parse_report()
363 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_als_probe() local
371 als_state->common_attributes.hsdev = hsdev; in hid_als_probe()
374 ret = hid_sensor_parse_common_attributes(hsdev, in hid_als_probe()
375 hsdev->usage, in hid_als_probe()
384 ret = als_parse_report(pdev, hsdev, in hid_als_probe()
385 hsdev->usage, in hid_als_probe()
423 ret = sensor_hub_register_callback(hsdev, hsdev->usage, &als_state->callbacks); in hid_als_probe()
441 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_als_remove() local
445 sensor_hub_remove_callback(hsdev, hsdev->usage); in hid_als_remove()