/kernel/linux/linux-6.6/drivers/hid/ |
H A D | hid-retrode.c | 22 struct hid_field *field = hi->report->field[0]; in retrode_input_configured() 27 switch (field->report->id) { in retrode_input_configured() 34 number = field->report->id; in retrode_input_configured() 39 number = field->report->id - 2; in retrode_input_configured() 42 hid_err(hdev, "Got unhandled report id %d\n", field->report->id); in retrode_input_configured()
|
H A D | hid-multitouch.c | 118 __s32 *raw_cc; /* contact count in the report */ 128 __u8 touches_by_report; /* how many touches are present in one report: 155 struct hid_report *report; member 448 static void mt_get_feature(struct hid_device *hdev, struct hid_report *report) in mt_get_feature() argument 451 u32 size = hid_report_len(report); in mt_get_feature() 455 * Do not fetch the feature report if the device has been explicitly in mt_get_feature() 461 buf = hid_alloc_report_buf(report, GFP_KERNEL); in mt_get_feature() 465 ret = hid_hw_raw_request(hdev, report->id, buf, size, in mt_get_feature() 469 report->id); in mt_get_feature() 474 dev_warn(&hdev->dev, "failed to report featur in mt_get_feature() 555 mt_allocate_application(struct mt_device *td, struct hid_report *report) mt_allocate_application() argument 590 mt_find_application(struct mt_device *td, struct hid_report *report) mt_find_application() argument 612 mt_allocate_report_data(struct mt_device *td, struct hid_report *report) mt_allocate_report_data() argument 652 mt_find_report_data(struct mt_device *td, struct hid_report *report) mt_find_report_data() argument 1199 struct hid_report *report = rdata->report; mt_touch_report() local 1445 mt_report(struct hid_device *hid, struct hid_report *report) mt_report() argument 1472 struct hid_report *report = field->report; mt_need_to_apply_feature() local 1600 struct hid_report *report; mt_input_configured() local 1666 struct hid_report *report; mt_fix_const_fields() local [all...] |
H A D | hid-nvidia-shield.c | 229 struct thunderstrike_hostcmd_req_report *report, u8 cmd_id) in thunderstrike_hostcmd_req_report_init() 231 memset(report, 0, sizeof(*report)); in thunderstrike_hostcmd_req_report_init() 232 report->report_id = THUNDERSTRIKE_HOSTCMD_REQ_REPORT_ID; in thunderstrike_hostcmd_req_report_init() 233 report->cmd_id = cmd_id; in thunderstrike_hostcmd_req_report_init() 301 struct thunderstrike_hostcmd_req_report *report = ts->req_report_dmabuf; in thunderstrike_send_hostcmd_request() local 305 ret = hid_hw_raw_request(shield_dev->hdev, report->report_id, in thunderstrike_send_hostcmd_request() 312 "Failed to output Thunderstrike HOSTCMD request HID report due to %pe\n", in thunderstrike_send_hostcmd_request() 321 struct thunderstrike_hostcmd_req_report *report; in thunderstrike_hostcmd_req_work_handler() local 324 report in thunderstrike_hostcmd_req_work_handler() 228 thunderstrike_hostcmd_req_report_init( struct thunderstrike_hostcmd_req_report *report, u8 cmd_id) thunderstrike_hostcmd_req_report_init() argument 732 thunderstrike_parse_report(struct shield_device *shield_dev, struct hid_report *report, u8 *data, int size) thunderstrike_parse_report() argument 1025 shield_raw_event(struct hid_device *hdev, struct hid_report *report, u8 *data, int size) shield_raw_event() argument [all...] |
H A D | hid-google-hammer.c | 119 * report changes, as we assume that on attach the base in cbas_ec_notify() 153 * Only report if base is disconnected. If base is connected, in cbas_ec_resume() 318 * hardware output report and hardware raw request won't fail. in hammer_kbd_brightness_set_blocking() 426 struct hid_report *report; in hammer_has_usage() local 429 list_for_each_entry(report, &re->report_list, list) { in hammer_has_usage() 430 if (report->application != application) in hammer_has_usage() 433 for (i = 0; i < report->maxfield; i++) { in hammer_has_usage() 434 struct hid_field *field = report->field[i]; in hammer_has_usage() 459 struct hid_report *report; in hammer_get_folded_state() local 464 report in hammer_get_folded_state() [all...] |
H A D | hid-holtekff.c | 87 hid_hw_request(hid, holtekff->field->report, HID_REQ_SET_REPORT); in holtekff_send() 126 struct hid_report *report; in holtekff_init() local 141 hid_err(hid, "no output report found\n"); in holtekff_init() 145 report = list_entry(report_list->next, struct hid_report, list); in holtekff_init() 147 if (report->maxfield < 1 || report->field[0]->report_count != 7) { in holtekff_init() 148 hid_err(hid, "unexpected output report layout\n"); in holtekff_init() 158 holtekff->field = report->field[0]; in holtekff_init()
|
H A D | hid-primax.c | 17 static int px_raw_event(struct hid_device *hid, struct hid_report *report, in px_raw_event() argument 22 switch (report->id) { in px_raw_event() 26 * modifier bits and pull the key strokes from the report. in px_raw_event() 27 * Thus a report data set which looked like: in px_raw_event() 50 default: /* unknown report */ in px_raw_event() 51 /* Unknown report type; pass upstream */ in px_raw_event() 52 hid_info(hid, "unknown report type %d\n", report->id); in px_raw_event()
|
/foundation/distributeddatamgr/data_share/frameworks/native/consumer/src/ |
H A D | datashare_helper_impl.cpp | 244 RadarReporter::RadarReport report(RadarReporter::OBSERVER_MANAGER, in RegisterObserver() 248 report.SetError(RadarReporter::EMPTY_OBSERVER_ERROR); in RegisterObserver() 254 report.SetError(RadarReporter::DATA_SHARE_DIED_ERROR); in RegisterObserver() 262 RadarReporter::RadarReport report(RadarReporter::OBSERVER_MANAGER, in UnregisterObserver() 266 report.SetError(RadarReporter::EMPTY_OBSERVER_ERROR); in UnregisterObserver() 272 report.SetError(RadarReporter::DATA_SHARE_DIED_ERROR); in UnregisterObserver() 313 RadarReporter::RadarReport report(RadarReporter::TEMPLATE_DATA_MANAGER, in AddQueryTemplate() 318 report.SetError(RadarReporter::DATA_SHARE_DIED_ERROR); in AddQueryTemplate() 326 RadarReporter::RadarReport report(RadarReporter::TEMPLATE_DATA_MANAGER, in DelQueryTemplate() 331 report in DelQueryTemplate() [all...] |
/kernel/linux/linux-5.10/drivers/input/touchscreen/ |
H A D | pixcir_i2c_ts.c | 94 struct pixcir_report_data *report) in pixcir_ts_parse() 104 memset(report, 0, sizeof(struct pixcir_report_data)); in pixcir_ts_parse() 131 report->num_touches = touch; in pixcir_ts_parse() 135 touchscreen_set_mt_pos(&report->pos[i], &tsdata->prop, in pixcir_ts_parse() 139 report->ids[i] = bufptr[4]; in pixcir_ts_parse() 148 struct pixcir_report_data *report) in pixcir_ts_report() 155 n = report->num_touches; in pixcir_ts_report() 160 input_mt_assign_slots(ts->input, slots, report->pos, n, 0); in pixcir_ts_report() 165 report->ids[i]); in pixcir_ts_report() 168 report in pixcir_ts_report() 93 pixcir_ts_parse(struct pixcir_i2c_ts_data *tsdata, struct pixcir_report_data *report) pixcir_ts_parse() argument 147 pixcir_ts_report(struct pixcir_i2c_ts_data *ts, struct pixcir_report_data *report) pixcir_ts_report() argument 194 struct pixcir_report_data report; pixcir_ts_isr() local [all...] |
/kernel/linux/linux-6.6/drivers/input/touchscreen/ |
H A D | pixcir_i2c_ts.c | 94 struct pixcir_report_data *report) in pixcir_ts_parse() 104 memset(report, 0, sizeof(struct pixcir_report_data)); in pixcir_ts_parse() 131 report->num_touches = touch; in pixcir_ts_parse() 135 touchscreen_set_mt_pos(&report->pos[i], &tsdata->prop, in pixcir_ts_parse() 139 report->ids[i] = bufptr[4]; in pixcir_ts_parse() 148 struct pixcir_report_data *report) in pixcir_ts_report() 155 n = report->num_touches; in pixcir_ts_report() 160 input_mt_assign_slots(ts->input, slots, report->pos, n, 0); in pixcir_ts_report() 165 report->ids[i]); in pixcir_ts_report() 168 report in pixcir_ts_report() 93 pixcir_ts_parse(struct pixcir_i2c_ts_data *tsdata, struct pixcir_report_data *report) pixcir_ts_parse() argument 147 pixcir_ts_report(struct pixcir_i2c_ts_data *ts, struct pixcir_report_data *report) pixcir_ts_report() argument 194 struct pixcir_report_data report; pixcir_ts_isr() local [all...] |
/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_dnsresolv_test/ |
H A D | dns_quality_diag_test.cpp | 45 NetsysNative::NetDnsResultReport report; member in OHOS::nmd::DnsQualityDiagTest 84 int32_t returnCode = dnsQualityDiag.ParseReportAddr(size, addrinfo, report); in HWTEST_F() 86 EXPECT_EQ(report.addrlist_.size(), 2); in HWTEST_F() 96 int32_t returnCode = dnsQualityDiag.ParseReportAddr(size, addrinfo, report); in HWTEST_F() 98 EXPECT_EQ(report.addrlist_.size(), MAX_RESULT_SIZE); in HWTEST_F() 170 std::shared_ptr<NetsysNative::NetDnsResultReport> report; in HWTEST_F() local 171 report = std::make_shared<NetsysNative::NetDnsResultReport>(); in HWTEST_F() 172 EXPECT_EQ(dnsQualityDiag.add_dns_report(report), 0); in HWTEST_F()
|
/kernel/linux/linux-5.10/include/net/netfilter/ |
H A D | nf_conntrack_ecache.h | 72 int report; member 86 u32 portid, int report); 97 int report) in nf_conntrack_eventmask_report() 124 u32 portid, int report) in nf_conntrack_event_report() 132 return nf_conntrack_eventmask_report(1 << event, ct, portid, report); in nf_conntrack_event_report() 158 int report; member 172 u32 portid, int report); 185 int report) in nf_ct_expect_event_report() 94 nf_conntrack_eventmask_report(unsigned int eventmask, struct nf_conn *ct, u32 portid, int report) nf_conntrack_eventmask_report() argument 123 nf_conntrack_event_report(enum ip_conntrack_events event, struct nf_conn *ct, u32 portid, int report) nf_conntrack_event_report() argument 182 nf_ct_expect_event_report(enum ip_conntrack_expect_events e, struct nf_conntrack_expect *exp, u32 portid, int report) nf_ct_expect_event_report() argument
|
/kernel/linux/build/ |
H A D | kernel_build.py | 56 report = {} 59 return report 62 return report 69 return report 71 report = { 74 'report': '\n'.join(details), 78 return report 119 report = self.report_build_warning(filename, title_regex, details) 120 if not report is None: 121 reports.append(report) [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/btm/ |
H A D | btm_snoop_filter_evt.c | 46 HciLeAdvertisingReport *report = (HciLeAdvertisingReport *)(param + offset); in HciLeAdvertisingReportEventFilter() local 48 offset += report->lengthData; in HciLeAdvertisingReportEventFilter() 49 offset += sizeof(report->rssi); in HciLeAdvertisingReportEventFilter() 50 BtmFilterAddress((uint8_t *)&report->address, BT_ADDRESS_SIZE); in HciLeAdvertisingReportEventFilter() 70 HciLeDirectedAdvertisingReport *report = (HciLeDirectedAdvertisingReport *)(param + offset); in HciLeDirectedAdvertisingReportEventFilter() local 72 BtmFilterAddress((uint8_t *)&report->address, BT_ADDRESS_SIZE); in HciLeDirectedAdvertisingReportEventFilter() 73 BtmFilterAddress((uint8_t *)&report->directAddress, BT_ADDRESS_SIZE); in HciLeDirectedAdvertisingReportEventFilter() 84 HciLeExtendedAdvertisingReport *report = (HciLeExtendedAdvertisingReport *)(param + offset); in HciLeExtendedAdvertisingReportEventFilter() local 86 offset += report->dataLength; in HciLeExtendedAdvertisingReportEventFilter() 87 offset += report in HciLeExtendedAdvertisingReportEventFilter() [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/ |
H A D | spectral.c | 14 /* HW bug, expected BIN size is 2 bytes but HW report as 4 bytes */ 475 struct ath11k_spectral_summary_report *report) in ath11k_spectral_pull_summary() 477 report->timestamp = __le32_to_cpu(summary->timestamp); in ath11k_spectral_pull_summary() 478 report->agc_total_gain = FIELD_GET(SPECTRAL_SUMMARY_INFO0_AGC_TOTAL_GAIN, in ath11k_spectral_pull_summary() 480 report->out_of_band_flag = FIELD_GET(SPECTRAL_SUMMARY_INFO0_OB_FLAG, in ath11k_spectral_pull_summary() 482 report->grp_idx = FIELD_GET(SPECTRAL_SUMMARY_INFO0_GRP_IDX, in ath11k_spectral_pull_summary() 484 report->rf_saturation = FIELD_GET(SPECTRAL_SUMMARY_INFO0_RECENT_RFSAT, in ath11k_spectral_pull_summary() 486 report->inb_pwr_db = FIELD_GET(SPECTRAL_SUMMARY_INFO0_INBAND_PWR_DB, in ath11k_spectral_pull_summary() 488 report->false_scan = FIELD_GET(SPECTRAL_SUMMARY_INFO0_FALSE_SCAN, in ath11k_spectral_pull_summary() 490 report in ath11k_spectral_pull_summary() 472 ath11k_spectral_pull_summary(struct ath11k *ar, struct wmi_dma_buf_release_meta_data *meta, struct spectral_summary_fft_report *summary, struct ath11k_spectral_summary_report *report) ath11k_spectral_pull_summary() argument 506 ath11k_spectral_pull_search(struct ath11k *ar, struct spectral_search_fft_report *search, struct ath11k_spectral_search_report *report) ath11k_spectral_pull_search() argument [all...] |
/kernel/linux/linux-6.6/tools/perf/tests/shell/ |
H A D | record.sh | 41 if ! perf report -i "${perfdata}" -q | grep -q "${testsym}" 64 if ! perf report -i "${perfdata}" -q | grep -q "${testsym}" 105 if ! perf report -i "${perfdata}" -q | grep -q "${testsym}" 118 if ! perf report -i "${perfdata}" -q | grep -q "${testsym}" 135 if ! perf report -i "${perfdata}" -q | grep -q "${testsym}" 148 if ! perf report -i "${perfdata}" -q | grep -q "${testsym}"
|
/kernel/linux/linux-5.10/drivers/hid/ |
H A D | hid-multitouch.c | 116 __s32 *raw_cc; /* contact count in the report */ 126 __u8 touches_by_report; /* how many touches are present in one report: 153 struct hid_report *report; member 418 static void mt_get_feature(struct hid_device *hdev, struct hid_report *report) in mt_get_feature() argument 421 u32 size = hid_report_len(report); in mt_get_feature() 425 * Do not fetch the feature report if the device has been explicitly in mt_get_feature() 431 buf = hid_alloc_report_buf(report, GFP_KERNEL); in mt_get_feature() 435 ret = hid_hw_raw_request(hdev, report->id, buf, size, in mt_get_feature() 439 report->id); in mt_get_feature() 444 dev_warn(&hdev->dev, "failed to report featur in mt_get_feature() 525 mt_allocate_application(struct mt_device *td, struct hid_report *report) mt_allocate_application() argument 560 mt_find_application(struct mt_device *td, struct hid_report *report) mt_find_application() argument 582 mt_allocate_report_data(struct mt_device *td, struct hid_report *report) mt_allocate_report_data() argument 622 mt_find_report_data(struct mt_device *td, struct hid_report *report) mt_find_report_data() argument 1146 struct hid_report *report = rdata->report; mt_touch_report() local 1392 mt_report(struct hid_device *hid, struct hid_report *report) mt_report() argument 1419 struct hid_report *report = field->report; mt_need_to_apply_feature() local 1547 struct hid_report *report; mt_input_configured() local 1616 struct hid_report *report; mt_fix_const_fields() local [all...] |
H A D | hid-holtekff.c | 87 hid_hw_request(hid, holtekff->field->report, HID_REQ_SET_REPORT); in holtekff_send() 126 struct hid_report *report; in holtekff_init() local 141 hid_err(hid, "no output report found\n"); in holtekff_init() 145 report = list_entry(report_list->next, struct hid_report, list); in holtekff_init() 147 if (report->maxfield < 1 || report->field[0]->report_count != 7) { in holtekff_init() 148 hid_err(hid, "unexpected output report layout\n"); in holtekff_init() 158 holtekff->field = report->field[0]; in holtekff_init()
|
H A D | hid-primax.c | 17 static int px_raw_event(struct hid_device *hid, struct hid_report *report, in px_raw_event() argument 22 switch (report->id) { in px_raw_event() 26 * modifier bits and pull the key strokes from the report. in px_raw_event() 27 * Thus a report data set which looked like: in px_raw_event() 50 default: /* unknown report */ in px_raw_event() 51 /* Unknown report type; pass upstream */ in px_raw_event() 52 hid_info(hid, "unknown report type %d\n", report->id); in px_raw_event()
|
H A D | hid-rmi.c | 66 * @input_report_size: size of an input report (advertised by HID) 67 * @output_report_size: size of an output report (advertised by HID) 71 * @reset_work: worker which will be called in case of a mouse report 105 static int rmi_write_report(struct hid_device *hdev, u8 *report, int len); 165 static int rmi_write_report(struct hid_device *hdev, u8 *report, int len) in rmi_write_report() argument 174 ret = hid_hw_raw_request(hdev, report[0], report, in rmi_write_report() 177 ret = hid_hw_output_report(hdev, (void *)report, len); in rmi_write_report() 181 dev_err(&hdev->dev, "failed to write hid report (%d)\n", ret); in rmi_write_report() 221 "failed to write request output report ( in rmi_hid_read_block() 374 rmi_raw_event(struct hid_device *hdev, struct hid_report *report, u8 *data, int size) rmi_raw_event() argument 422 rmi_report(struct hid_device *hid, struct hid_report *report) rmi_report() argument 562 rmi_check_valid_report_id(struct hid_device *hdev, unsigned type, unsigned id, struct hid_report **report) rmi_check_valid_report_id() argument [all...] |
/kernel/linux/linux-5.10/drivers/staging/greybus/ |
H A D | audio_module.c | 23 int report; in gbaudio_request_jack() local 50 report = req->jack_attribute & module->jack_mask; in gbaudio_request_jack() 51 if (!report) { in gbaudio_request_jack() 61 module->jack_type, report); in gbaudio_request_jack() 63 module->jack_type = report; in gbaudio_request_jack() 64 snd_soc_jack_report(&module->headset.jack, report, module->jack_mask); in gbaudio_request_jack() 72 int soc_button_id, report; in gbaudio_request_button() local 93 report = module->button_status & module->button_mask; in gbaudio_request_button() 121 report = report | soc_button_i in gbaudio_request_button() [all...] |
/kernel/linux/linux-6.6/drivers/staging/greybus/ |
H A D | audio_module.c | 23 int report; in gbaudio_request_jack() local 50 report = req->jack_attribute & module->jack_mask; in gbaudio_request_jack() 51 if (!report) { in gbaudio_request_jack() 61 module->jack_type, report); in gbaudio_request_jack() 63 module->jack_type = report; in gbaudio_request_jack() 64 snd_soc_jack_report(&module->headset.jack, report, module->jack_mask); in gbaudio_request_jack() 72 int soc_button_id, report; in gbaudio_request_button() local 93 report = module->button_status & module->button_mask; in gbaudio_request_button() 121 report = report | soc_button_i in gbaudio_request_button() [all...] |
/test/testfwk/xdevice/src/xdevice/_core/context/ |
H A D | upload.py | 30 from _core.report.reporter_helper import DataHelper 31 from _core.report.reporter_helper import ReportConstant 60 LOG.info("No need upload summary report") 66 Uploader.upload_unavailable_result(str(error_message) or "summary report not exists", 80 report = Uploader._get_report_path( 83 (task_name, task_result, error_msg, start_time, end_time, report)) 113 "start": start, "end": end, "report": report_path, 121 "report": ""} 156 LOG.info("Upload report end") 211 def _get_report_path(cls, base_path, report [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | hid.h | 53 * HID report item format 66 * HID report descriptor item type (prefix bit 2,3) 75 * HID report descriptor main item tags 85 * HID report descriptor main item contents 99 * HID report descriptor collection item types 107 * HID report descriptor global item tags 124 * HID report descriptor local item tags 304 * HID report types --- Ouch! HID spec says 1 2 3! 460 unsigned report_offset; /* bit offset in the report */ 461 unsigned report_size; /* size of this field in the report */ 471 struct hid_report *report; /* associated report */ global() member 507 struct hid_report *report; global() member 512 struct hid_report *report; global() member 528 struct hid_report *report; global() member 764 void (*report)(struct hid_device *hdev, struct hid_report *report); global() member 1084 hid_hw_request(struct hid_device *hdev, struct hid_report *report, int reqtype) hid_hw_request() argument 1147 hid_hw_idle(struct hid_device *hdev, int report, int idle, int reqtype) hid_hw_idle() argument 1172 hid_report_len(struct hid_report *report) hid_report_len() argument [all...] |
/kernel/linux/linux-5.10/arch/s390/kernel/ |
H A D | machine_kexec_file.c | 171 return ipl_report_add_component(data->report, &buf, 0, 0); in kexec_file_add_initrd() 199 addr = data->memsz + data->report->size; in kexec_file_add_ipl_report() 205 ipl_report_add_certificate(data->report, ptr, addr, len); in kexec_file_add_ipl_report() 211 buf.buffer = ipl_report_finish(data->report); in kexec_file_add_ipl_report() 214 buf.bufsz = data->report->size; in kexec_file_add_ipl_report() 239 data.report = ipl_report_init(&ipl_block); in kexec_file_add_components() 240 if (IS_ERR(data.report)) in kexec_file_add_components() 241 return data.report; in kexec_file_add_components() 278 ipl_report_free(data.report); in kexec_file_add_components()
|
/kernel/linux/linux-6.6/drivers/hid/surface-hid/ |
H A D | surface_kbd.c | 24 #define KBD_FEATURE_REPORT_SIZE 7 /* 6 + report ID */ 105 dev_err(shid->dev, "invalid feature report length: got %zu, expected, %zu\n", in ssam_kbd_get_feature_report() 163 /* Check if we got the correct report. */ in skbd_get_caps_led_value() 164 if (len != hid_report_len(field->report)) in skbd_get_caps_led_value() 167 if (rprt_id != field->report->id) in skbd_get_caps_led_value() 202 u8 report[KBD_FEATURE_REPORT_SIZE]; in skbd_get_feature_report() local 206 * The keyboard only has a single hard-coded read-only feature report in skbd_get_feature_report() 208 * report ID against the requested one. in skbd_get_feature_report() 211 if (len < ARRAY_SIZE(report)) in skbd_get_feature_report() 214 status = ssam_kbd_get_feature_report(shid, report, ARRAY_SIZ in skbd_get_feature_report() [all...] |