Home
last modified time | relevance | path

Searched refs:report_id (Results 1 – 25 of 51) sorted by relevance

123

/linux/drivers/hid/amd-sfh-hid/hid_descriptor/
H A Damd_sfh_hid_desc.c128 static void get_common_features(struct common_feature_property *common, int report_id) in get_common_features() argument
130 common->report_id = report_id; in get_common_features()
138 static u8 get_feature_report(int sensor_idx, int report_id, u8 *feature_report) in get_feature_report() argument
152 get_common_features(&acc_feature.common_property, report_id); in get_feature_report()
160 get_common_features(&gyro_feature.common_property, report_id); in get_feature_report()
168 get_common_features(&magno_feature.common_property, report_id); in get_feature_report()
180 get_common_features(&als_feature.common_property, report_id); in get_feature_report()
188 get_common_features(&hpd_feature.common_property, report_id); in get_feature_report()
199 static void get_common_inputs(struct common_input_property *common, int report_id) in get_common_inputs() argument
201 common->report_id = report_id; in get_common_inputs()
[all …]
H A Damd_sfh_hid_desc.h22 u8 report_id; member
32 u8 report_id; member
/linux/drivers/hid/amd-sfh-hid/sfh1_1/
H A Damd_sfh_desc.c61 static void get_common_features(struct common_feature_property *common, int report_id) in get_common_features() argument
63 common->report_id = report_id; in get_common_features()
71 static u8 get_feature_rep(int sensor_idx, int report_id, u8 *feature_report) in get_feature_rep() argument
85 get_common_features(&acc_feature.common_property, report_id); in get_feature_rep()
93 get_common_features(&gyro_feature.common_property, report_id); in get_feature_rep()
101 get_common_features(&magno_feature.common_property, report_id); in get_feature_rep()
112 get_common_features(&als_feature.common_property, report_id); in get_feature_rep()
120 get_common_features(&hpd_feature.common_property, report_id); in get_feature_rep()
128 static void get_common_inputs(struct common_input_property *common, int report_id) in get_common_inputs() argument
130 common->report_id = report_id; in get_common_inputs()
[all …]
/linux/drivers/input/touchscreen/
H A Dsis_i2c.c112 u8 report_id; in sis_read_packet() local
129 report_id = buf[SIS_PKT_REPORT_OFFSET]; in sis_read_packet()
133 if (report_id != SIS_ALL_IN_ONE_PACKAGE) { in sis_read_packet()
134 if (SIS_PKT_IS_TOUCH(report_id)) { in sis_read_packet()
152 } else if (!SIS_PKT_IS_HIDI2C(report_id)) { in sis_read_packet()
155 __func__, report_id); in sis_read_packet()
159 if (SIS_PKT_HAS_SCANTIME(report_id)) in sis_read_packet()
162 if (SIS_PKT_HAS_AREA(report_id)) in sis_read_packet()
164 if (SIS_PKT_HAS_PRESSURE(report_id)) in sis_read_packet()
231 u8 report_id; in sis_ts_handle_packet() local
[all …]
/linux/drivers/iio/light/
H A Dhid-sensor-als.c127 int report_id = -1; in als_read_raw() local
139 report_id = als_state->als[chan->scan_index].report_id; in als_read_raw()
144 report_id = als_state->als[chan->scan_index].report_id; in als_read_raw()
149 report_id = als_state->als[chan->scan_index].report_id; in als_read_raw()
154 report_id = als_state->als[chan->scan_index].report_id; in als_read_raw()
159 report_id = -1; in als_read_raw()
162 if (report_id >= 0) { in als_read_raw()
166 hsdev, hsdev->usage, address, report_id, in als_read_raw()
337 st->als[i].report_id); in als_parse_report()
H A Dhid-sensor-prox.c77 int report_id; in prox_read_raw() local
90 report_id = prox_state->prox_attr[chan->scan_index].report_id; in prox_read_raw()
97 report_id, in prox_read_raw()
244 st->prox_attr[index].report_id); in prox_parse_report()
/linux/drivers/hid/
H A Dhid-roccat-common.c16 static inline uint16_t roccat_common2_feature_report(uint8_t report_id) in roccat_common2_feature_report() argument
18 return 0x300 | report_id; in roccat_common2_feature_report()
21 int roccat_common2_receive(struct usb_device *usb_dev, uint report_id, in roccat_common2_receive() argument
34 roccat_common2_feature_report(report_id), in roccat_common2_receive()
43 int roccat_common2_send(struct usb_device *usb_dev, uint report_id, in roccat_common2_send() argument
56 roccat_common2_feature_report(report_id), in roccat_common2_send()
H A Dhid-sensor-hub.c86 s32 index, s32 report_id, struct hid_field *field) in sensor_hub_fill_attr_info() argument
89 info->report_id = report_id; in sensor_hub_fill_attr_info()
190 int sensor_hub_set_feature(struct hid_sensor_hub_device *hsdev, u32 report_id, in sensor_hub_set_feature() argument
202 report = sensor_hub_report(report_id, hsdev->hdev, HID_FEATURE_REPORT); 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() argument
257 report = sensor_hub_report(report_id, hsdev->hdev, HID_FEATURE_REPORT); in sensor_hub_get_feature()
299 u32 report_id, in sensor_hub_input_attr_read_values() argument
309 report = sensor_hub_report(report_id, hsdev->hdev, HID_INPUT_REPORT); in sensor_hub_input_attr_read_values()
348 u32 attr_usage_id, u32 report_id, in sensor_hub_input_attr_get_raw_value() argument
357 report = sensor_hub_report(report_id, hsdev->hdev, in sensor_hub_input_attr_get_raw_value()
[all …]
H A Dhid-steam.c434 u8 *data, int size, u8 report_id) in steam_recv_report_id() argument
449 r = steam->hdev->report_enum[HID_FEATURE_REPORT].report_id_hash[report_id]; in steam_recv_report_id()
451 hid_err(steam->hdev, "No HID_FEATURE_REPORT present for ID %u\n", report_id); in steam_recv_report_id()
479 ret = hid_hw_raw_request(steam->hdev, report_id, in steam_recv_report_id()
518 u8 *cmd, int size, u8 report_id) in steam_send_report_id() argument
526 r = steam->hdev->report_enum[HID_FEATURE_REPORT].report_id_hash[report_id]; in steam_send_report_id()
528 hid_err(steam->hdev, "No HID_FEATURE_REPORT present for ID %u\n", report_id); in steam_send_report_id()
541 buf[0] = report_id; in steam_send_report_id()
556 ret = hid_hw_raw_request(steam->hdev, report_id, in steam_send_report_id()
578 u8 report_id; in steam_send_report() local
[all …]
H A Dhid-roccat-common.h25 int roccat_common2_receive(struct usb_device *usb_dev, uint report_id,
27 int roccat_common2_send(struct usb_device *usb_dev, uint report_id,
/linux/include/linux/
H A Dhid-sensor-hub.h29 s32 report_id; member
185 u32 attr_usage_id, u32 report_id,
207 u32 report_id,
222 int sensor_hub_set_feature(struct hid_sensor_hub_device *hsdev, u32 report_id,
238 int sensor_hub_get_feature(struct hid_sensor_hub_device *hsdev, u32 report_id,
295 u32 report_id, int field_index, u32 usage_id);
/linux/drivers/hid/amd-sfh-hid/
H A Damd_sfh_hid.h21 u8 report_id; member
49 u8 report_id[MAX_HID_DEVICES]; member
78 int amd_sfh_get_report(struct hid_device *hid, int report_id, int report_type);
79 void amd_sfh_set_report(struct hid_device *hid, int report_id, int report_type);
H A Damd_sfh_common.h94 u8 (*get_feat_rep)(int sensor_idx, int report_id, u8 *feature_report);
95 u8 (*get_in_rep)(u8 current_index, int sensor_idx, int report_id,
/linux/drivers/iio/gyro/
H A Dhid-sensor-gyro-3d.c91 int report_id = -1; in gyro_3d_read_raw() local
101 report_id = gyro_state->gyro[chan->scan_index].report_id; in gyro_3d_read_raw()
104 if (report_id >= 0) in gyro_3d_read_raw()
108 report_id, in gyro_3d_read_raw()
252 st->gyro[0].report_id, in gyro_3d_parse_report()
253 st->gyro[1].index, st->gyro[1].report_id, in gyro_3d_parse_report()
254 st->gyro[2].index, st->gyro[2].report_id); in gyro_3d_parse_report()
/linux/drivers/rtc/
H A Drtc-hid-sensor-time.c139 int report_id, i; in hid_time_parse_report() local
148 report_id = time_state->info[0].report_id; in hid_time_parse_report()
149 if (report_id < 0) { in hid_time_parse_report()
154 if (time_state->info[i].report_id != report_id) { in hid_time_parse_report()
202 time_state->info[0].report_id, SENSOR_HUB_SYNC, false); in hid_rtc_read_time()
/linux/drivers/iio/pressure/
H A Dhid-sensor-press.c62 int report_id = -1; in press_read_raw() local
73 report_id = press_state->press_attr.report_id; in press_read_raw()
78 report_id = -1; in press_read_raw()
81 if (report_id >= 0) { in press_read_raw()
87 report_id, in press_read_raw()
220 st->press_attr.report_id); in press_parse_report()
/linux/drivers/hid/i2c-hid/
H A Di2c-hid-core.c247 int report_type, int report_id) in i2c_hid_encode_command() argument
251 if (report_id < 0x0F) { in i2c_hid_encode_command()
252 buf[length++] = report_type << 4 | report_id; in i2c_hid_encode_command()
257 buf[length++] = report_id; in i2c_hid_encode_command()
264 u8 report_type, u8 report_id, in i2c_hid_get_report() argument
281 report_type, report_id); in i2c_hid_get_report()
314 if (report_id && recv_len != 0 && recv_buf[0] != report_id) { in i2c_hid_get_report()
317 recv_buf[0], report_id); in i2c_hid_get_report()
324 static size_t i2c_hid_format_report(u8 *buf, int report_id, in i2c_hid_format_report() argument
329 if (report_id) in i2c_hid_format_report()
[all …]
/linux/drivers/iio/orientation/
H A Dhid-sensor-incl-3d.c103 int report_id = -1; in incl_3d_read_raw() local
113 report_id = incl_state->incl[chan->scan_index].report_id; in incl_3d_read_raw()
116 if (report_id >= 0) in incl_3d_read_raw()
120 report_id, in incl_3d_read_raw()
281 st->incl[0].report_id, in incl_3d_parse_report()
282 st->incl[1].index, st->incl[1].report_id, in incl_3d_parse_report()
283 st->incl[2].index, st->incl[2].report_id); in incl_3d_parse_report()
/linux/drivers/hid/usbhid/
H A Dhiddev.c58 unsigned int flags = rinfo->report_id & ~HID_REPORT_ID_MASK; in hiddev_lookup_report()
59 unsigned int rid = rinfo->report_id & HID_REPORT_ID_MASK; in hiddev_lookup_report()
81 rinfo->report_id = report->id; in hiddev_lookup_report()
94 rinfo->report_id = report->id; in hiddev_lookup_report()
101 return report_enum->report_id_hash[rinfo->report_id]; in hiddev_lookup_report()
128 uref->report_id = report->id; in hiddev_lookup_usage()
176 uref.report_id = field->report->id; in hiddev_hid_event()
196 uref.report_id = report->id; in hiddev_report_event()
453 rinfo.report_id = uref->report_id; in hiddev_ioctl_usage()
481 if (uref->report_id == HID_REPORT_ID_UNKNOWN) { in hiddev_ioctl_usage()
[all …]
/linux/drivers/iio/accel/
H A Dhid-sensor-accel-3d.c128 int report_id = -1; in accel_3d_read_raw() local
140 report_id = accel_state->accel[chan->scan_index].report_id; in accel_3d_read_raw()
143 if (report_id >= 0) in accel_3d_read_raw()
146 hsdev->usage, address, report_id, in accel_3d_read_raw()
302 st->accel[0].report_id, in accel_3d_parse_report()
303 st->accel[1].index, st->accel[1].report_id, in accel_3d_parse_report()
304 st->accel[2].index, st->accel[2].report_id); in accel_3d_parse_report()
/linux/drivers/iio/magnetometer/
H A Dhid-sensor-magn-3d.c141 int report_id = -1; in magn_3d_read_raw() local
151 report_id = magn_state->magn[chan->address].report_id; in magn_3d_read_raw()
154 if (report_id >= 0) in magn_3d_read_raw()
158 report_id, in magn_3d_read_raw()
368 st->magn[0].report_id, in magn_3d_parse_report()
369 st->magn[1].index, st->magn[1].report_id, in magn_3d_parse_report()
370 st->magn[2].index, st->magn[2].report_id); in magn_3d_parse_report()
444 st->rot_attributes.sensitivity.report_id); in magn_3d_parse_report()
/linux/include/uapi/linux/
H A Dhiddev.h68 __u32 report_id; member
93 __u32 report_id; member
123 __u32 report_id; member
/linux/drivers/platform/x86/tuxedo/nb04/
H A Dwmi_ab.c476 const u8 report_id; member
506 const u8 report_id; member
524 const u8 report_id; member
591 const u8 report_id; member
676 const u8 report_id; member
688 .report_id = LAMP_MULTI_UPDATE_REPORT_ID, in handle_lamp_range_update_report()
744 const u8 report_id; member
/linux/drivers/iio/position/
H A Dhid-sensor-custom-intel-hinge.c114 int report_id; in hinge_read_raw() local
121 report_id = st->hinge[chan->scan_index].report_id; in hinge_read_raw()
123 if (report_id < 0) { in hinge_read_raw()
131 report_id, in hinge_read_raw()
/linux/drivers/hwmon/
H A Dnzxt-smart2.c81 u8 report_id; member
96 u8 report_id; member
158 u8 report_id; member
470 .report_id = OUTPUT_REPORT_ID_SET_FAN_SPEED, in set_pwm()
692 u8 report_id = *data; in nzxt_smart2_hid_raw_event() local
694 switch (report_id) { in nzxt_smart2_hid_raw_event()

123