Lines Matching refs:hsdev
62 temp_st->common_attributes.hsdev, in temperature_read_raw()
119 static int temperature_proc_event(struct hid_sensor_hub_device *hsdev, in temperature_proc_event() argument
134 static int temperature_capture_sample(struct hid_sensor_hub_device *hsdev, in temperature_capture_sample() argument
152 struct hid_sensor_hub_device *hsdev, in temperature_parse_report() argument
159 ret = sensor_hub_input_get_attribute_info(hsdev, HID_INPUT_REPORT, in temperature_parse_report()
176 sensor_hub_input_get_attribute_info(hsdev, in temperature_parse_report()
197 struct hid_sensor_hub_device *hsdev = dev_get_platdata(&pdev->dev); in hid_temperature_probe() local
205 temp_st->common_attributes.hsdev = hsdev; in hid_temperature_probe()
208 ret = hid_sensor_parse_common_attributes(hsdev, in hid_temperature_probe()
219 ret = temperature_parse_report(pdev, hsdev, temp_chans, in hid_temperature_probe()
240 ret = sensor_hub_register_callback(hsdev, HID_USAGE_SENSOR_TEMPERATURE, in hid_temperature_probe()
252 sensor_hub_remove_callback(hsdev, HID_USAGE_SENSOR_TEMPERATURE); in hid_temperature_probe()
261 struct hid_sensor_hub_device *hsdev = dev_get_platdata(&pdev->dev); in hid_temperature_remove() local
265 sensor_hub_remove_callback(hsdev, HID_USAGE_SENSOR_TEMPERATURE); in hid_temperature_remove()