Home
last modified time | relevance | path

Searched refs:hid_sensor_hub_device (Results 1 – 16 of 16) sorted by relevance

/Linux-v4.19/include/linux/
Dhid-sensor-hub.h80 struct hid_sensor_hub_device { struct
102 int (*suspend)(struct hid_sensor_hub_device *hsdev, void *priv); argument
103 int (*resume)(struct hid_sensor_hub_device *hsdev, void *priv);
104 int (*capture_sample)(struct hid_sensor_hub_device *hsdev,
107 int (*send_event)(struct hid_sensor_hub_device *hsdev, u32 usage_id,
117 int sensor_hub_device_open(struct hid_sensor_hub_device *hsdev);
125 void sensor_hub_device_close(struct hid_sensor_hub_device *hsdev);
139 int sensor_hub_register_callback(struct hid_sensor_hub_device *hsdev,
151 int sensor_hub_remove_callback(struct hid_sensor_hub_device *hsdev,
168 int sensor_hub_input_get_attribute_info(struct hid_sensor_hub_device *hsdev,
[all …]
/Linux-v4.19/drivers/hid/
Dhid-sensor-hub.c64 struct hid_sensor_hub_device *hsdev;
115 struct hid_sensor_hub_device **hsdev, in sensor_hub_get_callback()
141 int sensor_hub_register_callback(struct hid_sensor_hub_device *hsdev, in sensor_hub_register_callback()
183 int sensor_hub_remove_callback(struct hid_sensor_hub_device *hsdev, in sensor_hub_remove_callback()
204 int sensor_hub_set_feature(struct hid_sensor_hub_device *hsdev, u32 report_id, in sensor_hub_set_feature()
247 int sensor_hub_get_feature(struct hid_sensor_hub_device *hsdev, u32 report_id, in sensor_hub_get_feature()
299 int sensor_hub_input_attr_get_raw_value(struct hid_sensor_hub_device *hsdev, in sensor_hub_input_attr_get_raw_value()
354 int hid_sensor_get_usage_index(struct hid_sensor_hub_device *hsdev, in hid_sensor_get_usage_index()
376 int sensor_hub_input_get_attribute_info(struct hid_sensor_hub_device *hsdev, in sensor_hub_input_get_attribute_info()
483 struct hid_sensor_hub_device *hsdev = NULL; in sensor_hub_raw_event()
[all …]
Dhid-sensor-custom.c46 struct hid_sensor_hub_device *hsdev;
424 static int hid_sensor_capture_sample(struct hid_sensor_hub_device *hsdev, in hid_sensor_capture_sample()
466 static int hid_sensor_send_event(struct hid_sensor_hub_device *hsdev, in hid_sensor_send_event()
543 struct hid_sensor_hub_device *hsdev = sensor_inst->hsdev; in hid_sensor_custom_add_fields()
572 struct hid_sensor_hub_device *hsdev = sensor_inst->hsdev; in hid_sensor_custom_add_attributes()
764 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_sensor_custom_probe()
815 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_sensor_custom_remove()
/Linux-v4.19/drivers/iio/humidity/
Dhid-sensor-humidity.c133 static int humidity_proc_event(struct hid_sensor_hub_device *hsdev, in humidity_proc_event()
148 static int humidity_capture_sample(struct hid_sensor_hub_device *hsdev, in humidity_capture_sample()
167 struct hid_sensor_hub_device *hsdev, in humidity_parse_report()
212 struct hid_sensor_hub_device *hsdev = dev_get_platdata(&pdev->dev); in hid_humidity_probe()
281 struct hid_sensor_hub_device *hsdev = dev_get_platdata(&pdev->dev); in hid_humidity_remove()
/Linux-v4.19/drivers/iio/temperature/
Dhid-sensor-temperature.c131 static int temperature_proc_event(struct hid_sensor_hub_device *hsdev, in temperature_proc_event()
146 static int temperature_capture_sample(struct hid_sensor_hub_device *hsdev, in temperature_capture_sample()
164 struct hid_sensor_hub_device *hsdev, in temperature_parse_report()
209 struct hid_sensor_hub_device *hsdev = dev_get_platdata(&pdev->dev); in hid_temperature_probe()
278 struct hid_sensor_hub_device *hsdev = dev_get_platdata(&pdev->dev); in hid_temperature_remove()
/Linux-v4.19/drivers/rtc/
Drtc-hid-sensor-time.c62 static int hid_time_proc_event(struct hid_sensor_hub_device *hsdev, in hid_time_proc_event()
89 static int hid_time_capture_sample(struct hid_sensor_hub_device *hsdev, in hid_time_capture_sample()
148 struct hid_sensor_hub_device *hsdev, in hid_time_parse_report()
239 struct hid_sensor_hub_device *hsdev = dev_get_platdata(&pdev->dev); in hid_time_probe()
313 struct hid_sensor_hub_device *hsdev = dev_get_platdata(&pdev->dev); in hid_time_remove()
/Linux-v4.19/drivers/iio/light/
Dhid-sensor-prox.c172 static int prox_proc_event(struct hid_sensor_hub_device *hsdev, in prox_proc_event()
189 static int prox_capture_sample(struct hid_sensor_hub_device *hsdev, in prox_capture_sample()
212 struct hid_sensor_hub_device *hsdev, in prox_parse_report()
259 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_prox_probe()
345 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_prox_remove()
Dhid-sensor-als.c193 static int als_proc_event(struct hid_sensor_hub_device *hsdev, in als_proc_event()
210 static int als_capture_sample(struct hid_sensor_hub_device *hsdev, in als_capture_sample()
235 struct hid_sensor_hub_device *hsdev, in als_parse_report()
282 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_als_probe()
368 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_als_remove()
/Linux-v4.19/drivers/iio/orientation/
Dhid-sensor-rotation.c155 static int dev_rot_proc_event(struct hid_sensor_hub_device *hsdev, in dev_rot_proc_event()
172 static int dev_rot_capture_sample(struct hid_sensor_hub_device *hsdev, in dev_rot_capture_sample()
192 struct hid_sensor_hub_device *hsdev, in dev_rot_parse_report()
243 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_dev_rot_probe()
343 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_dev_rot_remove()
Dhid-sensor-incl-3d.c201 static int incl_3d_proc_event(struct hid_sensor_hub_device *hsdev, in incl_3d_proc_event()
218 static int incl_3d_capture_sample(struct hid_sensor_hub_device *hsdev, in incl_3d_capture_sample()
247 struct hid_sensor_hub_device *hsdev, in incl_3d_parse_report()
316 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_incl_3d_probe()
406 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_incl_3d_remove()
/Linux-v4.19/drivers/iio/pressure/
Dhid-sensor-press.c176 static int press_proc_event(struct hid_sensor_hub_device *hsdev, in press_proc_event()
193 static int press_capture_sample(struct hid_sensor_hub_device *hsdev, in press_capture_sample()
216 struct hid_sensor_hub_device *hsdev, in press_parse_report()
261 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_press_probe()
349 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_press_remove()
/Linux-v4.19/drivers/iio/accel/
Dhid-sensor-accel-3d.c152 struct hid_sensor_hub_device *hsdev = in accel_3d_read_raw()
241 static int accel_3d_proc_event(struct hid_sensor_hub_device *hsdev, in accel_3d_proc_event()
265 static int accel_3d_capture_sample(struct hid_sensor_hub_device *hsdev, in accel_3d_capture_sample()
299 struct hid_sensor_hub_device *hsdev, in accel_3d_parse_report()
355 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_accel_3d_probe()
450 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_accel_3d_remove()
/Linux-v4.19/drivers/iio/gyro/
Dhid-sensor-gyro-3d.c202 static int gyro_3d_proc_event(struct hid_sensor_hub_device *hsdev, in gyro_3d_proc_event()
219 static int gyro_3d_capture_sample(struct hid_sensor_hub_device *hsdev, in gyro_3d_capture_sample()
247 struct hid_sensor_hub_device *hsdev, in gyro_3d_parse_report()
299 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_gyro_3d_probe()
385 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_gyro_3d_remove()
/Linux-v4.19/drivers/iio/magnetometer/
Dhid-sensor-magn-3d.c297 static int magn_3d_proc_event(struct hid_sensor_hub_device *hsdev, in magn_3d_proc_event()
312 static int magn_3d_capture_sample(struct hid_sensor_hub_device *hsdev, in magn_3d_capture_sample()
353 struct hid_sensor_hub_device *hsdev, in magn_3d_parse_report()
494 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_magn_3d_probe()
577 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_magn_3d_remove()
/Linux-v4.19/Documentation/hid/
Dhid-sensor.txt87 int sensor_hub_register_callback(struct hid_sensor_hub_device *hsdev,
95 int sensor_hub_remove_callback(struct hid_sensor_hub_device *hsdev,
102 int sensor_hub_input_get_attribute_info(struct hid_sensor_hub_device *hsdev,
114 int sensor_hub_set_feature(struct hid_sensor_hub_device *hsdev, u32 report_id,
123 int sensor_hub_get_feature(struct hid_sensor_hub_device *hsdev, u32 report_id,
132 int sensor_hub_input_attr_get_raw_value(struct hid_sensor_hub_device *hsdev,
/Linux-v4.19/drivers/iio/common/hid-sensors/
Dhid-sensor-attributes.c395 int hid_sensor_get_reporting_interval(struct hid_sensor_hub_device *hsdev, in hid_sensor_get_reporting_interval()
413 static void hid_sensor_get_report_latency_info(struct hid_sensor_hub_device *hsdev, in hid_sensor_get_report_latency_info()
455 int hid_sensor_parse_common_attributes(struct hid_sensor_hub_device *hsdev, in hid_sensor_parse_common_attributes()