Lines Matching refs:hsdev
85 prox_state->common_attributes.hsdev, in prox_read_raw()
164 static int prox_proc_event(struct hid_sensor_hub_device *hsdev, in prox_proc_event() argument
181 static int prox_capture_sample(struct hid_sensor_hub_device *hsdev, in prox_capture_sample() argument
204 struct hid_sensor_hub_device *hsdev, in prox_parse_report() argument
211 ret = sensor_hub_input_get_attribute_info(hsdev, HID_INPUT_REPORT, in prox_parse_report()
225 sensor_hub_input_get_attribute_info(hsdev, in prox_parse_report()
235 sensor_hub_input_get_attribute_info(hsdev, in prox_parse_report()
242 hsdev->usage, in prox_parse_report()
256 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_prox_probe() local
265 prox_state->common_attributes.hsdev = hsdev; in hid_prox_probe()
268 ret = hid_sensor_parse_common_attributes(hsdev, HID_USAGE_SENSOR_PROX, in hid_prox_probe()
282 ret = prox_parse_report(pdev, hsdev, in hid_prox_probe()
313 ret = sensor_hub_register_callback(hsdev, HID_USAGE_SENSOR_PROX, in hid_prox_probe()
334 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_prox_remove() local
338 sensor_hub_remove_callback(hsdev, HID_USAGE_SENSOR_PROX); in hid_prox_remove()