/linux/drivers/mfd/ |
H A D | si476x-cmd.c | 761 if (!report) in si476x_core_cmd_am_rsq_status() 778 report->snr = resp[7]; in si476x_core_cmd_am_rsq_status() 797 if (!report) in si476x_core_cmd_fm_acf_status() 833 if (!report) in si476x_core_cmd_am_acf_status() 976 if (!report) in si476x_core_cmd_fm_rds_blockcount() 1207 report->snr = resp[7]; in si476x_core_cmd_fm_rsq_status_a10() 1261 report->snr = resp[7]; in si476x_core_cmd_fm_rsq_status_a20() 1317 report->snr = resp[7]; in si476x_core_cmd_fm_rsq_status_a30() 1376 if (!report) in si476x_core_cmd_agc_status_a20() 1404 if (!report) in si476x_core_cmd_agc_status_a10() [all …]
|
/linux/drivers/hid/ |
H A D | hid-gaff.c | 26 struct hid_report *report; member 44 gaff->report->field[0]->value[0] = 0x51; in hid_gaff_play() 45 gaff->report->field[0]->value[1] = 0x0; in hid_gaff_play() 47 gaff->report->field[0]->value[3] = 0; in hid_gaff_play() 48 gaff->report->field[0]->value[4] = left; in hid_gaff_play() 49 gaff->report->field[0]->value[5] = 0; in hid_gaff_play() 55 gaff->report->field[0]->value[2] = 0x0; in hid_gaff_play() 56 gaff->report->field[0]->value[4] = 0x0; in hid_gaff_play() 66 struct hid_report *report; in gaff_init() local 89 if (report->maxfield < 1) { in gaff_init() [all …]
|
H A D | hid-lg2ff.c | 19 struct hid_report *report; member 52 struct hid_report *report; in lg2ff_init() local 66 if (!report) in lg2ff_init() 81 lg2ff->report = report; in lg2ff_init() 82 report->field[0]->value[0] = 0xf3; in lg2ff_init() 83 report->field[0]->value[1] = 0x00; in lg2ff_init() 84 report->field[0]->value[2] = 0x00; in lg2ff_init() 85 report->field[0]->value[3] = 0x00; in lg2ff_init() 86 report->field[0]->value[4] = 0x00; in lg2ff_init() 87 report->field[0]->value[5] = 0x00; in lg2ff_init() [all …]
|
H A D | hid-dr.c | 28 struct hid_report *report; member 53 drff->report->field[0]->value[0] = 0x51; in drff_play() 54 drff->report->field[0]->value[1] = 0x00; in drff_play() 55 drff->report->field[0]->value[2] = weak; in drff_play() 59 drff->report->field[0]->value[0] = 0xfa; in drff_play() 60 drff->report->field[0]->value[1] = 0xfe; in drff_play() 66 drff->report->field[0]->value[2] = 0x00; in drff_play() 67 drff->report->field[0]->value[4] = 0x00; in drff_play() 77 struct hid_report *report; in drff_init() local 97 if (report->maxfield < 1) { in drff_init() [all …]
|
H A D | hid-pl.c | 41 struct hid_report *report; member 72 struct hid_report *report; in plff_init() local 111 if (report->maxfield < 1) { in plff_init() 118 report->field[0]->value[0] = 0x00; in plff_init() 119 report->field[0]->value[1] = 0x00; in plff_init() 121 weak = &report->field[0]->value[3]; in plff_init() 126 report->maxfield >= 4 && in plff_init() 131 report->field[0]->value[0] = 0x00; in plff_init() 132 report->field[1]->value[0] = 0x00; in plff_init() 134 weak = &report->field[3]->value[0]; in plff_init() [all …]
|
H A D | hid-lg3ff.c | 56 memset(report->field[0]->value, 0, in hid_lg3ff_play() 69 report->field[0]->value[0] = 0x51; in hid_lg3ff_play() 94 report->field[0]->value[0] = 0x51; in hid_lg3ff_set_autocenter() 95 report->field[0]->value[1] = 0x00; in hid_lg3ff_set_autocenter() 96 report->field[0]->value[2] = 0x00; in hid_lg3ff_set_autocenter() 97 report->field[0]->value[3] = 0x7F; in hid_lg3ff_set_autocenter() 98 report->field[0]->value[4] = 0x7F; in hid_lg3ff_set_autocenter() 99 report->field[0]->value[31] = 0x00; in hid_lg3ff_set_autocenter() 100 report->field[0]->value[32] = 0x00; in hid_lg3ff_set_autocenter() 101 report->field[0]->value[33] = 0x7F; in hid_lg3ff_set_autocenter() [all …]
|
H A D | hid-emsff.c | 19 struct hid_report *report; member 37 emsff->report->field[0]->value[1] = weak; in emsff_play() 38 emsff->report->field[0]->value[2] = strong; in emsff_play() 49 struct hid_report *report; in emsff_init() local 69 if (report->maxfield < 1) { in emsff_init() 74 if (report->field[0]->report_count < 7) { in emsff_init() 91 emsff->report = report; in emsff_init() 92 emsff->report->field[0]->value[0] = 0x01; in emsff_init() 93 emsff->report->field[0]->value[1] = 0x00; in emsff_init() 94 emsff->report->field[0]->value[2] = 0x00; in emsff_init() [all …]
|
H A D | hid-sensor-hub.c | 58 struct hid_report *report; in sensor_hub_report() local 61 if (report->id == id) in sensor_hub_report() 62 return report; in sensor_hub_report() 203 if (!report || (field_index >= report->maxfield)) { in sensor_hub_set_feature() 253 if (!report || (field_index >= report->maxfield) || in sensor_hub_get_feature() 303 if (!report) in sensor_hub_input_attr_get_raw_value() 360 if (!report || (field_index >= report->maxfield)) in hid_sensor_get_usage_index() 411 report->id, in sensor_hub_input_get_attribute_info() 485 report->id, size, report->type); in sensor_hub_raw_event() 491 if (report->id) in sensor_hub_raw_event() [all …]
|
H A D | hid-betopff.c | 34 struct hid_report *report; member 47 betopff->report->field[2]->value[0] = left / 256; in hid_betopff_play() 48 betopff->report->field[3]->value[0] = right / 256; in hid_betopff_play() 58 struct hid_report *report; in betopff_init() local 88 if (report->maxfield < 4) { in betopff_init() 90 report->maxfield); in betopff_init() 93 for (i = 0; i < report->maxfield; i++) { in betopff_init() 94 if (report->field[i]->report_count < 1) { in betopff_init() 98 for (j = 0; j < report->field[i]->report_count; j++) { in betopff_init() 99 report->field[i]->value[j] = 0x00; in betopff_init() [all …]
|
H A D | hid-zpff.c | 22 struct hid_report *report; member 45 zpff->report->field[2]->value[0] = left; in zpff_play() 46 zpff->report->field[3]->value[0] = right; in zpff_play() 48 hid_hw_request(hid, zpff->report, HID_REQ_SET_REPORT); in zpff_play() 56 struct hid_report *report; in zpff_init() local 70 if (!report) in zpff_init() 86 zpff->report = report; in zpff_init() 87 zpff->report->field[0]->value[0] = 0x00; in zpff_init() 88 zpff->report->field[1]->value[0] = 0x02; in zpff_init() 89 zpff->report->field[2]->value[0] = 0x00; in zpff_init() [all …]
|
H A D | hid-cp2112.c | 414 report.report = CP2112_DATA_READ_FORCE_SEND; in cp2112_read() 419 ret = cp2112_hid_output(hdev, &report.report, sizeof(report), in cp2112_read() 447 report->report = CP2112_DATA_READ_REQUEST; in cp2112_read_req() 462 report->report = CP2112_DATA_WRITE_READ_REQUEST; in cp2112_write_read_req() 479 report->report = CP2112_DATA_WRITE_REQUEST; in cp2112_write_req() 495 report->report = CP2112_DATA_WRITE_REQUEST; in cp2112_i2c_write_req() 512 report->report = CP2112_DATA_WRITE_READ_REQUEST; in cp2112_i2c_write_read_req() 954 memset(&report, 0, sizeof(report)); in pstr_store() 957 report.string, ARRAY_SIZE(report.string)); in pstr_store() 958 report.report = number; in pstr_store() [all …]
|
H A D | hid-axff.c | 28 struct hid_report *report; member 35 struct hid_report *report = axff->report; in axff_play() local 48 for (i = 0; i < report->maxfield; i++) { in axff_play() 49 for (j = 0; j < report->field[i]->report_count; j++) { in axff_play() 50 report->field[i]->value[j] = in axff_play() 57 hid_hw_request(hid, axff->report, HID_REQ_SET_REPORT); in axff_play() 65 struct hid_report *report; in axff_init() local 86 for (i = 0; i < report->maxfield; i++) { in axff_init() 88 report->field[i]->value[j] = 0x00; in axff_init() 109 axff->report = report; in axff_init() [all …]
|
H A D | hid-sjoy.c | 26 struct hid_report *report; member 43 sjoyff->report->field[0]->value[1] = right; in hid_sjoyff_play() 44 sjoyff->report->field[0]->value[2] = left; in hid_sjoyff_play() 46 hid_hw_request(hid, sjoyff->report, HID_REQ_SET_REPORT); in hid_sjoyff_play() 54 struct hid_report *report; in sjoyff_init() local 76 if (report->maxfield < 1) { in sjoyff_init() 81 if (report->field[0]->report_count < 3) { in sjoyff_init() 100 sjoyff->report = report; in sjoyff_init() 101 sjoyff->report->field[0]->value[0] = 0x01; in sjoyff_init() 102 sjoyff->report->field[0]->value[1] = 0x00; in sjoyff_init() [all …]
|
H A D | hid-picolcd_core.c | 56 struct hid_report *report = NULL; in picolcd_report() local 59 if (report->id == id) in picolcd_report() 60 return report; in picolcd_report() 77 if (!report || !data) in picolcd_send_and_wait() 86 work->out_report = report; in picolcd_send_and_wait() 223 if (!data || !report || report->maxfield != 1) in picolcd_reset() 282 if (!report || report->maxfield != 1) in picolcd_operation_mode_store() 338 size, report->id); in picolcd_raw_event() 408 struct hid_report *report) in picolcd_init_keys() argument 414 if (!report) in picolcd_init_keys() [all …]
|
H A D | hid-picolcd_lcd.c | 29 struct hid_report *report = picolcd_out_report(REPORT_CONTRAST, data->hdev); in picolcd_set_contrast() local 32 if (!report || report->maxfield != 1 || report->field[0]->report_count != 1) in picolcd_set_contrast() 37 hid_set_field(report->field[0], 0, data->lcd_contrast); in picolcd_set_contrast() 39 hid_hw_request(data->hdev, report, HID_REQ_SET_REPORT); in picolcd_set_contrast() 55 int picolcd_init_lcd(struct picolcd_data *data, struct hid_report *report) in picolcd_init_lcd() argument 60 if (!report) in picolcd_init_lcd() 62 if (report->maxfield != 1 || report->field[0]->report_count != 1 || in picolcd_init_lcd() 63 report->field[0]->report_size != 8) { in picolcd_init_lcd()
|
H A D | hid-lgff.c | 73 report->field[0]->value[0] = 0x51; in hid_lgff_play() 74 report->field[0]->value[1] = 0x08; in hid_lgff_play() 75 report->field[0]->value[2] = x; in hid_lgff_play() 76 report->field[0]->value[3] = y; in hid_lgff_play() 78 hid_hw_request(hid, report, HID_REQ_SET_REPORT); in hid_lgff_play() 88 report->field[0]->value[0] = 0x42; in hid_lgff_play() 89 report->field[0]->value[1] = 0x00; in hid_lgff_play() 90 report->field[0]->value[2] = left; in hid_lgff_play() 91 report->field[0]->value[3] = right; in hid_lgff_play() 104 __s32 *value = report->field[0]->value; in hid_lgff_set_autocenter() [all …]
|
H A D | hid-mf.c | 31 struct hid_report *report; member 50 mf->report->field[0]->value[0] = weak; in mf_play() 51 mf->report->field[0]->value[1] = strong; in mf_play() 52 hid_hw_request(hid, mf->report, HID_REQ_SET_REPORT); in mf_play() 65 struct hid_report *report; in mf_init() local 76 report = list_entry(report_ptr, struct hid_report, list); in mf_init() 78 if (report->maxfield < 1 || report->field[0]->report_count < 2) { in mf_init() 104 mf->report = report; in mf_init() 105 mf->report->field[0]->value[0] = 0x00; in mf_init() 106 mf->report->field[0]->value[1] = 0x00; in mf_init() [all …]
|
H A D | hid-core.c | 65 if (!report) in hid_register_report() 71 report->id = id; in hid_register_report() 73 report->size = 0; in hid_register_report() 81 return report; in hid_register_report() 110 field->report = report; in hid_register_field() 269 if (!report) { in hid_add_field() 665 kfree(report); in hid_free_report() 681 if (report) in hid_close_report() 1009 if (!report) { in hid_validate_values() 1983 if (!report) in hid_report_raw_event() [all …]
|
H A D | hid-picolcd_backlight.c | 26 struct hid_report *report = picolcd_out_report(REPORT_BRIGHTNESS, data->hdev); in picolcd_set_brightness() local 29 if (!report || report->maxfield != 1 || report->field[0]->report_count != 1) in picolcd_set_brightness() 35 hid_set_field(report->field[0], 0, data->lcd_power == FB_BLANK_UNBLANK ? data->lcd_brightness : 0); in picolcd_set_brightness() 37 hid_hw_request(data->hdev, report, HID_REQ_SET_REPORT); in picolcd_set_brightness() 53 int picolcd_init_backlight(struct picolcd_data *data, struct hid_report *report) in picolcd_init_backlight() argument 58 if (!report) in picolcd_init_backlight() 60 if (report->maxfield != 1 || report->field[0]->report_count != 1 || in picolcd_init_backlight() 61 report->field[0]->report_size != 8) { in picolcd_init_backlight()
|
/linux/drivers/virt/coco/ |
H A D | tsm.c | 42 struct tsm_report report; member 58 return &state->report; in to_tsm_report() 63 return container_of(report, struct tsm_report_state, report); in to_state() 164 out = report->outblob; in __read_report() 167 out = report->auxblob; in __read_report() 193 if (!report->outblob || in read_cached_report() 221 if (report->outblob && in tsm_report_read() 225 kvfree(report->outblob); in tsm_report_read() 226 kvfree(report->auxblob); in tsm_report_read() 227 report->outblob = NULL; in tsm_report_read() [all …]
|
/linux/tools/perf/ |
H A D | builtin-report.c | 75 struct report { struct 233 static void setup_forced_leader(struct report *report, in setup_forced_leader() argument 271 struct report *rep = container_of(tool, struct report, tool); in process_sample_event() 347 struct report *rep = container_of(tool, struct report, tool); in process_read_event() 1276 struct report report = { in cmd_report() local 1662 if (report.header || report.header_only || report.show_threads) in cmd_report() 1664 if (report.header || report.header_only) in cmd_report() 1668 if (report.stats_mode || report.tasks_mode) in cmd_report() 1670 if (report.stats_mode && report.tasks_mode) { in cmd_report() 1725 if ((report.header || report.header_only) && !quiet) { in cmd_report() [all …]
|
/linux/tools/perf/tests/shell/ |
H A D | test_task_analyzer.sh | 29 report() { function 40 report 1 "invocation of $1 command failed" 47 report 1 "$3" "Failed to find required string:'${1}'." 49 report 0 "$3" 72 perf script report task-analyzer > "$out" 94 perf script report task-analyzer --extended-times --time-limit :99999 \ 102 perf script report task-analyzer --summary > "$out" 109 perf script report task-analyzer --summary-extended > "$out" 116 perf script report task-analyzer --summary-only > "$out" 130 perf script report task-analyzer --csv csv > /dev/null [all …]
|
/linux/Documentation/hid/ |
H A D | hidraw.rst | 18 through it, checking them against the device's report descriptor, such 44 read() will read a queued report received from the HID device. On USB 52 will be the report number; the report data follows, beginning in the second 65 be set to 0. The report data itself should begin at the second byte. 74 This ioctl will get the size of the device's report descriptor. 79 This ioctl returns the device's report descriptor using a 114 This ioctl will send a feature report to the device. Per the HID 119 than the length of the report (to account for the report number). 128 report number in the first byte, followed by the report data read from the 138 state of a report. The format of the buffer issued with this report is identical [all …]
|
/linux/tools/perf/Documentation/ |
H A D | tips.txt | 1 For a higher level overview, try: perf report --sort comm,dso 4 Boolean options have negative forms, e.g.: perf report --no-children 10 Search options using a keyword: perf report -h <keyword> 11 Use parent filter to see specific call path: perf report -p <regex> 15 To see callchains in a more compact form: perf report -g folded 18 Limit to show entries above 5% only: perf report --percent-limit 5 19 Profiling branch (mis)predictions with: perf record -b / perf report 26 If you have debuginfo enabled, try: perf report -s sym,srcline 28 For tracepoint events, try: perf report -s trace_fields 44 For hierarchical output, try: perf report --hierarchy [all …]
|
/linux/scripts/coccinelle/api/ |
H A D | platform_no_drv_owner.cocci | 10 virtual report 26 @fix1 depends on match1 && patch && !context && !org && !report@ 57 @fix2 depends on match2 && patch && !context && !org && !report@ 153 @script:python fix1_report depends on report@ 158 coccilib.report.print_report(j0[0], msg) 160 @script:python fix1_i2c_report depends on report@ 165 coccilib.report.print_report(j0[0], msg) 167 @script:python fix2_report depends on report@ 172 coccilib.report.print_report(j0[0], msg) 174 @script:python fix2_i2c_report depends on report@ [all …]
|