Home
last modified time | relevance | path

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

/Linux-v5.10/include/linux/
Dhid-sensor-hub.h67 struct hid_sensor_hub_device { struct
89 int (*suspend)(struct hid_sensor_hub_device *hsdev, void *priv); argument
90 int (*resume)(struct hid_sensor_hub_device *hsdev, void *priv);
91 int (*capture_sample)(struct hid_sensor_hub_device *hsdev,
94 int (*send_event)(struct hid_sensor_hub_device *hsdev, u32 usage_id,
104 int sensor_hub_device_open(struct hid_sensor_hub_device *hsdev);
112 void sensor_hub_device_close(struct hid_sensor_hub_device *hsdev);
126 int sensor_hub_register_callback(struct hid_sensor_hub_device *hsdev,
138 int sensor_hub_remove_callback(struct hid_sensor_hub_device *hsdev,
155 int sensor_hub_input_get_attribute_info(struct hid_sensor_hub_device *hsdev,
[all …]
/Linux-v5.10/drivers/hid/
Dhid-sensor-hub.c51 struct hid_sensor_hub_device *hsdev;
102 struct hid_sensor_hub_device **hsdev, in sensor_hub_get_callback()
128 int sensor_hub_register_callback(struct hid_sensor_hub_device *hsdev, in sensor_hub_register_callback()
170 int sensor_hub_remove_callback(struct hid_sensor_hub_device *hsdev, in sensor_hub_remove_callback()
191 int sensor_hub_set_feature(struct hid_sensor_hub_device *hsdev, u32 report_id, in sensor_hub_set_feature()
234 int sensor_hub_get_feature(struct hid_sensor_hub_device *hsdev, u32 report_id, in sensor_hub_get_feature()
286 int sensor_hub_input_attr_get_raw_value(struct hid_sensor_hub_device *hsdev, in sensor_hub_input_attr_get_raw_value()
348 int hid_sensor_get_usage_index(struct hid_sensor_hub_device *hsdev, in hid_sensor_get_usage_index()
370 int sensor_hub_input_get_attribute_info(struct hid_sensor_hub_device *hsdev, in sensor_hub_input_get_attribute_info()
477 struct hid_sensor_hub_device *hsdev = NULL; in sensor_hub_raw_event()
[all …]
Dhid-sensor-custom.c38 struct hid_sensor_hub_device *hsdev;
412 static int hid_sensor_capture_sample(struct hid_sensor_hub_device *hsdev, in hid_sensor_capture_sample()
454 static int hid_sensor_send_event(struct hid_sensor_hub_device *hsdev, in hid_sensor_send_event()
531 struct hid_sensor_hub_device *hsdev = sensor_inst->hsdev; in hid_sensor_custom_add_fields()
560 struct hid_sensor_hub_device *hsdev = sensor_inst->hsdev; in hid_sensor_custom_add_attributes()
752 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_sensor_custom_probe()
803 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_sensor_custom_remove()
/Linux-v5.10/drivers/iio/temperature/
Dhid-sensor-temperature.c119 static int temperature_proc_event(struct hid_sensor_hub_device *hsdev, in temperature_proc_event()
134 static int temperature_capture_sample(struct hid_sensor_hub_device *hsdev, in temperature_capture_sample()
152 struct hid_sensor_hub_device *hsdev, in temperature_parse_report()
197 struct hid_sensor_hub_device *hsdev = dev_get_platdata(&pdev->dev); in hid_temperature_probe()
261 struct hid_sensor_hub_device *hsdev = dev_get_platdata(&pdev->dev); in hid_temperature_remove()
/Linux-v5.10/drivers/iio/humidity/
Dhid-sensor-humidity.c121 static int humidity_proc_event(struct hid_sensor_hub_device *hsdev, in humidity_proc_event()
136 static int humidity_capture_sample(struct hid_sensor_hub_device *hsdev, in humidity_capture_sample()
155 struct hid_sensor_hub_device *hsdev, in humidity_parse_report()
200 struct hid_sensor_hub_device *hsdev = dev_get_platdata(&pdev->dev); in hid_humidity_probe()
264 struct hid_sensor_hub_device *hsdev = dev_get_platdata(&pdev->dev); in hid_humidity_remove()
/Linux-v5.10/drivers/rtc/
Drtc-hid-sensor-time.c49 static int hid_time_proc_event(struct hid_sensor_hub_device *hsdev, in hid_time_proc_event()
76 static int hid_time_capture_sample(struct hid_sensor_hub_device *hsdev, in hid_time_capture_sample()
135 struct hid_sensor_hub_device *hsdev, in hid_time_parse_report()
225 struct hid_sensor_hub_device *hsdev = dev_get_platdata(&pdev->dev); in hid_time_probe()
299 struct hid_sensor_hub_device *hsdev = dev_get_platdata(&pdev->dev); in hid_time_remove()
/Linux-v5.10/drivers/iio/orientation/
Dhid-sensor-rotation.c145 static int dev_rot_proc_event(struct hid_sensor_hub_device *hsdev, in dev_rot_proc_event()
162 static int dev_rot_capture_sample(struct hid_sensor_hub_device *hsdev, in dev_rot_capture_sample()
182 struct hid_sensor_hub_device *hsdev, in dev_rot_parse_report()
233 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_dev_rot_probe()
325 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_dev_rot_remove()
Dhid-sensor-incl-3d.c189 static int incl_3d_proc_event(struct hid_sensor_hub_device *hsdev, in incl_3d_proc_event()
206 static int incl_3d_capture_sample(struct hid_sensor_hub_device *hsdev, in incl_3d_capture_sample()
235 struct hid_sensor_hub_device *hsdev, in incl_3d_parse_report()
304 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_incl_3d_probe()
386 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_incl_3d_remove()
/Linux-v5.10/drivers/iio/light/
Dhid-sensor-prox.c160 static int prox_proc_event(struct hid_sensor_hub_device *hsdev, in prox_proc_event()
177 static int prox_capture_sample(struct hid_sensor_hub_device *hsdev, in prox_capture_sample()
200 struct hid_sensor_hub_device *hsdev, in prox_parse_report()
247 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_prox_probe()
325 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_prox_remove()
Dhid-sensor-als.c180 static int als_proc_event(struct hid_sensor_hub_device *hsdev, in als_proc_event()
197 static int als_capture_sample(struct hid_sensor_hub_device *hsdev, in als_capture_sample()
222 struct hid_sensor_hub_device *hsdev, in als_parse_report()
269 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_als_probe()
347 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_als_remove()
/Linux-v5.10/drivers/iio/pressure/
Dhid-sensor-press.c164 static int press_proc_event(struct hid_sensor_hub_device *hsdev, in press_proc_event()
181 static int press_capture_sample(struct hid_sensor_hub_device *hsdev, in press_capture_sample()
204 struct hid_sensor_hub_device *hsdev, in press_parse_report()
249 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_press_probe()
329 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_press_remove()
/Linux-v5.10/drivers/iio/accel/
Dhid-sensor-accel-3d.c138 struct hid_sensor_hub_device *hsdev = in accel_3d_read_raw()
229 static int accel_3d_proc_event(struct hid_sensor_hub_device *hsdev, in accel_3d_proc_event()
253 static int accel_3d_capture_sample(struct hid_sensor_hub_device *hsdev, in accel_3d_capture_sample()
287 struct hid_sensor_hub_device *hsdev, in accel_3d_parse_report()
343 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_accel_3d_probe()
430 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_accel_3d_remove()
/Linux-v5.10/drivers/iio/gyro/
Dhid-sensor-gyro-3d.c190 static int gyro_3d_proc_event(struct hid_sensor_hub_device *hsdev, in gyro_3d_proc_event()
207 static int gyro_3d_capture_sample(struct hid_sensor_hub_device *hsdev, in gyro_3d_capture_sample()
235 struct hid_sensor_hub_device *hsdev, in gyro_3d_parse_report()
287 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_gyro_3d_probe()
365 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_gyro_3d_remove()
/Linux-v5.10/drivers/iio/magnetometer/
Dhid-sensor-magn-3d.c284 static int magn_3d_proc_event(struct hid_sensor_hub_device *hsdev, in magn_3d_proc_event()
299 static int magn_3d_capture_sample(struct hid_sensor_hub_device *hsdev, in magn_3d_capture_sample()
340 struct hid_sensor_hub_device *hsdev, in magn_3d_parse_report()
481 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_magn_3d_probe()
556 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_magn_3d_remove()
/Linux-v5.10/Documentation/hid/
Dhid-sensor.rst94 int sensor_hub_register_callback(struct hid_sensor_hub_device *hsdev,
102 int sensor_hub_remove_callback(struct hid_sensor_hub_device *hsdev,
110 int sensor_hub_input_get_attribute_info(struct hid_sensor_hub_device *hsdev,
123 int sensor_hub_set_feature(struct hid_sensor_hub_device *hsdev, u32 report_id,
132 int sensor_hub_get_feature(struct hid_sensor_hub_device *hsdev, u32 report_id,
141 int sensor_hub_input_attr_get_raw_value(struct hid_sensor_hub_device *hsdev,
/Linux-v5.10/drivers/iio/common/hid-sensors/
Dhid-sensor-attributes.c387 int hid_sensor_get_reporting_interval(struct hid_sensor_hub_device *hsdev, in hid_sensor_get_reporting_interval()
405 static void hid_sensor_get_report_latency_info(struct hid_sensor_hub_device *hsdev, in hid_sensor_get_report_latency_info()
447 int hid_sensor_parse_common_attributes(struct hid_sensor_hub_device *hsdev, in hid_sensor_parse_common_attributes()