/Linux-v4.19/drivers/iio/common/hid-sensors/ |
D | hid-sensor-attributes.c | 177 st->poll.report_id, in hid_sensor_read_poll_value() 198 st->poll.report_id, in hid_sensor_read_samp_freq_value() 236 ret = sensor_hub_set_feature(st->hsdev, st->poll.report_id, in hid_sensor_write_samp_freq_value() 242 st->poll.report_id, in hid_sensor_write_samp_freq_value() 260 st->sensitivity.report_id, in hid_sensor_read_raw_hyst_value() 288 ret = sensor_hub_set_feature(st->hsdev, st->sensitivity.report_id, in hid_sensor_write_raw_hyst_value() 295 st->sensitivity.report_id, in hid_sensor_write_raw_hyst_value() 423 st->report_latency.index, st->report_latency.report_id); in hid_sensor_get_report_latency_info() 431 ret = sensor_hub_get_feature(st->hsdev, st->report_latency.report_id, in hid_sensor_get_report_latency() 443 return sensor_hub_set_feature(st->hsdev, st->report_latency.report_id, in hid_sensor_set_report_latency() [all …]
|
D | hid-sensor-trigger.c | 120 st->power_state.report_id, in _hid_sensor_power_state() 124 st->report_state.report_id, in _hid_sensor_power_state() 138 st->power_state.report_id, in _hid_sensor_power_state() 142 st->report_state.report_id, in _hid_sensor_power_state() 149 sensor_hub_set_feature(st->hsdev, st->power_state.report_id, in _hid_sensor_power_state() 156 sensor_hub_set_feature(st->hsdev, st->report_state.report_id, in _hid_sensor_power_state() 165 sensor_hub_get_feature(st->hsdev, st->power_state.report_id, in _hid_sensor_power_state() 213 sensor_hub_set_feature(attrb->hsdev, attrb->poll.report_id, in hid_sensor_set_power_work() 220 attrb->sensitivity.report_id, in hid_sensor_set_power_work()
|
/Linux-v4.19/drivers/input/touchscreen/ |
D | sis_i2c.c | 120 u8 report_id; in sis_read_packet() local 137 report_id = buf[SIS_PKT_REPORT_OFFSET]; in sis_read_packet() 141 if (report_id != SIS_ALL_IN_ONE_PACKAGE) { in sis_read_packet() 142 if (SIS_PKT_IS_TOUCH(report_id)) { in sis_read_packet() 160 } else if (!SIS_PKT_IS_HIDI2C(report_id)) { in sis_read_packet() 163 __func__, report_id); in sis_read_packet() 167 if (SIS_PKT_HAS_SCANTIME(report_id)) in sis_read_packet() 170 if (SIS_PKT_HAS_AREA(report_id)) in sis_read_packet() 172 if (SIS_PKT_HAS_PRESSURE(report_id)) in sis_read_packet() 239 u8 report_id; in sis_ts_handle_packet() local [all …]
|
/Linux-v4.19/drivers/hid/ |
D | hid-roccat-common.c | 19 static inline uint16_t roccat_common2_feature_report(uint8_t report_id) in roccat_common2_feature_report() argument 21 return 0x300 | report_id; in roccat_common2_feature_report() 24 int roccat_common2_receive(struct usb_device *usb_dev, uint report_id, in roccat_common2_receive() argument 37 roccat_common2_feature_report(report_id), in roccat_common2_receive() 46 int roccat_common2_send(struct usb_device *usb_dev, uint report_id, in roccat_common2_send() argument 59 roccat_common2_feature_report(report_id), in roccat_common2_send()
|
D | hid-sensor-custom.c | 34 int report_id; member 194 sensor_inst->power_state->attribute.report_id, in set_power_report_state() 199 sensor_inst->report_state->attribute.report_id, in set_power_report_state() 207 sensor_inst->power_state->attribute.report_id, in set_power_report_state() 222 sensor_inst->report_state->attribute.report_id, in set_power_report_state() 307 u32 report_id; in show_value() local 311 report_id = attribute->report_id; in show_value() 319 report_id, in show_value() 360 usage, report_id, in show_value() 408 u32 report_id; in store_value() local [all …]
|
D | hid-sensor-hub.c | 100 s32 index, s32 report_id, struct hid_field *field) in sensor_hub_fill_attr_info() argument 103 info->report_id = report_id; in sensor_hub_fill_attr_info() 204 int sensor_hub_set_feature(struct hid_sensor_hub_device *hsdev, u32 report_id, in sensor_hub_set_feature() argument 216 report = sensor_hub_report(report_id, hsdev->hdev, HID_FEATURE_REPORT); in sensor_hub_set_feature() 247 int sensor_hub_get_feature(struct hid_sensor_hub_device *hsdev, u32 report_id, in sensor_hub_get_feature() argument 261 report = sensor_hub_report(report_id, hsdev->hdev, HID_FEATURE_REPORT); in sensor_hub_get_feature() 301 u32 attr_usage_id, u32 report_id, in sensor_hub_input_attr_get_raw_value() argument 309 report = sensor_hub_report(report_id, hsdev->hdev, in sensor_hub_input_attr_get_raw_value() 355 u32 report_id, int field_index, u32 usage_id) in hid_sensor_get_usage_index() argument 361 report = sensor_hub_report(report_id, hsdev->hdev, HID_FEATURE_REPORT); in hid_sensor_get_usage_index() [all …]
|
D | hid-roccat-common.h | 28 int roccat_common2_receive(struct usb_device *usb_dev, uint report_id, 30 int roccat_common2_send(struct usb_device *usb_dev, uint report_id,
|
D | hid-picolcd_debugfs.c | 189 static ssize_t _picolcd_flash_read(struct picolcd_data *data, int report_id, in _picolcd_flash_read() argument 201 resp = picolcd_send_and_wait(data->hdev, report_id, raw_data, len_off+1); in _picolcd_flash_read() 244 static ssize_t _picolcd_flash_erase64(struct picolcd_data *data, int report_id, in _picolcd_flash_erase64() argument 256 resp = picolcd_send_and_wait(data->hdev, report_id, raw_data, len_off); in _picolcd_flash_erase64() 271 static ssize_t _picolcd_flash_write(struct picolcd_data *data, int report_id, in _picolcd_flash_write() argument 287 resp = picolcd_send_and_wait(data->hdev, report_id, raw_data, in _picolcd_flash_write()
|
D | hid-logitech-hidpp.c | 110 u8 report_id; member 182 switch (hidpp_report->report_id) { in __hidpp_send_report() 205 ret = hid_hw_raw_request(hdev, hidpp_report->report_id, in __hidpp_send_report() 253 if (response->report_id == REPORT_ID_HIDPP_SHORT && in hidpp_send_message_sync() 260 if ((response->report_id == REPORT_ID_HIDPP_LONG || in hidpp_send_message_sync() 261 response->report_id == REPORT_ID_HIDPP_VERY_LONG) && in hidpp_send_message_sync() 289 message->report_id = REPORT_ID_HIDPP_VERY_LONG; in hidpp_send_fap_command_sync() 291 message->report_id = REPORT_ID_HIDPP_LONG; in hidpp_send_fap_command_sync() 302 u8 report_id, u8 sub_id, u8 reg_address, u8 *params, int param_count, in hidpp_send_rap_command_sync() argument 308 switch (report_id) { in hidpp_send_rap_command_sync() [all …]
|
/Linux-v4.19/include/linux/ |
D | hid-sensor-hub.h | 42 s32 report_id; member 192 u32 attr_usage_id, u32 report_id, 207 int sensor_hub_set_feature(struct hid_sensor_hub_device *hsdev, u32 report_id, 222 int sensor_hub_get_feature(struct hid_sensor_hub_device *hsdev, u32 report_id, 272 u32 report_id, int field_index, u32 usage_id);
|
/Linux-v4.19/drivers/iio/light/ |
D | hid-sensor-prox.c | 73 int report_id = -1; in prox_read_raw() local 83 report_id = prox_state->prox_attr.report_id; in prox_read_raw() 88 report_id = -1; in prox_read_raw() 91 if (report_id >= 0) { in prox_read_raw() 97 report_id, in prox_read_raw() 229 st->prox_attr.report_id); in prox_parse_report() 240 st->common_attributes.sensitivity.report_id); in prox_parse_report()
|
D | hid-sensor-als.c | 93 int report_id = -1; in als_read_raw() local 104 report_id = als_state->als_illum.report_id; in als_read_raw() 109 report_id = -1; in als_read_raw() 112 if (report_id >= 0) { in als_read_raw() 118 report_id, in als_read_raw() 254 st->als_illum.report_id); in als_parse_report() 270 st->common_attributes.sensitivity.report_id); in als_parse_report()
|
/Linux-v4.19/drivers/iio/pressure/ |
D | hid-sensor-press.c | 77 int report_id = -1; in press_read_raw() local 87 report_id = press_state->press_attr.report_id; in press_read_raw() 92 report_id = -1; in press_read_raw() 95 if (report_id >= 0) { in press_read_raw() 101 report_id, in press_read_raw() 233 st->press_attr.report_id); in press_parse_report() 249 st->common_attributes.sensitivity.report_id); in press_parse_report()
|
/Linux-v4.19/drivers/iio/gyro/ |
D | hid-sensor-gyro-3d.c | 111 int report_id = -1; in gyro_3d_read_raw() local 120 report_id = gyro_state->gyro[chan->scan_index].report_id; in gyro_3d_read_raw() 122 if (report_id >= 0) in gyro_3d_read_raw() 126 report_id, in gyro_3d_read_raw() 269 st->gyro[0].report_id, in gyro_3d_parse_report() 270 st->gyro[1].index, st->gyro[1].report_id, in gyro_3d_parse_report() 271 st->gyro[2].index, st->gyro[2].report_id); in gyro_3d_parse_report() 287 st->common_attributes.sensitivity.report_id); in gyro_3d_parse_report()
|
/Linux-v4.19/drivers/iio/orientation/ |
D | hid-sensor-incl-3d.c | 111 int report_id = -1; in incl_3d_read_raw() local 120 report_id = in incl_3d_read_raw() 121 incl_state->incl[chan->scan_index].report_id; in incl_3d_read_raw() 123 if (report_id >= 0) in incl_3d_read_raw() 127 report_id, in incl_3d_read_raw() 286 st->incl[0].report_id, in incl_3d_parse_report() 287 st->incl[1].index, st->incl[1].report_id, in incl_3d_parse_report() 288 st->incl[2].index, st->incl[2].report_id); in incl_3d_parse_report() 304 st->common_attributes.sensitivity.report_id); in incl_3d_parse_report()
|
/Linux-v4.19/drivers/rtc/ |
D | rtc-hid-sensor-time.c | 152 int report_id, i; in hid_time_parse_report() local 161 report_id = time_state->info[0].report_id; in hid_time_parse_report() 162 if (report_id < 0) { in hid_time_parse_report() 167 if (time_state->info[i].report_id != report_id) { in hid_time_parse_report() 216 time_state->info[0].report_id, SENSOR_HUB_SYNC); in hid_rtc_read_time()
|
/Linux-v4.19/drivers/staging/greybus/ |
D | hid.c | 75 static int gb_hid_get_report(struct gb_hid *ghid, u8 report_type, u8 report_id, in gb_hid_get_report() argument 86 request.report_id = report_id; in gb_hid_get_report() 96 static int gb_hid_set_report(struct gb_hid *ghid, u8 report_type, u8 report_id, in gb_hid_set_report() argument 117 request->report_id = report_id; in gb_hid_set_report() 243 int report_id = buf[0]; in __gb_hid_output_raw_report() local 249 if (report_id) { in __gb_hid_output_raw_report() 254 ret = gb_hid_set_report(ghid, report_type, report_id, buf, len); in __gb_hid_output_raw_report() 255 if (report_id && ret >= 0) in __gb_hid_output_raw_report()
|
/Linux-v4.19/drivers/iio/magnetometer/ |
D | hid-sensor-magn-3d.c | 163 int report_id = -1; in magn_3d_read_raw() local 172 report_id = in magn_3d_read_raw() 173 magn_state->magn[chan->address].report_id; in magn_3d_read_raw() 175 if (report_id >= 0) in magn_3d_read_raw() 179 report_id, in magn_3d_read_raw() 388 st->magn[0].report_id, in magn_3d_parse_report() 389 st->magn[1].index, st->magn[1].report_id, in magn_3d_parse_report() 390 st->magn[2].index, st->magn[2].report_id); in magn_3d_parse_report() 461 st->magn_flux_attributes.sensitivity.report_id); in magn_3d_parse_report() 471 st->magn_flux_attributes.sensitivity.report_id); in magn_3d_parse_report() [all …]
|
/Linux-v4.19/drivers/iio/accel/ |
D | hid-sensor-accel-3d.c | 149 int report_id = -1; in accel_3d_read_raw() local 160 report_id = accel_state->accel[chan->scan_index].report_id; in accel_3d_read_raw() 162 if (report_id >= 0) in accel_3d_read_raw() 165 hsdev->usage, address, report_id, in accel_3d_read_raw() 321 st->accel[0].report_id, in accel_3d_parse_report() 322 st->accel[1].index, st->accel[1].report_id, in accel_3d_parse_report() 323 st->accel[2].index, st->accel[2].report_id); in accel_3d_parse_report() 339 st->common_attributes.sensitivity.report_id); in accel_3d_parse_report()
|
/Linux-v4.19/drivers/hid/usbhid/ |
D | hiddev.c | 71 unsigned int flags = rinfo->report_id & ~HID_REPORT_ID_MASK; in hiddev_lookup_report() 72 unsigned int rid = rinfo->report_id & HID_REPORT_ID_MASK; in hiddev_lookup_report() 94 rinfo->report_id = report->id; in hiddev_lookup_report() 107 rinfo->report_id = report->id; in hiddev_lookup_report() 114 return report_enum->report_id_hash[rinfo->report_id]; in hiddev_lookup_report() 141 uref->report_id = report->id; in hiddev_lookup_usage() 189 uref.report_id = field->report->id; in hiddev_hid_event() 209 uref.report_id = report->id; in hiddev_report_event() 467 rinfo.report_id = uref->report_id; in hiddev_ioctl_usage() 495 if (uref->report_id == HID_REPORT_ID_UNKNOWN) { in hiddev_ioctl_usage() [all …]
|
/Linux-v4.19/drivers/hid/intel-ish-hid/ |
D | ishtp-hid.h | 51 uint8_t report_id; member 173 int report_id); 174 void hid_ishtp_get_report(struct hid_device *hid, int report_id,
|
/Linux-v4.19/include/uapi/linux/ |
D | hiddev.h | 68 __u32 report_id; member 93 __u32 report_id; member 123 __u32 report_id; member
|
/Linux-v4.19/drivers/input/mouse/ |
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 1073 bl_cmd_head->report_id = PIP_BL_CMD_REPORT_ID; in cyapa_pip_bl_initiate() 1348 bl_cmd_head->report_id = PIP_BL_CMD_REPORT_ID; in cyapa_pip_write_fw_block() 1469 app_cmd_head->report_id = PIP_APP_CMD_REPORT_ID; in cyapa_gen5_set_interval_time() 1524 app_cmd_head->report_id = PIP_APP_CMD_REPORT_ID; in cyapa_gen5_get_interval_time() 1557 app_cmd_head->report_id = PIP_APP_CMD_REPORT_ID; in cyapa_gen5_disable_pip_report() 1804 app_cmd_head->report_id = PIP_APP_CMD_REPORT_ID; in cyapa_pip_calibrate_pwcs() 2010 cmd_head->report_id = PIP_APP_CMD_REPORT_ID; in cyapa_gen5_read_idac_data() 2189 app_cmd_head->report_id = PIP_APP_CMD_REPORT_ID; in cyapa_gen5_execute_panel_scan() [all …]
|
D | cyapa_gen6.c | 46 u8 report_id; member 53 u8 report_id; member 347 u8 report_id; in cyapa_gen6_set_interval_setting() member 362 set_interval_cmd.report_id = PIP_APP_CMD_REPORT_ID; in cyapa_gen6_set_interval_setting() 577 cmd.head.report_id = PIP_APP_CMD_REPORT_ID; in cyapa_pip_retrieve_data_structure()
|
/Linux-v4.19/Documentation/hid/ |
D | hiddev.txt | 153 report_id) for the next report after report_id. Without a-priori 161 hiddev_field_info structure. The user must fill in report_id and 174 choose to fill in the report_type field and specify the report_id as 203 to read() filled in with the report_type and report_id, but
|