/linux/tools/perf/arch/arm/util/ |
A D | cs-etm.c | 72 ptr = container_of(itr, struct cs_etm_recording, itr); in cs_etm_set_context_id() 155 ptr = container_of(itr, struct cs_etm_recording, itr); in cs_etm_set_timestamp() 237 container_of(itr, struct cs_etm_recording, itr); in cs_etm_parse_snapshot_options() 297 container_of(itr, struct cs_etm_recording, itr); in cs_etm_recording_options() 480 container_of(itr, struct cs_etm_recording, itr); in cs_etm_get_config() 586 container_of(itr, struct cs_etm_recording, itr); in cs_etm_is_etmv4() 667 container_of(itr, struct cs_etm_recording, itr); in cs_etm_get_metadata() 729 container_of(itr, struct cs_etm_recording, itr); in cs_etm_info_fill() 777 container_of(itr, struct cs_etm_recording, itr); in cs_etm_snapshot_start() 790 container_of(itr, struct cs_etm_recording, itr); in cs_etm_snapshot_finish() [all …]
|
/linux/tools/perf/arch/arm64/util/ |
A D | arm-spe.c | 32 struct auxtrace_record itr; member 47 ptr = container_of(itr, struct arm_spe_recording, itr); in arm_spe_set_timestamp() 75 container_of(itr, struct arm_spe_recording, itr); in arm_spe_info_fill() 144 container_of(itr, struct arm_spe_recording, itr); in arm_spe_recording_options() 288 container_of(itr, struct arm_spe_recording, itr); in arm_spe_snapshot_start() 301 container_of(itr, struct arm_spe_recording, itr); in arm_spe_snapshot_finish() 404 container_of(itr, struct arm_spe_recording, itr); in arm_spe_find_snapshot() 463 container_of(itr, struct arm_spe_recording, itr); in arm_spe_recording_free() 486 sper->itr.pmu = arm_spe_pmu; in arm_spe_recording_init() 497 sper->itr.alignment = 0; in arm_spe_recording_init() [all …]
|
/linux/tools/perf/arch/x86/util/ |
A D | intel-bts.c | 40 struct auxtrace_record itr; member 68 container_of(itr, struct intel_bts_recording, itr); in intel_bts_info_fill() 110 container_of(itr, struct intel_bts_recording, itr); in intel_bts_recording_options() 255 container_of(itr, struct intel_bts_recording, itr); in intel_bts_parse_snapshot_options() 315 container_of(itr, struct intel_bts_recording, itr); in intel_bts_recording_free() 324 container_of(itr, struct intel_bts_recording, itr); in intel_bts_snapshot_start() 337 container_of(itr, struct intel_bts_recording, itr); in intel_bts_snapshot_finish() 369 container_of(itr, struct intel_bts_recording, itr); in intel_bts_find_snapshot() 436 btsr->itr.pmu = intel_bts_pmu; in intel_bts_recording_init() 439 btsr->itr.info_fill = intel_bts_info_fill; in intel_bts_recording_init() [all …]
|
A D | intel-pt.c | 49 struct auxtrace_record itr; member 246 container_of(itr, struct intel_pt_recording, itr); in intel_pt_parse_snapshot_options() 304 container_of(itr, struct intel_pt_recording, itr); in intel_pt_info_priv_size() 328 container_of(itr, struct intel_pt_recording, itr); in intel_pt_info_fill() 624 container_of(itr, struct intel_pt_recording, itr); in intel_pt_recording_options() 907 container_of(itr, struct intel_pt_recording, itr); in intel_pt_snapshot_start() 920 container_of(itr, struct intel_pt_recording, itr); in intel_pt_snapshot_finish() 966 container_of(itr, struct intel_pt_recording, itr); in intel_pt_recording_free() 1125 container_of(itr, struct intel_pt_recording, itr); in intel_pt_find_snapshot() 1210 ptr->itr.pmu = intel_pt_pmu; in intel_pt_recording_init() [all …]
|
/linux/drivers/crypto/qat/qat_common/ |
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() 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() 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() 142 struct list_head *itr; in adf_devmgr_add_dev() local 298 struct list_head *itr; in adf_devmgr_pci_to_accel_dev() local 317 struct list_head *itr; in adf_devmgr_get_dev_by_id() local 353 struct list_head *itr; in adf_get_num_dettached_vfs() local [all …]
|
/linux/tools/perf/util/ |
A D | auxtrace.h | 374 int (*recording_options)(struct auxtrace_record *itr, 377 size_t (*info_priv_size)(struct auxtrace_record *itr, 379 int (*info_fill)(struct auxtrace_record *itr, 383 void (*free)(struct auxtrace_record *itr); 384 int (*snapshot_start)(struct auxtrace_record *itr); 385 int (*snapshot_finish)(struct auxtrace_record *itr); 392 u64 (*reference)(struct auxtrace_record *itr); 393 int (*read_finish)(struct auxtrace_record *itr, int idx); 502 struct auxtrace_record *itr, 565 int auxtrace_record__options(struct auxtrace_record *itr, [all …]
|
A D | auxtrace.c | 549 return itr->info_priv_size(itr, evlist); in auxtrace_record__info_priv_size() 572 itr->free(itr); in auxtrace_record__free() 577 if (itr && itr->snapshot_start) in auxtrace_record__snapshot_start() 578 return itr->snapshot_start(itr); in auxtrace_record__snapshot_start() 584 if (!on_exit && itr && itr->snapshot_finish) in auxtrace_record__snapshot_finish() 585 return itr->snapshot_finish(itr); in auxtrace_record__snapshot_finish() 593 if (itr && itr->find_snapshot) in auxtrace_record__find_snapshot() 612 return itr->reference(itr); in auxtrace_record__reference() 632 if (itr && itr->parse_snapshot_options) in auxtrace_parse_snapshot_options() 643 if (!itr->evlist || !itr->pmu) in auxtrace_record__read_finish() [all …]
|
/linux/net/dcb/ |
A D | dcbnl.c | 1120 &itr->app); in dcbnl_ieee_fill() 1284 itr->app.selector); in dcbnl_cee_fill() 1809 return itr; in dcb_app_lookup() 1846 if (itr) in dcb_getapp() 1877 if (itr) { in dcb_setapp() 1881 list_del(&itr->list); in dcb_setapp() 1882 kfree(itr); in dcb_setapp() 1913 if (itr) in dcb_ieee_getapp_mask() 1978 list_del(&itr->list); in dcb_ieee_delapp() 1979 kfree(itr); in dcb_ieee_delapp() [all …]
|
/linux/drivers/platform/x86/intel/int1092/ |
A D | intel_sar.c | 45 int itr = 0; in update_sar_data() local 47 for (itr = 0; itr < config->total_dev_mode; itr++) { in update_sar_data() 49 config->device_mode_info[itr].device_mode) { in update_sar_data() 51 &config->device_mode_info[itr]; in update_sar_data() 80 int value, itr, reg; in parse_package() local 99 for (itr = 0; itr < data->total_dev_mode; itr++) { in parse_package() 102 num = &item->package.elements[itr + 1]; in parse_package() 113 data->device_mode_info[itr] = temp; in parse_package()
|
/linux/tools/perf/arch/s390/util/ |
A D | auxtrace.c | 19 static void cpumsf_free(struct auxtrace_record *itr) in cpumsf_free() argument 21 free(itr); in cpumsf_free() 24 static size_t cpumsf_info_priv_size(struct auxtrace_record *itr __maybe_unused, in cpumsf_info_priv_size() 31 cpumsf_info_fill(struct auxtrace_record *itr __maybe_unused, in cpumsf_info_fill() 41 cpumsf_reference(struct auxtrace_record *itr __maybe_unused) in cpumsf_reference() 76 cpumsf_parse_snapshot_options(struct auxtrace_record *itr __maybe_unused, in cpumsf_parse_snapshot_options()
|
/linux/drivers/net/ethernet/intel/e1000e/ |
A D | param.c | 337 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/drivers/net/ethernet/intel/e1000/ |
A D | e1000_param.c | 438 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/drivers/bus/mhi/core/ |
A D | pm.c | 746 list_del(&itr->node); in mhi_pm_st_worker() 750 switch (itr->state) { in mhi_pm_st_worker() 792 kfree(itr); in mhi_pm_st_worker() 798 struct mhi_chan *itr, *tmp; in mhi_pm_suspend() local 874 mutex_lock(&itr->mutex); in mhi_pm_suspend() 875 if (itr->mhi_dev) in mhi_pm_suspend() 877 mutex_unlock(&itr->mutex); in mhi_pm_suspend() 886 struct mhi_chan *itr, *tmp; in __mhi_pm_resume() local 910 mutex_lock(&itr->mutex); in __mhi_pm_resume() 911 if (itr->mhi_dev) in __mhi_pm_resume() [all …]
|
/linux/drivers/net/ethernet/intel/iavf/ |
A D | iavf_txrx.c | 449 itr = rc->target_itr; in iavf_update_itr() 464 itr = IAVF_ITR_ADAPTIVE_LATENCY; in iavf_update_itr() 495 itr &= IAVF_ITR_ADAPTIVE_LATENCY; in iavf_update_itr() 503 itr &= IAVF_ITR_MASK; in iavf_update_itr() 517 itr /= 2; in iavf_update_itr() 518 itr &= IAVF_ITR_MASK; in iavf_update_itr() 520 itr = IAVF_ITR_ADAPTIVE_MIN_USECS; in iavf_update_itr() 531 itr = IAVF_ITR_ADAPTIVE_BULK; in iavf_update_itr() 593 itr &= IAVF_ITR_ADAPTIVE_LATENCY; in iavf_update_itr() 599 rc->target_itr = itr; in iavf_update_itr() [all …]
|
/linux/drivers/net/ethernet/qualcomm/emac/ |
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()
|
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()
|
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/crypto/virtio/ |
A D | virtio_crypto_mgr.c | 35 struct list_head *itr; in virtcrypto_devmgr_add_dev() local 45 list_for_each(itr, &virtio_crypto_table) { in virtcrypto_devmgr_add_dev() 47 list_entry(itr, struct virtio_crypto, list); in virtcrypto_devmgr_add_dev()
|
/linux/drivers/i2c/busses/ |
A D | i2c-qcom-geni.c | 141 const struct geni_i2c_clk_fld *itr = geni_i2c_clk_map; in geni_i2c_clk_map_idx() local 143 for (i = 0; i < ARRAY_SIZE(geni_i2c_clk_map); i++, itr++) { in geni_i2c_clk_map_idx() 144 if (itr->clk_freq_out == gi2c->clk_freq_out) { in geni_i2c_clk_map_idx() 145 gi2c->clk_fld = itr; in geni_i2c_clk_map_idx() 154 const struct geni_i2c_clk_fld *itr = gi2c->clk_fld; in qcom_geni_i2c_conf() local 159 val = (itr->clk_div << CLK_DIV_SHFT) | SER_CLK_EN; in qcom_geni_i2c_conf() 162 val = itr->t_high_cnt << HIGH_COUNTER_SHFT; in qcom_geni_i2c_conf() 163 val |= itr->t_low_cnt << LOW_COUNTER_SHFT; in qcom_geni_i2c_conf() 164 val |= itr->t_cycle_cnt; in qcom_geni_i2c_conf()
|
/linux/tools/perf/ |
A D | builtin-sched.c | 2201 itr = zalloc(sizeof(*itr)); in init_idle_thread() 2202 if (itr == NULL) in init_idle_thread() 2332 itr = thread__priv(idle); in timehist_get_thread() 2333 if (itr == NULL) in timehist_get_thread() 2336 itr->last_thread = thread; in timehist_get_thread() 2619 if (itr->cursor.nr) in timehist_sched_change_event() 2620 callchain_append(&itr->callchain, &itr->cursor, t - tprev); in timehist_sched_change_event() 2622 itr->last_thread = NULL; in timehist_sched_change_event() 2895 itr = thread__priv(t); in timehist_print_summary() 2896 if (itr == NULL) in timehist_print_summary() [all …]
|
/linux/drivers/net/ethernet/intel/i40e/ |
A D | i40e_txrx.c | 1196 itr = rc->target_itr; in i40e_update_itr() 1211 itr = I40E_ITR_ADAPTIVE_LATENCY; in i40e_update_itr() 1242 itr &= I40E_ITR_ADAPTIVE_LATENCY; in i40e_update_itr() 1250 itr &= I40E_ITR_MASK; in i40e_update_itr() 1264 itr /= 2; in i40e_update_itr() 1265 itr &= I40E_ITR_MASK; in i40e_update_itr() 1267 itr = I40E_ITR_ADAPTIVE_MIN_USECS; in i40e_update_itr() 1278 itr = I40E_ITR_ADAPTIVE_BULK; in i40e_update_itr() 1340 itr &= I40E_ITR_ADAPTIVE_LATENCY; in i40e_update_itr() 1346 rc->target_itr = itr; in i40e_update_itr() [all …]
|
/linux/drivers/gpu/drm/i915/gvt/ |
A D | kvmgt.c | 355 struct gvt_dma *itr; in __gvt_cache_find_dma_addr() local 360 if (dma_addr < itr->dma_addr) in __gvt_cache_find_dma_addr() 365 return itr; in __gvt_cache_find_dma_addr() 373 struct gvt_dma *itr; in __gvt_cache_find_gfn() local 378 if (gfn < itr->gfn) in __gvt_cache_find_gfn() 380 else if (gfn > itr->gfn) in __gvt_cache_find_gfn() 383 return itr; in __gvt_cache_find_gfn() 391 struct gvt_dma *new, *itr; in __gvt_cache_add() local 411 if (gfn < itr->gfn) in __gvt_cache_add() 426 if (dma_addr < itr->dma_addr) in __gvt_cache_add() [all …]
|
/linux/arch/x86/platform/ts5500/ |
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/ |
A D | fm10k_main.c | 1336 if (!ITR_IS_ADAPTIVE(ring_container->itr)) in fm10k_update_itr() 1385 ring_container->itr = avg_wire_size | FM10K_ITR_ADAPTIVE; in fm10k_update_itr() 1395 u32 itr = FM10K_ITR_ENABLE; in fm10k_qv_enable() local 1404 itr |= (q_vector->tx.itr & FM10K_ITR_MAX); in fm10k_qv_enable() 1407 itr |= (q_vector->rx.itr & FM10K_ITR_MAX) << FM10K_ITR_INTERVAL1_SHIFT; in fm10k_qv_enable() 1410 writel(itr, q_vector->itr); in fm10k_qv_enable() 1612 q_vector->tx.itr = interface->tx_itr; in fm10k_alloc_q_vector() 1641 q_vector->rx.itr = interface->rx_itr; in fm10k_alloc_q_vector()
|
A D | fm10k.h | 150 u16 itr; /* interrupt throttle rate value */ member 161 #define ITR_IS_ADAPTIVE(itr) (!!(itr & FM10K_ITR_ADAPTIVE)) argument 187 u32 __iomem *itr; /* pointer to ITR register for this vector */ member
|