/Linux-v5.10/include/linux/ |
D | hid-sensor-hub.h | 67 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/ |
D | hid-sensor-hub.c | 51 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 …]
|
D | hid-sensor-custom.c | 38 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/ |
D | hid-sensor-temperature.c | 119 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/ |
D | hid-sensor-humidity.c | 121 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/ |
D | rtc-hid-sensor-time.c | 49 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/ |
D | hid-sensor-rotation.c | 145 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()
|
D | hid-sensor-incl-3d.c | 189 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/ |
D | hid-sensor-prox.c | 160 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()
|
D | hid-sensor-als.c | 180 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/ |
D | hid-sensor-press.c | 164 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/ |
D | hid-sensor-accel-3d.c | 138 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/ |
D | hid-sensor-gyro-3d.c | 190 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/ |
D | hid-sensor-magn-3d.c | 284 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/ |
D | hid-sensor.rst | 94 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/ |
D | hid-sensor-attributes.c | 387 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()
|