/linux-4.1.27/include/linux/ |
D | hid-sensor-hub.h | 80 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-4.1.27/drivers/hid/ |
D | hid-sensor-hub.c | 63 struct hid_sensor_hub_device *hsdev; 114 struct hid_sensor_hub_device **hsdev, in sensor_hub_get_callback() 140 int sensor_hub_register_callback(struct hid_sensor_hub_device *hsdev, in sensor_hub_register_callback() 182 int sensor_hub_remove_callback(struct hid_sensor_hub_device *hsdev, in sensor_hub_remove_callback() 203 int sensor_hub_set_feature(struct hid_sensor_hub_device *hsdev, u32 report_id, in sensor_hub_set_feature() 245 int sensor_hub_get_feature(struct hid_sensor_hub_device *hsdev, u32 report_id, in sensor_hub_get_feature() 282 int sensor_hub_input_attr_get_raw_value(struct hid_sensor_hub_device *hsdev, in sensor_hub_input_attr_get_raw_value() 337 int hid_sensor_get_usage_index(struct hid_sensor_hub_device *hsdev, in hid_sensor_get_usage_index() 359 int sensor_hub_input_get_attribute_info(struct hid_sensor_hub_device *hsdev, in sensor_hub_input_get_attribute_info() 466 struct hid_sensor_hub_device *hsdev = NULL; in sensor_hub_raw_event() [all …]
|
D | hid-sensor-custom.c | 46 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-4.1.27/drivers/rtc/ |
D | rtc-hid-sensor-time.c | 62 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-4.1.27/drivers/iio/orientation/ |
D | hid-sensor-rotation.c | 141 static int dev_rot_proc_event(struct hid_sensor_hub_device *hsdev, in dev_rot_proc_event() 158 static int dev_rot_capture_sample(struct hid_sensor_hub_device *hsdev, in dev_rot_capture_sample() 178 struct hid_sensor_hub_device *hsdev, in dev_rot_parse_report() 224 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_dev_rot_probe() 312 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_dev_rot_remove()
|
D | hid-sensor-incl-3d.c | 202 static int incl_3d_proc_event(struct hid_sensor_hub_device *hsdev, in incl_3d_proc_event() 219 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() 317 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_incl_3d_probe() 407 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_incl_3d_remove()
|
/linux-4.1.27/drivers/iio/pressure/ |
D | hid-sensor-press.c | 177 static int press_proc_event(struct hid_sensor_hub_device *hsdev, in press_proc_event() 194 static int press_capture_sample(struct hid_sensor_hub_device *hsdev, in press_capture_sample() 217 struct hid_sensor_hub_device *hsdev, in press_parse_report() 262 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_press_probe() 350 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_press_remove()
|
/linux-4.1.27/drivers/iio/light/ |
D | hid-sensor-prox.c | 173 static int prox_proc_event(struct hid_sensor_hub_device *hsdev, in prox_proc_event() 190 static int prox_capture_sample(struct hid_sensor_hub_device *hsdev, in prox_capture_sample() 213 struct hid_sensor_hub_device *hsdev, in prox_parse_report() 253 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_prox_probe() 340 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() 220 struct hid_sensor_hub_device *hsdev, in als_parse_report() 265 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_als_probe() 351 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_als_remove()
|
/linux-4.1.27/drivers/iio/accel/ |
D | hid-sensor-accel-3d.c | 203 static int accel_3d_proc_event(struct hid_sensor_hub_device *hsdev, in accel_3d_proc_event() 220 static int accel_3d_capture_sample(struct hid_sensor_hub_device *hsdev, in accel_3d_capture_sample() 248 struct hid_sensor_hub_device *hsdev, in accel_3d_parse_report() 301 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_accel_3d_probe() 390 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_accel_3d_remove()
|
/linux-4.1.27/drivers/iio/gyro/ |
D | hid-sensor-gyro-3d.c | 203 static int gyro_3d_proc_event(struct hid_sensor_hub_device *hsdev, in gyro_3d_proc_event() 220 static int gyro_3d_capture_sample(struct hid_sensor_hub_device *hsdev, in gyro_3d_capture_sample() 248 struct hid_sensor_hub_device *hsdev, in gyro_3d_parse_report() 300 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_gyro_3d_probe() 387 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_gyro_3d_remove()
|
/linux-4.1.27/drivers/iio/magnetometer/ |
D | hid-sensor-magn-3d.c | 249 static int magn_3d_proc_event(struct hid_sensor_hub_device *hsdev, in magn_3d_proc_event() 264 static int magn_3d_capture_sample(struct hid_sensor_hub_device *hsdev, in magn_3d_capture_sample() 305 struct hid_sensor_hub_device *hsdev, in magn_3d_parse_report() 419 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_magn_3d_probe() 501 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_magn_3d_remove()
|
/linux-4.1.27/Documentation/hid/ |
D | hid-sensor.txt | 87 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-4.1.27/drivers/iio/common/hid-sensors/ |
D | hid-sensor-attributes.c | 347 int hid_sensor_get_reporting_interval(struct hid_sensor_hub_device *hsdev, in hid_sensor_get_reporting_interval() 362 int hid_sensor_parse_common_attributes(struct hid_sensor_hub_device *hsdev, in hid_sensor_parse_common_attributes()
|