| /linux/drivers/hid/amd-sfh-hid/hid_descriptor/ |
| H A D | amd_sfh_hid_desc.c | 128 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 …]
|
| /linux/drivers/hid/amd-sfh-hid/sfh1_1/ |
| H A D | amd_sfh_desc.c | 61 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/iio/common/hid-sensors/ |
| H A D | hid-sensor-attributes.c | 164 st->poll.report_id, in hid_sensor_read_poll_value() 185 st->poll.report_id, in hid_sensor_read_samp_freq_value() 223 ret = sensor_hub_set_feature(st->hsdev, st->poll.report_id, in hid_sensor_write_samp_freq_value() 229 st->poll.report_id, in hid_sensor_write_samp_freq_value() 247 st->sensitivity.report_id, in hid_sensor_read_raw_hyst_value() 270 st->sensitivity_rel.report_id, in hid_sensor_read_raw_hyst_rel_value() 298 ret = sensor_hub_set_feature(st->hsdev, st->sensitivity.report_id, in hid_sensor_write_raw_hyst_value() 305 st->sensitivity.report_id, in hid_sensor_write_raw_hyst_value() 329 ret = sensor_hub_set_feature(st->hsdev, st->sensitivity_rel.report_id, in hid_sensor_write_raw_hyst_rel_value() 336 st->sensitivity_rel.report_id, in hid_sensor_write_raw_hyst_rel_value() [all …]
|
| /linux/drivers/input/touchscreen/ |
| H A D | sis_i2c.c | 112 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/hid/ |
| H A D | hid-roccat-common.c | 16 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 D | hid-sensor-custom.c | 29 int report_id; member 189 sensor_inst->power_state->attribute.report_id, in set_power_report_state() 194 sensor_inst->report_state->attribute.report_id, in set_power_report_state() 202 sensor_inst->power_state->attribute.report_id, in set_power_report_state() 217 sensor_inst->report_state->attribute.report_id, in set_power_report_state() 300 u32 report_id; in show_value() local 304 report_id = attribute->report_id; in show_value() 312 report_id, in show_value() 353 usage, report_id, in show_value() 399 u32 report_id; in store_value() local [all …]
|
| /linux/drivers/hid/amd-sfh-hid/ |
| H A D | amd_sfh_hid.h | 21 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 D | amd_sfh_client.c | 21 void amd_sfh_set_report(struct hid_device *hid, int report_id, in amd_sfh_set_report() argument 37 int amd_sfh_get_report(struct hid_device *hid, int report_id, int report_type) in amd_sfh_get_report() argument 59 new->report_id = report_id; in amd_sfh_get_report() 60 cli_data->report_id[i] = report_id; in amd_sfh_get_report() 79 u8 report_id, node_type; in amd_sfh_work() local 88 report_id = req_node->report_id; in amd_sfh_work() 94 report_size = mp2_ops->get_feat_rep(sensor_index, report_id, in amd_sfh_work() 104 report_size = mp2_ops->get_in_rep(current_index, sensor_index, report_id, in_data); in amd_sfh_work() 132 cli_data->report_id[i], in_data); in amd_sfh_work_buffer()
|
| /linux/drivers/staging/greybus/ |
| H A D | hid.c | 74 static int gb_hid_get_report(struct gb_hid *ghid, u8 report_type, u8 report_id, in gb_hid_get_report() argument 85 request.report_id = report_id; in gb_hid_get_report() 95 static int gb_hid_set_report(struct gb_hid *ghid, u8 report_type, u8 report_id, in gb_hid_set_report() argument 116 request->report_id = report_id; in gb_hid_set_report() 244 int report_id = buf[0]; in __gb_hid_output_raw_report() local 250 if (report_id) { in __gb_hid_output_raw_report() 255 ret = gb_hid_set_report(ghid, report_type, report_id, buf, len); in __gb_hid_output_raw_report() 256 if (report_id && ret >= 0) in __gb_hid_output_raw_report()
|
| /linux/drivers/iio/gyro/ |
| H A D | hid-sensor-gyro-3d.c | 103 int report_id = -1; in gyro_3d_read_raw() local 113 report_id = gyro_state->gyro[chan->scan_index].report_id; in gyro_3d_read_raw() 116 if (report_id >= 0) in gyro_3d_read_raw() 120 report_id, in gyro_3d_read_raw() 267 st->gyro[0].report_id, in gyro_3d_parse_report() 268 st->gyro[1].index, st->gyro[1].report_id, in gyro_3d_parse_report() 269 st->gyro[2].index, st->gyro[2].report_id); in gyro_3d_parse_report()
|
| /linux/drivers/rtc/ |
| H A D | rtc-hid-sensor-time.c | 139 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/include/linux/ |
| H A D | hid-sensor-hub.h | 29 s32 report_id; member 181 u32 attr_usage_id, u32 report_id, 197 int sensor_hub_set_feature(struct hid_sensor_hub_device *hsdev, u32 report_id, 213 int sensor_hub_get_feature(struct hid_sensor_hub_device *hsdev, u32 report_id, 270 u32 report_id, int field_index, u32 usage_id);
|
| /linux/drivers/iio/pressure/ |
| H A D | hid-sensor-press.c | 74 int report_id = -1; in press_read_raw() local 85 report_id = press_state->press_attr.report_id; in press_read_raw() 90 report_id = -1; in press_read_raw() 93 if (report_id >= 0) { in press_read_raw() 99 report_id, in press_read_raw() 232 st->press_attr.report_id); in press_parse_report()
|
| /linux/drivers/hid/usbhid/ |
| H A D | hiddev.c | 58 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/orientation/ |
| H A D | hid-sensor-incl-3d.c | 106 int report_id = -1; in incl_3d_read_raw() local 116 report_id = incl_state->incl[chan->scan_index].report_id; in incl_3d_read_raw() 119 if (report_id >= 0) in incl_3d_read_raw() 123 report_id, in incl_3d_read_raw() 287 st->incl[0].report_id, in incl_3d_parse_report() 288 st->incl[1].index, st->incl[1].report_id, in incl_3d_parse_report() 289 st->incl[2].index, st->incl[2].report_id); in incl_3d_parse_report()
|
| /linux/drivers/hid/intel-thc-hid/intel-quicki2c/ |
| H A D | quicki2c-protocol.c | 55 u8 opcode, u8 report_type, u8 report_id) in quicki2c_encode_cmd() argument 62 if (report_id < HIDI2C_CMD_MAX_RI) { in quicki2c_encode_cmd() 63 *cmd_buf |= FIELD_PREP(HIDI2C_CMD_REPORT_ID, report_id); in quicki2c_encode_cmd() 67 FIELD_PREP(HIDI2C_CMD_3RD_BYTE, report_id); in quicki2c_encode_cmd() 75 int report_type, int report_id, u8 *buf, int buf_len) in write_cmd_to_txdma() argument 81 cmd_len = quicki2c_encode_cmd(qcdev, &cmd, opcode, report_type, report_id); in write_cmd_to_txdma()
|
| /linux/drivers/iio/accel/ |
| H A D | hid-sensor-accel-3d.c | 140 int report_id = -1; in accel_3d_read_raw() local 152 report_id = accel_state->accel[chan->scan_index].report_id; in accel_3d_read_raw() 155 if (report_id >= 0) in accel_3d_read_raw() 158 hsdev->usage, address, report_id, in accel_3d_read_raw() 316 st->accel[0].report_id, in accel_3d_parse_report() 317 st->accel[1].index, st->accel[1].report_id, in accel_3d_parse_report() 318 st->accel[2].index, st->accel[2].report_id); in accel_3d_parse_report()
|
| /linux/drivers/iio/magnetometer/ |
| H A D | hid-sensor-magn-3d.c | 153 int report_id = -1; in magn_3d_read_raw() local 163 report_id = magn_state->magn[chan->address].report_id; in magn_3d_read_raw() 166 if (report_id >= 0) in magn_3d_read_raw() 170 report_id, in magn_3d_read_raw() 385 st->magn[0].report_id, in magn_3d_parse_report() 386 st->magn[1].index, st->magn[1].report_id, in magn_3d_parse_report() 387 st->magn[2].index, st->magn[2].report_id); in magn_3d_parse_report() 460 st->rot_attributes.sensitivity.report_id); in magn_3d_parse_report()
|
| /linux/include/uapi/linux/ |
| H A D | hiddev.h | 68 __u32 report_id; member 93 __u32 report_id; member 123 __u32 report_id; member
|
| /linux/drivers/hid/bpf/progs/ |
| H A D | Wacom__ArtPen.bpf.c | 50 __u8 report_id; member 67 .report_id = 16, 114 if (data[0] != params.report_id || in SEC()
|
| /linux/drivers/hid/intel-thc-hid/intel-quickspi/ |
| H A D | quickspi-protocol.c | 24 int report_type, int report_id, in write_cmd_to_txdma() argument 35 write_buf->output_hdr.content_id = report_id; in write_cmd_to_txdma() 345 u8 report_type, unsigned int report_id, void *buf) in quickspi_get_report() argument 360 ret = write_cmd_to_txdma(qsdev, rep_type, report_id, NULL, 0); in quickspi_get_report() 381 u8 report_type, unsigned int report_id, in quickspi_set_report() argument 397 ret = write_cmd_to_txdma(qsdev, rep_type, report_id, buf + 1, buf_len - 1); in quickspi_set_report()
|
| /linux/drivers/platform/x86/tuxedo/nb04/ |
| H A D | wmi_ab.c | 476 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 D | hid-sensor-custom-intel-hinge.c | 115 int report_id; in hinge_read_raw() local 122 report_id = st->hinge[chan->scan_index].report_id; in hinge_read_raw() 124 if (report_id < 0) { in hinge_read_raw() 132 report_id, in hinge_read_raw()
|
| /linux/drivers/input/mouse/ |
| H A D | cyapa_gen5.c | 271 u8 report_id; /* Bootloader output report id, must be 40h */ member 310 u8 report_id; /* Application output report id, must be 2Fh */ member 1074 bl_cmd_head->report_id = PIP_BL_CMD_REPORT_ID; in cyapa_pip_bl_initiate() 1349 bl_cmd_head->report_id = PIP_BL_CMD_REPORT_ID; in cyapa_pip_write_fw_block() 1470 app_cmd_head->report_id = PIP_APP_CMD_REPORT_ID; in cyapa_gen5_set_interval_time() 1525 app_cmd_head->report_id = PIP_APP_CMD_REPORT_ID; in cyapa_gen5_get_interval_time() 1558 app_cmd_head->report_id = PIP_APP_CMD_REPORT_ID; in cyapa_gen5_disable_pip_report() 1805 app_cmd_head->report_id = PIP_APP_CMD_REPORT_ID; in cyapa_pip_calibrate_pwcs() 2011 cmd_head->report_id = PIP_APP_CMD_REPORT_ID; in cyapa_gen5_read_idac_data() 2190 app_cmd_head->report_id = PIP_APP_CMD_REPORT_ID; in cyapa_gen5_execute_panel_scan() [all …]
|
| /linux/drivers/iio/light/ |
| H A D | hid-sensor-prox.c | 89 int report_id; in prox_read_raw() local 102 report_id = prox_state->prox_attr[chan->scan_index].report_id; in prox_read_raw() 109 report_id, in prox_read_raw() 256 st->prox_attr[index].report_id); in prox_parse_report()
|