/linux/include/linux/ |
H A D | hid-sensor-hub.h | 57 * struct hid_sensor_hub_device - Stores the hub instance data 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, 139 int sensor_hub_remove_callback(struct hid_sensor_hub_device *hsde [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 *hsde 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 *hsde in hid_sensor_register_platform_device() [all...] |
/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() 142 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() 197 struct hid_sensor_hub_device *hsdev = dev_get_platdata(&pdev->dev); in hid_temperature_probe() 263 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() 188 static int press_capture_sample(struct hid_sensor_hub_device *hsdev, in press_capture_sample() 215 struct hid_sensor_hub_device *hsdev, in press_parse_report() 245 struct hid_sensor_hub_device *hsdev = dev_get_platdata(&pdev->dev); in hid_press_probe() 329 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 | 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() 331 struct hid_sensor_hub_device *hsdev = dev_get_platdata(&pdev->dev); in hid_accel_3d_probe() 426 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 | 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() 282 struct hid_sensor_hub_device *hsdev = dev_get_platdata(&pdev->dev); in hid_gyro_3d_probe() 364 struct hid_sensor_hub_device *hsdev = dev_get_platdata(&pdev->dev); in hid_gyro_3d_remove()
|
/linux/drivers/iio/light/ |
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() 359 struct hid_sensor_hub_device *hsdev = dev_get_platdata(&pdev->dev); in hid_als_probe() 441 struct hid_sensor_hub_device *hsdev = dev_get_platdata(&pdev->dev); in hid_als_remove()
|
/linux/drivers/iio/orientation/ |
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() 302 struct hid_sensor_hub_device *hsdev = dev_get_platdata(&pdev->dev); in hid_incl_3d_probe() 388 struct hid_sensor_hub_device *hsdev = dev_get_platdata(&pdev->dev); in hid_incl_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() 469 struct hid_sensor_hub_device *hsdev = dev_get_platdata(&pdev->dev); in hid_magn_3d_probe() 552 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,
|
/linux/drivers/iio/common/hid-sensors/ |
H A D | hid-sensor-attributes.c | 440 int hid_sensor_get_reporting_interval(struct hid_sensor_hub_device *hsdev, in hid_sensor_get_reporting_interval() 458 static void hid_sensor_get_report_latency_info(struct hid_sensor_hub_device *hsdev, in hid_sensor_get_report_latency_info() 500 int hid_sensor_parse_common_attributes(struct hid_sensor_hub_device *hsdev, in hid_sensor_parse_common_attributes()
|