| /linux/include/linux/ |
| H A D | hid-sensor-hub.h | 71 struct hid_sensor_hub_device { struct 93 int (*suspend)(struct hid_sensor_hub_device *hsdev, void *priv); argument 94 int (*resume)(struct hid_sensor_hub_device *hsdev, void *priv); 95 int (*capture_sample)(struct hid_sensor_hub_device *hsdev, 98 int (*send_event)(struct hid_sensor_hub_device *hsdev, u32 usage_id, 108 int sensor_hub_device_open(struct hid_sensor_hub_device *hsdev); 116 void sensor_hub_device_close(struct hid_sensor_hub_device *hsdev); 130 int sensor_hub_register_callback(struct hid_sensor_hub_device *hsdev, 143 int sensor_hub_remove_callback(struct hid_sensor_hub_device *hsdev, 160 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() 297 int sensor_hub_input_attr_read_values(struct hid_sensor_hub_device *hsdev, in sensor_hub_input_attr_read_values() 346 int sensor_hub_input_attr_get_raw_value(struct hid_sensor_hub_device *hsdev, in sensor_hub_input_attr_get_raw_value() 408 int hid_sensor_get_usage_index(struct hid_sensor_hub_device *hsdev, in hid_sensor_get_usage_index() 430 int sensor_hub_input_get_attribute_info(struct hid_sensor_hub_device *hsdev, in sensor_hub_input_get_attribute_info() [all …]
|
| /linux/drivers/iio/light/ |
| H A D | hid-sensor-prox.c | 76 struct hid_sensor_hub_device *hsdev; in prox_read_raw() 164 static int prox_proc_event(struct hid_sensor_hub_device *hsdev, in prox_proc_event() 180 static int prox_capture_sample(struct hid_sensor_hub_device *hsdev, in prox_capture_sample() 216 struct hid_sensor_hub_device *hsdev, in prox_parse_report() 263 struct hid_sensor_hub_device *hsdev = dev_get_platdata(&pdev->dev); in hid_prox_probe() 337 struct hid_sensor_hub_device *hsdev = dev_get_platdata(&pdev->dev); in hid_prox_remove()
|
| H A D | hid-sensor-als.c | 126 struct hid_sensor_hub_device *hsdev = als_state->common_attributes.hsdev; in als_read_raw() 241 static int als_proc_event(struct hid_sensor_hub_device *hsdev, in als_proc_event() 262 static int als_capture_sample(struct hid_sensor_hub_device *hsdev, in als_capture_sample() 304 struct hid_sensor_hub_device *hsdev, in als_parse_report() 351 struct hid_sensor_hub_device *hsdev = dev_get_platdata(&pdev->dev); in hid_als_probe() 433 struct hid_sensor_hub_device *hsdev = dev_get_platdata(&pdev->dev); in hid_als_remove()
|
| /linux/drivers/iio/position/ |
| H A D | hid-sensor-custom-intel-hinge.c | 113 struct hid_sensor_hub_device *hsdev; in hinge_read_raw() 191 static int hinge_proc_event(struct hid_sensor_hub_device *hsdev, in hinge_proc_event() 210 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() 266 struct hid_sensor_hub_device *hsdev = dev_get_platdata(&pdev->dev); in hid_hinge_probe() 347 struct hid_sensor_hub_device *hsdev = dev_get_platdata(&pdev->dev); in hid_hinge_remove()
|
| /linux/drivers/iio/humidity/ |
| H A D | hid-sensor-humidity.c | 128 static int humidity_proc_event(struct hid_sensor_hub_device *hsdev, in humidity_proc_event() 142 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 | 126 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() 160 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/orientation/ |
| H A D | hid-sensor-rotation.c | 87 struct hid_sensor_hub_device *hsdev = rot_state->common_attributes.hsdev; in dev_rot_read_raw() 210 static int dev_rot_proc_event(struct hid_sensor_hub_device *hsdev, in dev_rot_proc_event() 242 static int dev_rot_capture_sample(struct hid_sensor_hub_device *hsdev, in dev_rot_capture_sample() 273 struct hid_sensor_hub_device *hsdev, in dev_rot_parse_report() 304 struct hid_sensor_hub_device *hsdev = dev_get_platdata(&pdev->dev); in hid_dev_rot_probe() 394 struct hid_sensor_hub_device *hsdev = dev_get_platdata(&pdev->dev); in hid_dev_rot_remove()
|
| H A D | hid-sensor-incl-3d.c | 186 static int incl_3d_proc_event(struct hid_sensor_hub_device *hsdev, in incl_3d_proc_event() 208 static int incl_3d_capture_sample(struct hid_sensor_hub_device *hsdev, in incl_3d_capture_sample() 242 struct hid_sensor_hub_device *hsdev, in incl_3d_parse_report() 296 struct hid_sensor_hub_device *hsdev = dev_get_platdata(&pdev->dev); in hid_incl_3d_probe() 382 struct hid_sensor_hub_device *hsdev = dev_get_platdata(&pdev->dev); in hid_incl_3d_remove()
|
| /linux/drivers/iio/pressure/ |
| H A D | hid-sensor-press.c | 153 static int press_proc_event(struct hid_sensor_hub_device *hsdev, in press_proc_event() 173 static int press_capture_sample(struct hid_sensor_hub_device *hsdev, in press_capture_sample() 200 struct hid_sensor_hub_device *hsdev, in press_parse_report() 233 struct hid_sensor_hub_device *hsdev = dev_get_platdata(&pdev->dev); in hid_press_probe() 316 struct hid_sensor_hub_device *hsdev = dev_get_platdata(&pdev->dev); in hid_press_remove()
|
| /linux/drivers/iio/accel/ |
| H A D | hid-sensor-accel-3d.c | 132 struct hid_sensor_hub_device *hsdev = in accel_3d_read_raw() 221 static int accel_3d_proc_event(struct hid_sensor_hub_device *hsdev, in accel_3d_proc_event() 244 static int accel_3d_capture_sample(struct hid_sensor_hub_device *hsdev, in accel_3d_capture_sample() 279 struct hid_sensor_hub_device *hsdev, in accel_3d_parse_report() 317 struct hid_sensor_hub_device *hsdev = dev_get_platdata(&pdev->dev); in hid_accel_3d_probe() 412 struct hid_sensor_hub_device *hsdev = dev_get_platdata(&pdev->dev); in hid_accel_3d_remove()
|
| /linux/drivers/iio/gyro/ |
| H A D | hid-sensor-gyro-3d.c | 174 static int gyro_3d_proc_event(struct hid_sensor_hub_device *hsdev, in gyro_3d_proc_event() 195 static int gyro_3d_capture_sample(struct hid_sensor_hub_device *hsdev, in gyro_3d_capture_sample() 229 struct hid_sensor_hub_device *hsdev, in gyro_3d_parse_report() 267 struct hid_sensor_hub_device *hsdev = dev_get_platdata(&pdev->dev); in hid_gyro_3d_probe() 349 struct hid_sensor_hub_device *hsdev = dev_get_platdata(&pdev->dev); in hid_gyro_3d_remove()
|
| /linux/drivers/iio/magnetometer/ |
| H A D | hid-sensor-magn-3d.c | 267 static int magn_3d_proc_event(struct hid_sensor_hub_device *hsdev, in magn_3d_proc_event() 288 static int magn_3d_capture_sample(struct hid_sensor_hub_device *hsdev, in magn_3d_capture_sample() 334 struct hid_sensor_hub_device *hsdev, in magn_3d_parse_report() 453 struct hid_sensor_hub_device *hsdev = dev_get_platdata(&pdev->dev); in hid_magn_3d_probe() 536 struct hid_sensor_hub_device *hsdev = dev_get_platdata(&pdev->dev); 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,
|