Home
last modified time | relevance | path

Searched refs:itr (Results 1 – 25 of 75) sorted by relevance

123

/Linux-v4.19/tools/perf/arch/arm/util/
Dcs-etm.c32 struct auxtrace_record itr; member
39 static bool cs_etm_is_etmv4(struct auxtrace_record *itr, int cpu);
41 static int cs_etm_parse_snapshot_options(struct auxtrace_record *itr, in cs_etm_parse_snapshot_options() argument
46 container_of(itr, struct cs_etm_recording, itr); in cs_etm_parse_snapshot_options()
63 static int cs_etm_recording_options(struct auxtrace_record *itr, in cs_etm_recording_options() argument
68 container_of(itr, struct cs_etm_recording, itr); in cs_etm_recording_options()
231 static u64 cs_etm_get_config(struct auxtrace_record *itr) in cs_etm_get_config() argument
235 container_of(itr, struct cs_etm_recording, itr); in cs_etm_get_config()
262 static u64 cs_etmv4_get_config(struct auxtrace_record *itr) in cs_etmv4_get_config() argument
273 config_opts = cs_etm_get_config(itr); in cs_etmv4_get_config()
[all …]
/Linux-v4.19/tools/perf/arch/x86/util/
Dintel-bts.c45 struct auxtrace_record itr; member
61 intel_bts_info_priv_size(struct auxtrace_record *itr __maybe_unused, in intel_bts_info_priv_size()
67 static int intel_bts_info_fill(struct auxtrace_record *itr, in intel_bts_info_fill() argument
73 container_of(itr, struct intel_bts_recording, itr); in intel_bts_info_fill()
110 static int intel_bts_recording_options(struct auxtrace_record *itr, in intel_bts_recording_options() argument
115 container_of(itr, struct intel_bts_recording, itr); in intel_bts_recording_options()
250 static int intel_bts_parse_snapshot_options(struct auxtrace_record *itr, in intel_bts_parse_snapshot_options() argument
255 container_of(itr, struct intel_bts_recording, itr); in intel_bts_parse_snapshot_options()
273 static u64 intel_bts_reference(struct auxtrace_record *itr __maybe_unused) in intel_bts_reference()
312 static void intel_bts_recording_free(struct auxtrace_record *itr) in intel_bts_recording_free() argument
[all …]
Dintel-pt.c52 struct auxtrace_record itr; member
240 static int intel_pt_parse_snapshot_options(struct auxtrace_record *itr, in intel_pt_parse_snapshot_options() argument
245 container_of(itr, struct intel_pt_recording, itr); in intel_pt_parse_snapshot_options()
300 intel_pt_info_priv_size(struct auxtrace_record *itr, struct perf_evlist *evlist) in intel_pt_info_priv_size() argument
303 container_of(itr, struct intel_pt_recording, itr); in intel_pt_info_priv_size()
321 static int intel_pt_info_fill(struct auxtrace_record *itr, in intel_pt_info_fill() argument
327 container_of(itr, struct intel_pt_recording, itr); in intel_pt_info_fill()
548 static int intel_pt_recording_options(struct auxtrace_record *itr, in intel_pt_recording_options() argument
553 container_of(itr, struct intel_pt_recording, itr); in intel_pt_recording_options()
780 static int intel_pt_snapshot_start(struct auxtrace_record *itr) in intel_pt_snapshot_start() argument
[all …]
/Linux-v4.19/tools/perf/arch/arm64/util/
Darm-spe.c27 struct auxtrace_record itr; member
33 arm_spe_info_priv_size(struct auxtrace_record *itr __maybe_unused, in arm_spe_info_priv_size()
39 static int arm_spe_info_fill(struct auxtrace_record *itr, in arm_spe_info_fill() argument
45 container_of(itr, struct arm_spe_recording, itr); in arm_spe_info_fill()
60 static int arm_spe_recording_options(struct auxtrace_record *itr, in arm_spe_recording_options() argument
65 container_of(itr, struct arm_spe_recording, itr); in arm_spe_recording_options()
141 static u64 arm_spe_reference(struct auxtrace_record *itr __maybe_unused) in arm_spe_reference()
150 static void arm_spe_recording_free(struct auxtrace_record *itr) in arm_spe_recording_free() argument
153 container_of(itr, struct arm_spe_recording, itr); in arm_spe_recording_free()
158 static int arm_spe_read_finish(struct auxtrace_record *itr, int idx) in arm_spe_read_finish() argument
[all …]
/Linux-v4.19/drivers/uwb/
Dest.c260 unsigned itr; in uwb_est_register() local
270 for (itr = 0; itr < uwb_est_used; itr++) in uwb_est_register()
271 if (uwb_est[itr].type_event_high < type in uwb_est_register()
272 && uwb_est[itr].vendor < vendor in uwb_est_register()
273 && uwb_est[itr].product < product) in uwb_est_register()
277 if (itr < uwb_est_used) in uwb_est_register()
278 memmove(&uwb_est[itr+1], &uwb_est[itr], uwb_est_used - itr); in uwb_est_register()
279 uwb_est[itr].type_event_high = type << 8 | event_high; in uwb_est_register()
280 uwb_est[itr].vendor = vendor; in uwb_est_register()
281 uwb_est[itr].product = product; in uwb_est_register()
[all …]
Ddrp-avail.c141 unsigned long get_val(u8 *array, size_t itr, size_t len) in get_val() argument
144 size_t top = itr + len; in get_val()
148 while (itr < top) { in get_val()
206 size_t itr, len; in buffer_to_bmp() local
209 itr = 0; in buffer_to_bmp()
210 while (itr < buffer_size) { in buffer_to_bmp()
211 len = buffer_size - itr >= sizeof(val) ? in buffer_to_bmp()
212 sizeof(val) : buffer_size - itr; in buffer_to_bmp()
213 val = get_val(buffer, itr, len); in buffer_to_bmp()
214 bmp_itr[itr / sizeof(val)] = val; in buffer_to_bmp()
[all …]
/Linux-v4.19/drivers/usb/wusbcore/
Dmmc.c84 unsigned handle, itr; in wusbhc_mmcie_set() local
101 for (itr = 0; itr < wusbhc->mmcies_max - 1; itr++) { in wusbhc_mmcie_set()
102 if (wusbhc->mmcie[itr] == wuie) { in wusbhc_mmcie_set()
103 handle = itr; in wusbhc_mmcie_set()
106 if (wusbhc->mmcie[itr] == NULL) in wusbhc_mmcie_set()
107 handle = itr; in wusbhc_mmcie_set()
130 unsigned handle, itr; in wusbhc_mmcie_rm() local
133 for (itr = 0; itr < wusbhc->mmcies_max; itr++) { in wusbhc_mmcie_rm()
134 if (wusbhc->mmcie[itr] == wuie) { in wusbhc_mmcie_rm()
135 handle = itr; in wusbhc_mmcie_rm()
[all …]
Ddevconnect.c694 void *itr, *top; in wusb_dev_bos_grok() local
697 itr = (void *)bos + sizeof(*bos); in wusb_dev_bos_grok()
698 top = itr + desc_size - sizeof(*bos); in wusb_dev_bos_grok()
699 while (itr < top) { in wusb_dev_bos_grok()
700 struct usb_dev_cap_header *cap_hdr = itr; in wusb_dev_bos_grok()
703 if (top - itr < sizeof(*cap_hdr)) { in wusb_dev_bos_grok()
706 (int)(itr - (void *)bos), top - itr); in wusb_dev_bos_grok()
714 if (cap_size > top - itr) { in wusb_dev_bos_grok()
718 (int)(itr - (void *)bos), in wusb_dev_bos_grok()
719 cap_type, cap_size, top - itr); in wusb_dev_bos_grok()
[all …]
Dcrypto.c117 size_t itr; in bytewise_xor() local
118 for (itr = 0; itr < size; itr++) in bytewise_xor()
119 bo[itr] = bi1[itr] ^ bi2[itr]; in bytewise_xor()
Drh.c411 size_t port_size, itr; in wusbhc_rh_create() local
416 for (itr = 0; itr < wusbhc->ports_max; itr++) in wusbhc_rh_create()
417 wusb_port_init(&wusbhc->port[itr]); in wusbhc_rh_create()
Dwa-nep.c80 void *itr; in wa_notif_dispatch() local
97 itr = nw->data; in wa_notif_dispatch()
104 notif_hdr = itr; in wa_notif_dispatch()
107 itr += notif_hdr->bLength; in wa_notif_dispatch()
/Linux-v4.19/drivers/crypto/qat/qat_common/
Dadf_dev_mgr.c80 struct list_head *itr; in adf_find_vf() local
82 list_for_each(itr, &vfs_table) { in adf_find_vf()
84 list_entry(itr, struct vf_id_map, list); in adf_find_vf()
94 struct list_head *itr; in adf_get_vf_real_id() local
96 list_for_each(itr, &vfs_table) { in adf_get_vf_real_id()
98 list_entry(itr, struct vf_id_map, list); in adf_get_vf_real_id()
144 struct list_head *itr; in adf_devmgr_update_class_index() local
147 list_for_each(itr, &accel_table) { in adf_devmgr_update_class_index()
149 list_entry(itr, struct adf_accel_dev, list); in adf_devmgr_update_class_index()
186 struct list_head *itr; in adf_devmgr_add_dev() local
[all …]
/Linux-v4.19/tools/perf/util/
Dauxtrace.h309 int (*recording_options)(struct auxtrace_record *itr,
312 size_t (*info_priv_size)(struct auxtrace_record *itr,
314 int (*info_fill)(struct auxtrace_record *itr,
318 void (*free)(struct auxtrace_record *itr);
319 int (*snapshot_start)(struct auxtrace_record *itr);
320 int (*snapshot_finish)(struct auxtrace_record *itr);
321 int (*find_snapshot)(struct auxtrace_record *itr, int idx,
324 int (*parse_snapshot_options)(struct auxtrace_record *itr,
327 u64 (*reference)(struct auxtrace_record *itr);
328 int (*read_finish)(struct auxtrace_record *itr, int idx);
[all …]
Dauxtrace.c512 size_t auxtrace_record__info_priv_size(struct auxtrace_record *itr, in auxtrace_record__info_priv_size() argument
515 if (itr) in auxtrace_record__info_priv_size()
516 return itr->info_priv_size(itr, evlist); in auxtrace_record__info_priv_size()
526 int auxtrace_record__info_fill(struct auxtrace_record *itr, in auxtrace_record__info_fill() argument
531 if (itr) in auxtrace_record__info_fill()
532 return itr->info_fill(itr, session, auxtrace_info, priv_size); in auxtrace_record__info_fill()
536 void auxtrace_record__free(struct auxtrace_record *itr) in auxtrace_record__free() argument
538 if (itr) in auxtrace_record__free()
539 itr->free(itr); in auxtrace_record__free()
542 int auxtrace_record__snapshot_start(struct auxtrace_record *itr) in auxtrace_record__snapshot_start() argument
[all …]
/Linux-v4.19/tools/perf/arch/s390/util/
Dauxtrace.c16 static void cpumsf_free(struct auxtrace_record *itr) in cpumsf_free() argument
18 free(itr); in cpumsf_free()
21 static size_t cpumsf_info_priv_size(struct auxtrace_record *itr __maybe_unused, in cpumsf_info_priv_size()
28 cpumsf_info_fill(struct auxtrace_record *itr __maybe_unused, in cpumsf_info_fill()
38 cpumsf_reference(struct auxtrace_record *itr __maybe_unused) in cpumsf_reference()
73 cpumsf_parse_snapshot_options(struct auxtrace_record *itr __maybe_unused, in cpumsf_parse_snapshot_options()
/Linux-v4.19/include/linux/wimax/
Ddebug.h458 struct d_level *itr, *top; in d_submodule_set() local
461 for (itr = d_level, top = itr + d_level_size; itr < top; itr++) { in d_submodule_set()
463 if (itr->name == NULL) { in d_submodule_set()
465 tag, itr, index); in d_submodule_set()
468 if (!strcmp(itr->name, submodule)) { in d_submodule_set()
469 itr->level = level; in d_submodule_set()
/Linux-v4.19/net/dcb/
Ddcbnl.c1031 struct dcb_app_type *itr; in dcbnl_ieee_fill() local
1114 list_for_each_entry(itr, &dcb_app_list, list) { in dcbnl_ieee_fill()
1115 if (itr->ifindex == netdev->ifindex) { in dcbnl_ieee_fill()
1116 err = nla_put(skb, DCB_ATTR_IEEE_APP, sizeof(itr->app), in dcbnl_ieee_fill()
1117 &itr->app); in dcbnl_ieee_fill()
1227 struct dcb_app_type *itr; in dcbnl_cee_fill() local
1272 list_for_each_entry(itr, &dcb_app_list, list) { in dcbnl_cee_fill()
1273 if (itr->ifindex == netdev->ifindex) { in dcbnl_cee_fill()
1280 itr->app.selector); in dcbnl_cee_fill()
1285 itr->app.protocol); in dcbnl_cee_fill()
[all …]
/Linux-v4.19/drivers/net/ethernet/intel/e1000e/
Dparam.c337 adapter->itr = InterruptThrottleRate[bd]; in e1000e_check_options()
344 if ((adapter->itr > 4) && in e1000e_check_options()
345 e1000_validate_option(&adapter->itr, &opt, adapter)) in e1000e_check_options()
346 adapter->itr = opt.def; in e1000e_check_options()
351 adapter->itr = opt.def; in e1000e_check_options()
356 if (adapter->itr > 4) in e1000e_check_options()
359 adapter->itr); in e1000e_check_options()
362 adapter->itr_setting = adapter->itr; in e1000e_check_options()
363 switch (adapter->itr) { in e1000e_check_options()
371 adapter->itr = 20000; in e1000e_check_options()
[all …]
/Linux-v4.19/drivers/uwb/i1480/dfu/
Dusb.c115 size_t buffer_size, itr = 0; in i1480_usb_write() local
120 memcpy(i1480->cmd_buf, buffer + itr, buffer_size); in i1480_usb_write()
128 itr += result; in i1480_usb_write()
153 size_t itr, read_size = i1480->buf_size; in i1480_usb_read() local
163 for (itr = 0; itr < size; itr += read_size) { in i1480_usb_read()
164 size_t itr_addr = addr + itr; in i1480_usb_read()
165 size_t itr_size = min(read_size, size - itr); in i1480_usb_read()
170 i1480->cmd_buf + itr, itr_size, in i1480_usb_read()
/Linux-v4.19/drivers/net/ethernet/intel/e1000/
De1000_param.c438 adapter->itr = InterruptThrottleRate[bd]; in e1000_check_options()
439 switch (adapter->itr) { in e1000_check_options()
446 adapter->itr_setting = adapter->itr; in e1000_check_options()
447 adapter->itr = 20000; in e1000_check_options()
452 adapter->itr_setting = adapter->itr; in e1000_check_options()
453 adapter->itr = 20000; in e1000_check_options()
458 adapter->itr_setting = adapter->itr; in e1000_check_options()
461 e1000_validate_option(&adapter->itr, &opt, in e1000_check_options()
468 adapter->itr_setting = adapter->itr & ~3; in e1000_check_options()
473 adapter->itr = 20000; in e1000_check_options()
/Linux-v4.19/tools/testing/selftests/gpio/
Dgpio-mockup-chardev.c38 struct libmnt_iter *itr = NULL; in get_debugfs() local
46 itr = mnt_new_iter(MNT_ITER_FORWARD); in get_debugfs()
47 if (!itr) in get_debugfs()
53 while (mnt_table_next_fs(tb, itr, &fs) == 0) { in get_debugfs()
64 mnt_free_iter(itr); in get_debugfs()
/Linux-v4.19/drivers/usb/host/
Dhwa-hc.c556 char *itr; in wa_fill_descr() local
564 itr = usb_dev->rawdescriptors[actconfig_idx]; in wa_fill_descr()
567 hdr = (struct usb_descriptor_header *) itr; in wa_fill_descr()
571 (itr - usb_dev->rawdescriptors[actconfig_idx]), in wa_fill_descr()
575 itr += hdr->bLength; in wa_fill_descr()
630 void *itr, *top; in hwahc_security_create() local
638 itr = usb_dev->rawdescriptors[index]; in hwahc_security_create()
640 top = itr + itr_size; in hwahc_security_create()
663 itr = (void *) secd + sizeof(*secd); in hwahc_security_create()
667 while (itr < top) { in hwahc_security_create()
[all …]
/Linux-v4.19/drivers/net/ethernet/qualcomm/emac/
Demac-sgmii-qdf2432.c115 const struct emac_reg_write *itr, size_t size) in emac_reg_write_all() argument
119 for (i = 0; i < size; ++itr, ++i) in emac_reg_write_all()
120 writel(itr->val, base + itr->offset); in emac_reg_write_all()
Demac-sgmii-qdf2400.c125 const struct emac_reg_write *itr, size_t size) in emac_reg_write_all() argument
129 for (i = 0; i < size; ++itr, ++i) in emac_reg_write_all()
130 writel(itr->val, base + itr->offset); in emac_reg_write_all()
/Linux-v4.19/drivers/net/ethernet/intel/i40evf/
Di40e_txrx.c419 unsigned int avg_wire_size, packets, bytes, itr; in i40e_update_itr() local
431 itr = i40e_container_is_rx(q_vector, rc) ? in i40e_update_itr()
450 itr = rc->target_itr; in i40e_update_itr()
465 itr = I40E_ITR_ADAPTIVE_LATENCY; in i40e_update_itr()
494 itr = rc->target_itr + I40E_ITR_ADAPTIVE_MIN_INC; in i40e_update_itr()
495 if ((itr & I40E_ITR_MASK) > I40E_ITR_ADAPTIVE_MAX_USECS) { in i40e_update_itr()
496 itr &= I40E_ITR_ADAPTIVE_LATENCY; in i40e_update_itr()
497 itr += I40E_ITR_ADAPTIVE_MAX_USECS; in i40e_update_itr()
503 itr = min(q_vector->tx.current_itr, q_vector->rx.current_itr); in i40e_update_itr()
504 itr &= I40E_ITR_MASK; in i40e_update_itr()
[all …]

123