/linux/include/linux/ |
H A 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/drivers/hid/ |
H A D | hid-sensor-hub.c | 50 struct hid_sensor_hub_device *hsdev; 101 struct hid_sensor_hub_device **hsdev, in sensor_hub_get_callback() 127 int sensor_hub_register_callback(struct hid_sensor_hub_device *hsdev, in sensor_hub_register_callback() 169 int sensor_hub_remove_callback(struct hid_sensor_hub_device *hsdev, in sensor_hub_remove_callback() 190 int sensor_hub_set_feature(struct hid_sensor_hub_device *hsdev, u32 report_id, in sensor_hub_set_feature() 238 int sensor_hub_get_feature(struct hid_sensor_hub_device *hsdev, u32 report_id, in sensor_hub_get_feature() 290 int sensor_hub_input_attr_get_raw_value(struct hid_sensor_hub_device *hsdev, in sensor_hub_input_attr_get_raw_value() 352 int hid_sensor_get_usage_index(struct hid_sensor_hub_device *hsdev, in hid_sensor_get_usage_index() 374 int sensor_hub_input_get_attribute_info(struct hid_sensor_hub_device *hsdev, in sensor_hub_input_get_attribute_info() 482 struct hid_sensor_hub_device *hsdev = NULL; in sensor_hub_raw_event() [all …]
|
H A D | hid-sensor-custom.c | 41 struct hid_sensor_hub_device *hsdev; 416 static int hid_sensor_capture_sample(struct hid_sensor_hub_device *hsdev, in hid_sensor_capture_sample() 458 static int hid_sensor_send_event(struct hid_sensor_hub_device *hsdev, in hid_sensor_send_event() 535 struct hid_sensor_hub_device *hsdev = sensor_inst->hsdev; in hid_sensor_custom_add_fields() 564 struct hid_sensor_hub_device *hsdev = sensor_inst->hsdev; in hid_sensor_custom_add_attributes() 823 static int hid_sensor_custom_get_prop(struct hid_sensor_hub_device *hsdev, in hid_sensor_custom_get_prop() 850 hid_sensor_custom_do_match(struct hid_sensor_hub_device *hsdev, in hid_sensor_custom_do_match() 878 hid_sensor_custom_properties_get(struct hid_sensor_hub_device *hsdev, in hid_sensor_custom_properties_get() 907 hid_sensor_custom_get_known(struct hid_sensor_hub_device *hsdev, in hid_sensor_custom_get_known() 939 struct hid_sensor_hub_device *hsdev, in hid_sensor_register_platform_device() [all …]
|
/linux/drivers/iio/light/ |
H A D | hid-sensor-prox.c | 64 struct hid_sensor_hub_device *hsdev; in prox_read_raw() 165 static int prox_proc_event(struct hid_sensor_hub_device *hsdev, in prox_proc_event() 182 static int prox_capture_sample(struct hid_sensor_hub_device *hsdev, in prox_capture_sample() 211 struct hid_sensor_hub_device *hsdev, in prox_parse_report() 240 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_prox_probe() 318 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_prox_remove()
|
H A D | hid-sensor-als.c | 138 struct hid_sensor_hub_device *hsdev = als_state->common_attributes.hsdev; in als_read_raw() 253 static int als_proc_event(struct hid_sensor_hub_device *hsdev, in als_proc_event() 274 static int als_capture_sample(struct hid_sensor_hub_device *hsdev, in als_capture_sample() 316 struct hid_sensor_hub_device *hsdev, in als_parse_report() 363 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_als_probe() 441 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_als_remove()
|
/linux/drivers/iio/position/ |
H A D | hid-sensor-custom-intel-hinge.c | 114 struct hid_sensor_hub_device *hsdev; in hinge_read_raw() 192 static int hinge_proc_event(struct hid_sensor_hub_device *hsdev, in hinge_proc_event() 211 static int hinge_capture_sample(struct hid_sensor_hub_device *hsdev, in hinge_capture_sample() 237 struct hid_sensor_hub_device *hsdev, in hinge_parse_report() 268 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_hinge_probe() 347 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_hinge_remove()
|
/linux/drivers/iio/humidity/ |
H A D | hid-sensor-humidity.c | 129 static int humidity_proc_event(struct hid_sensor_hub_device *hsdev, in humidity_proc_event() 143 static int humidity_capture_sample(struct hid_sensor_hub_device *hsdev, in humidity_capture_sample() 162 struct hid_sensor_hub_device *hsdev, in humidity_parse_report() 199 struct hid_sensor_hub_device *hsdev = dev_get_platdata(&pdev->dev); in hid_humidity_probe() 265 struct hid_sensor_hub_device *hsdev = dev_get_platdata(&pdev->dev); in hid_humidity_remove()
|
/linux/drivers/iio/temperature/ |
H A D | hid-sensor-temperature.c | 127 static int temperature_proc_event(struct hid_sensor_hub_device *hsdev, in temperature_proc_event() 141 static int temperature_capture_sample(struct hid_sensor_hub_device *hsdev, in temperature_capture_sample() 159 struct hid_sensor_hub_device *hsdev, in temperature_parse_report() 196 struct hid_sensor_hub_device *hsdev = dev_get_platdata(&pdev->dev); in hid_temperature_probe() 262 struct hid_sensor_hub_device *hsdev = dev_get_platdata(&pdev->dev); in hid_temperature_remove()
|
/linux/drivers/rtc/ |
H A 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() 301 struct hid_sensor_hub_device *hsdev = dev_get_platdata(&pdev->dev); in hid_time_remove()
|
/linux/drivers/iio/pressure/ |
H A D | hid-sensor-press.c | 167 static int press_proc_event(struct hid_sensor_hub_device *hsdev, in press_proc_event() 187 static int press_capture_sample(struct hid_sensor_hub_device *hsdev, in press_capture_sample() 214 struct hid_sensor_hub_device *hsdev, in press_parse_report() 248 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_press_probe() 328 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_press_remove()
|
/linux/drivers/iio/orientation/ |
H A D | hid-sensor-rotation.c | 145 static int dev_rot_proc_event(struct hid_sensor_hub_device *hsdev, in dev_rot_proc_event() 167 static int dev_rot_capture_sample(struct hid_sensor_hub_device *hsdev, in dev_rot_capture_sample() 198 struct hid_sensor_hub_device *hsdev, in dev_rot_parse_report() 237 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_dev_rot_probe() 332 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_dev_rot_remove()
|
H A D | hid-sensor-incl-3d.c | 191 static int incl_3d_proc_event(struct hid_sensor_hub_device *hsdev, in incl_3d_proc_event() 214 static int incl_3d_capture_sample(struct hid_sensor_hub_device *hsdev, in incl_3d_capture_sample() 248 struct hid_sensor_hub_device *hsdev, in incl_3d_parse_report() 306 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_incl_3d_probe() 388 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_incl_3d_remove()
|
/linux/drivers/iio/accel/ |
H A D | hid-sensor-accel-3d.c | 144 struct hid_sensor_hub_device *hsdev = in accel_3d_read_raw() 235 static int accel_3d_proc_event(struct hid_sensor_hub_device *hsdev, in accel_3d_proc_event() 259 static int accel_3d_capture_sample(struct hid_sensor_hub_device *hsdev, in accel_3d_capture_sample() 294 struct hid_sensor_hub_device *hsdev, in accel_3d_parse_report() 338 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_accel_3d_probe() 427 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_accel_3d_remove()
|
/linux/drivers/iio/gyro/ |
H A D | hid-sensor-gyro-3d.c | 189 static int gyro_3d_proc_event(struct hid_sensor_hub_device *hsdev, in gyro_3d_proc_event() 211 static int gyro_3d_capture_sample(struct hid_sensor_hub_device *hsdev, in gyro_3d_capture_sample() 245 struct hid_sensor_hub_device *hsdev, in gyro_3d_parse_report() 286 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_gyro_3d_probe() 364 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_gyro_3d_remove()
|
/linux/drivers/iio/magnetometer/ |
H A D | hid-sensor-magn-3d.c | 282 static int magn_3d_proc_event(struct hid_sensor_hub_device *hsdev, in magn_3d_proc_event() 304 static int magn_3d_capture_sample(struct hid_sensor_hub_device *hsdev, in magn_3d_capture_sample() 350 struct hid_sensor_hub_device *hsdev, in magn_3d_parse_report() 473 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_magn_3d_probe() 552 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_magn_3d_remove()
|
/linux/Documentation/hid/ |
H A 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/drivers/iio/common/hid-sensors/ |
H A D | hid-sensor-attributes.c | 436 int hid_sensor_get_reporting_interval(struct hid_sensor_hub_device *hsdev, in hid_sensor_get_reporting_interval() 454 static void hid_sensor_get_report_latency_info(struct hid_sensor_hub_device *hsdev, in hid_sensor_get_report_latency_info() 496 int hid_sensor_parse_common_attributes(struct hid_sensor_hub_device *hsdev, in hid_sensor_parse_common_attributes()
|