| /linux/tools/perf/arch/arm64/util/ |
| H A D | hisi-ptt.c | 32 struct auxtrace_record itr; member 38 hisi_ptt_info_priv_size(struct auxtrace_record *itr __maybe_unused, in hisi_ptt_info_priv_size() 44 static int hisi_ptt_info_fill(struct auxtrace_record *itr, in hisi_ptt_info_fill() argument 50 container_of(itr, struct hisi_ptt_recording, itr); in hisi_ptt_info_fill() 97 static int hisi_ptt_recording_options(struct auxtrace_record *itr, in hisi_ptt_recording_options() argument 102 container_of(itr, struct hisi_ptt_recording, itr); in hisi_ptt_recording_options() 148 static u64 hisi_ptt_reference(struct auxtrace_record *itr __maybe_unused) in hisi_ptt_reference() 153 static void hisi_ptt_recording_free(struct auxtrace_record *itr) in hisi_ptt_recording_free() argument 156 container_of(itr, struct hisi_ptt_recording, itr); in hisi_ptt_recording_free() 178 pttr->itr.recording_options = hisi_ptt_recording_options; in hisi_ptt_recording_init() [all …]
|
| H A D | arm-spe.c | 37 struct auxtrace_record itr; member 80 arm_spe_info_priv_size(struct auxtrace_record *itr __maybe_unused, in arm_spe_info_priv_size() 97 static int arm_spe_save_cpu_header(struct auxtrace_record *itr, in arm_spe_save_cpu_header() argument 101 container_of(itr, struct arm_spe_recording, itr); in arm_spe_save_cpu_header() 142 static int arm_spe_info_fill(struct auxtrace_record *itr, in arm_spe_info_fill() argument 151 container_of(itr, struct arm_spe_recording, itr); in arm_spe_info_fill() 157 if (priv_size != arm_spe_info_priv_size(itr, session->evlist)) in arm_spe_info_fill() 178 ret = arm_spe_save_cpu_header(itr, cp in arm_spe_info_fill() 391 arm_spe_recording_options(struct auxtrace_record * itr,struct evlist * evlist,struct record_opts * opts) arm_spe_recording_options() argument 464 arm_spe_snapshot_start(struct auxtrace_record * itr) arm_spe_snapshot_start() argument 481 arm_spe_snapshot_finish(struct auxtrace_record * itr) arm_spe_snapshot_finish() argument 584 arm_spe_find_snapshot(struct auxtrace_record * itr,int idx,struct auxtrace_mmap * mm,unsigned char * data,u64 * head,u64 * old) arm_spe_find_snapshot() argument 647 arm_spe_recording_free(struct auxtrace_record * itr) arm_spe_recording_free() argument [all...] |
| /linux/tools/perf/arch/x86/util/ |
| H A D | intel-bts.c | 40 struct auxtrace_record itr; member 56 intel_bts_info_priv_size(struct auxtrace_record *itr __maybe_unused, in intel_bts_info_priv_size() 62 static int intel_bts_info_fill(struct auxtrace_record *itr, in intel_bts_info_fill() argument 68 container_of(itr, struct intel_bts_recording, itr); in intel_bts_info_fill() 105 static int intel_bts_recording_options(struct auxtrace_record *itr, in intel_bts_recording_options() argument 110 container_of(itr, struct intel_bts_recording, itr); in intel_bts_recording_options() 251 static int intel_bts_parse_snapshot_options(struct auxtrace_record *itr, in intel_bts_parse_snapshot_options() argument 256 container_of(itr, struct intel_bts_recording, itr); in intel_bts_parse_snapshot_options() 274 static u64 intel_bts_reference(struct auxtrace_record *itr __maybe_unused) in intel_bts_reference() 313 static void intel_bts_recording_free(struct auxtrace_record *itr) in intel_bts_recording_free() argument [all …]
|
| H A D | intel-pt.c | 52 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() 297 intel_pt_info_priv_size(struct auxtrace_record *itr, struct evlist *evlist) in intel_pt_info_priv_size() argument 300 container_of(itr, struct intel_pt_recording, itr); in intel_pt_info_priv_size() 319 static int intel_pt_info_fill(struct auxtrace_record *itr, in intel_pt_info_fill() argument 325 container_of(itr, struct intel_pt_recording, itr); in intel_pt_info_fill() 612 static int intel_pt_recording_options(struct auxtrace_record *itr, in intel_pt_recording_options() argument 617 container_of(itr, struct intel_pt_recording, itr); in intel_pt_recording_options() 896 static int intel_pt_snapshot_start(struct auxtrace_record *itr) in intel_pt_snapshot_start() argument [all …]
|
| /linux/tools/perf/arch/arm/util/ |
| H A D | cs-etm.c | 38 struct auxtrace_record itr; member 183 static struct perf_pmu *cs_etm_get_pmu(struct auxtrace_record *itr) in cs_etm_get_pmu() argument 185 struct cs_etm_recording *ptr = container_of(itr, struct cs_etm_recording, itr); in cs_etm_get_pmu() 240 static int cs_etm_parse_snapshot_options(struct auxtrace_record *itr, in cs_etm_parse_snapshot_options() argument 245 container_of(itr, struct cs_etm_recording, itr); in cs_etm_parse_snapshot_options() 317 static int cs_etm_recording_options(struct auxtrace_record *itr, in cs_etm_recording_options() argument 323 container_of(itr, struct cs_etm_recording, itr); in cs_etm_recording_options() 486 static u64 cs_etm_synth_etmcr(struct auxtrace_record *itr) in cs_etm_synth_etmcr() argument 489 container_of(itr, struct cs_etm_recording, itr); in cs_etm_synth_etmcr() 513 static u64 cs_etmv4_synth_trcconfigr(struct auxtrace_record *itr) in cs_etmv4_synth_trcconfigr() argument [all …]
|
| /linux/drivers/crypto/intel/qat/qat_common/ |
| H A D | adf_dev_mgr.c | 36 struct list_head *itr; in adf_find_vf() local 38 list_for_each(itr, &vfs_table) { in adf_find_vf() 40 list_entry(itr, struct vf_id_map, list); in adf_find_vf() 50 struct list_head *itr; in adf_get_vf_real_id() local 52 list_for_each(itr, &vfs_table) { in adf_get_vf_real_id() 54 list_entry(itr, struct vf_id_map, list); in adf_get_vf_real_id() 100 struct list_head *itr; in adf_devmgr_update_class_index() local 103 list_for_each(itr, &accel_table) { in adf_devmgr_update_class_index() 105 list_entry(itr, struct adf_accel_dev, list); in adf_devmgr_update_class_index() 142 struct list_head *itr; in adf_devmgr_add_dev() local [all …]
|
| /linux/net/dcb/ |
| H A D | dcbnl.c | 1142 struct dcb_app_type *itr; in dcbnl_ieee_fill() local 1224 list_for_each_entry(itr, &dcb_app_list, list) { in dcbnl_ieee_fill() 1225 if (itr->ifindex == netdev->ifindex) { in dcbnl_ieee_fill() 1227 dcbnl_app_attr_type_get(itr->app.selector); in dcbnl_ieee_fill() 1228 err = nla_put(skb, type, sizeof(itr->app), &itr->app); in dcbnl_ieee_fill() 1249 list_for_each_entry(itr, &dcb_rewr_list, list) { in dcbnl_ieee_fill() 1250 if (itr->ifindex == netdev->ifindex) { in dcbnl_ieee_fill() 1252 dcbnl_app_attr_type_get(itr->app.selector); in dcbnl_ieee_fill() 1253 err = nla_put(skb, type, sizeof(itr->app), &itr->app); in dcbnl_ieee_fill() 1365 struct dcb_app_type *itr; in dcbnl_cee_fill() local [all …]
|
| /linux/tools/perf/util/ |
| H A D | auxtrace.h | 388 int (*recording_options)(struct auxtrace_record *itr, 391 size_t (*info_priv_size)(struct auxtrace_record *itr, 393 int (*info_fill)(struct auxtrace_record *itr, 397 void (*free)(struct auxtrace_record *itr); 398 int (*snapshot_start)(struct auxtrace_record *itr); 399 int (*snapshot_finish)(struct auxtrace_record *itr); 400 int (*find_snapshot)(struct auxtrace_record *itr, int idx, 403 int (*parse_snapshot_options)(struct auxtrace_record *itr, 406 u64 (*reference)(struct auxtrace_record *itr); 407 int (*read_finish)(struct auxtrace_record *itr, int idx); [all …]
|
| H A D | auxtrace.c | 574 size_t auxtrace_record__info_priv_size(struct auxtrace_record *itr, in auxtrace_record__info_priv_size() argument 577 if (itr) in auxtrace_record__info_priv_size() 578 return itr->info_priv_size(itr, evlist); in auxtrace_record__info_priv_size() 588 int auxtrace_record__info_fill(struct auxtrace_record *itr, in auxtrace_record__info_fill() argument 593 if (itr) in auxtrace_record__info_fill() 594 return itr->info_fill(itr, session, auxtrace_info, priv_size); in auxtrace_record__info_fill() 598 void auxtrace_record__free(struct auxtrace_record *itr) in auxtrace_record__free() argument 600 if (itr) in auxtrace_record__free() 601 itr->free(itr); in auxtrace_record__free() 604 int auxtrace_record__snapshot_start(struct auxtrace_record *itr) in auxtrace_record__snapshot_start() argument [all …]
|
| H A D | evlist.c | 431 void evlist_cpu_iterator__init(struct evlist_cpu_iterator *itr, struct evlist *evlist) in evlist_cpu_iterator__init() 433 *itr = (struct evlist_cpu_iterator){ in evlist_cpu_iterator__init() 445 itr->evlist_cpu_map_idx = itr->evlist_cpu_map_nr; in evlist_cpu_iterator__init() 450 if (affinity__setup(&itr->saved_affinity) == 0) in evlist_cpu_iterator__init() 451 itr->affinity = &itr->saved_affinity; in evlist_cpu_iterator__init() 453 itr->evsel = evlist__first(evlist); in evlist_cpu_iterator__init() 454 itr->cpu = perf_cpu_map__cpu(evlist->core.all_cpus, 0); in evlist_cpu_iterator__init() 455 if (itr in evlist_cpu_iterator__init() 421 evlist_cpu_iterator__init(struct evlist_cpu_iterator * itr,struct evlist * evlist) evlist_cpu_iterator__init() argument 456 evlist_cpu_iterator__exit(struct evlist_cpu_iterator * itr) evlist_cpu_iterator__exit() argument [all...] |
| /linux/tools/perf/arch/s390/util/ |
| H A D | auxtrace.c | 20 static void cpumsf_free(struct auxtrace_record *itr) in cpumsf_free() argument 22 free(itr); in cpumsf_free() 25 static size_t cpumsf_info_priv_size(struct auxtrace_record *itr __maybe_unused, in cpumsf_info_priv_size() 32 cpumsf_info_fill(struct auxtrace_record *itr __maybe_unused, in cpumsf_info_fill() 42 cpumsf_reference(struct auxtrace_record *itr __maybe_unused) in cpumsf_reference() 77 cpumsf_parse_snapshot_options(struct auxtrace_record *itr __maybe_unused, in cpumsf_parse_snapshot_options()
|
| /linux/tools/perf/arch/powerpc/util/ |
| H A D | auxtrace.c | 40 static size_t powerpc_vpadtl_info_priv_size(struct auxtrace_record *itr __maybe_unused, in powerpc_vpadtl_info_priv_size() 47 powerpc_vpadtl_info_fill(struct auxtrace_record *itr __maybe_unused, in powerpc_vpadtl_info_fill() 57 static void powerpc_vpadtl_free(struct auxtrace_record *itr) in powerpc_vpadtl_free() 59 free(itr); in powerpc_vpadtl_free() 62 static u64 powerpc_vpadtl_reference(struct auxtrace_record *itr __maybe_unused) in powerpc_vpadtl_reference() 56 powerpc_vpadtl_free(struct auxtrace_record * itr) powerpc_vpadtl_free() argument
|
| /linux/drivers/net/ethernet/intel/e1000e/ |
| H A D | param.c | 335 adapter->itr = InterruptThrottleRate[bd]; in e1000e_check_options() 342 if ((adapter->itr > 4) && in e1000e_check_options() 343 e1000_validate_option(&adapter->itr, &opt, adapter)) in e1000e_check_options() 344 adapter->itr = opt.def; in e1000e_check_options() 349 adapter->itr = opt.def; in e1000e_check_options() 354 if (adapter->itr > 4) in e1000e_check_options() 357 adapter->itr); in e1000e_check_options() 360 adapter->itr_setting = adapter->itr; in e1000e_check_options() 361 switch (adapter->itr) { in e1000e_check_options() 369 adapter->itr = 20000; in e1000e_check_options() [all …]
|
| /linux/drivers/net/ethernet/microchip/vcap/ |
| H A D | vcap_api_private.h | 58 void vcap_iter_init(struct vcap_stream_iter *itr, int sw_width, 60 void vcap_iter_next(struct vcap_stream_iter *itr); 61 void vcap_iter_set(struct vcap_stream_iter *itr, int sw_width, 63 void vcap_iter_update(struct vcap_stream_iter *itr);
|
| H A D | vcap_api.c | 49 void vcap_iter_set(struct vcap_stream_iter *itr, int sw_width, in vcap_iter_set() argument 52 memset(itr, 0, sizeof(*itr)); in vcap_iter_set() 53 itr->offset = offset; in vcap_iter_set() 54 itr->sw_width = sw_width; in vcap_iter_set() 55 itr->regs_per_sw = DIV_ROUND_UP(sw_width, 32); in vcap_iter_set() 56 itr->tg = tg; in vcap_iter_set() 59 static void vcap_iter_skip_tg(struct vcap_stream_iter *itr) in vcap_iter_skip_tg() argument 64 while (itr->tg->width && itr->offset >= itr->tg->offset) { in vcap_iter_skip_tg() 65 itr->offset += itr->tg->width; in vcap_iter_skip_tg() 66 itr->tg++; /* next typegroup */ in vcap_iter_skip_tg() [all …]
|
| /linux/drivers/net/ethernet/intel/e1000/ |
| H A D | e1000_param.c | 436 adapter->itr = InterruptThrottleRate[bd]; in e1000_check_options() 437 switch (adapter->itr) { in e1000_check_options() 444 adapter->itr_setting = adapter->itr; in e1000_check_options() 445 adapter->itr = 20000; in e1000_check_options() 450 adapter->itr_setting = adapter->itr; in e1000_check_options() 451 adapter->itr = 20000; in e1000_check_options() 456 adapter->itr_setting = adapter->itr; in e1000_check_options() 459 e1000_validate_option(&adapter->itr, &opt, in e1000_check_options() 466 adapter->itr_setting = adapter->itr & ~3; in e1000_check_options() 471 adapter->itr = 20000; in e1000_check_options()
|
| /linux/drivers/net/ethernet/intel/iavf/ |
| H A D | iavf_txrx.c | 473 unsigned int avg_wire_size, packets, bytes, itr; in iavf_update_itr() local 485 itr = iavf_container_is_rx(q_vector, rc) ? in iavf_update_itr() 504 itr = rc->target_itr; in iavf_update_itr() 519 itr = IAVF_ITR_ADAPTIVE_LATENCY; in iavf_update_itr() 548 itr = rc->target_itr + IAVF_ITR_ADAPTIVE_MIN_INC; in iavf_update_itr() 549 if ((itr & IAVF_ITR_MASK) > IAVF_ITR_ADAPTIVE_MAX_USECS) { in iavf_update_itr() 550 itr &= IAVF_ITR_ADAPTIVE_LATENCY; in iavf_update_itr() 551 itr += IAVF_ITR_ADAPTIVE_MAX_USECS; in iavf_update_itr() 557 itr = min(q_vector->tx.current_itr, q_vector->rx.current_itr); in iavf_update_itr() 558 itr &= IAVF_ITR_MASK; in iavf_update_itr() [all …]
|
| /linux/drivers/bus/mhi/host/ |
| H A D | pm.c | 800 struct state_transition *itr, *tmp; in mhi_pm_st_worker() local 810 list_for_each_entry_safe(itr, tmp, &head, node) { in mhi_pm_st_worker() 811 list_del(&itr->node); in mhi_pm_st_worker() 813 trace_mhi_pm_st_transition(mhi_cntrl, itr->state); in mhi_pm_st_worker() 815 switch (itr->state) { in mhi_pm_st_worker() 863 kfree(itr); in mhi_pm_st_worker() 869 struct mhi_chan *itr, *tmp; in mhi_pm_suspend() local 944 list_for_each_entry_safe(itr, tmp, &mhi_cntrl->lpm_chans, node) { in mhi_pm_suspend() 945 mutex_lock(&itr->mutex); in mhi_pm_suspend() 946 if (itr->mhi_dev) in mhi_pm_suspend() [all …]
|
| /linux/drivers/net/ethernet/qualcomm/emac/ |
| H A D | emac-sgmii-qdf2432.c | 107 const struct emac_reg_write *itr, size_t size) in emac_reg_write_all() argument 111 for (i = 0; i < size; ++itr, ++i) in emac_reg_write_all() 112 writel(itr->val, base + itr->offset); in emac_reg_write_all()
|
| H A D | emac-sgmii-qdf2400.c | 117 const struct emac_reg_write *itr, size_t size) in emac_reg_write_all() argument 121 for (i = 0; i < size; ++itr, ++i) in emac_reg_write_all() 122 writel(itr->val, base + itr->offset); in emac_reg_write_all()
|
| H A D | emac-sgmii-fsm9900.c | 140 const struct emac_reg_write *itr, size_t size) in emac_reg_write_all() argument 144 for (i = 0; i < size; ++itr, ++i) in emac_reg_write_all() 145 writel(itr->val, base + itr->offset); in emac_reg_write_all()
|
| /linux/drivers/gpu/drm/i915/gvt/ |
| H A D | kvmgt.c | 214 struct gvt_dma *itr; in __gvt_cache_find_dma_addr() local 217 itr = rb_entry(node, struct gvt_dma, dma_addr_node); in __gvt_cache_find_dma_addr() 219 if (dma_addr < itr->dma_addr) in __gvt_cache_find_dma_addr() 221 else if (dma_addr > itr->dma_addr) in __gvt_cache_find_dma_addr() 224 return itr; in __gvt_cache_find_dma_addr() 232 struct gvt_dma *itr; in __gvt_cache_find_gfn() local 235 itr = rb_entry(node, struct gvt_dma, gfn_node); in __gvt_cache_find_gfn() 237 if (gfn < itr->gfn) in __gvt_cache_find_gfn() 239 else if (gfn > itr->gfn) in __gvt_cache_find_gfn() 242 return itr; in __gvt_cache_find_gfn() [all …]
|
| /linux/drivers/bus/mhi/ep/ |
| H A D | main.c | 805 struct mhi_ep_ring_item *itr, *tmp; in mhi_ep_ch_ring_worker() local 817 list_for_each_entry_safe(itr, tmp, &head, node) { in mhi_ep_ch_ring_worker() 818 list_del(&itr->node); in mhi_ep_ch_ring_worker() 819 ring = itr->ring; in mhi_ep_ch_ring_worker() 830 kfree(itr); in mhi_ep_ch_ring_worker() 839 kmem_cache_free(mhi_cntrl->ring_item_cache, itr); in mhi_ep_ch_ring_worker() 846 kmem_cache_free(mhi_cntrl->ring_item_cache, itr); in mhi_ep_ch_ring_worker() 856 kmem_cache_free(mhi_cntrl->ring_item_cache, itr); in mhi_ep_ch_ring_worker() 861 kmem_cache_free(mhi_cntrl->ring_item_cache, itr); in mhi_ep_ch_ring_worker() 869 struct mhi_ep_state_transition *itr, *tmp; in mhi_ep_state_worker() local [all …]
|
| /linux/arch/x86/platform/ts5500/ |
| H A D | ts5500.c | 80 bool itr; member 140 sbc->itr = tmp & TS5500_ITR; in ts5500_detect_config() 191 TS5500_ATTR_BOOL(itr);
|
| /linux/drivers/net/ethernet/intel/fm10k/ |
| H A D | fm10k_main.c | 1343 if (!ITR_IS_ADAPTIVE(ring_container->itr)) in fm10k_update_itr() 1392 ring_container->itr = avg_wire_size | FM10K_ITR_ADAPTIVE; in fm10k_update_itr() 1402 u32 itr = FM10K_ITR_ENABLE; in fm10k_qv_enable() local 1411 itr |= (q_vector->tx.itr & FM10K_ITR_MAX); in fm10k_qv_enable() 1414 itr |= (q_vector->rx.itr & FM10K_ITR_MAX) << FM10K_ITR_INTERVAL1_SHIFT; in fm10k_qv_enable() 1417 writel(itr, q_vector->itr); in fm10k_qv_enable() 1618 q_vector->tx.itr = interface->tx_itr; in fm10k_alloc_q_vector() 1647 q_vector->rx.itr = interface->rx_itr; in fm10k_alloc_q_vector()
|