/linux/tools/perf/arch/arm64/util/ |
H A D | hisi-ptt.c | 31 struct auxtrace_record itr; member 37 hisi_ptt_info_priv_size(struct auxtrace_record *itr __maybe_unused, in hisi_ptt_info_priv_size() 43 static int hisi_ptt_info_fill(struct auxtrace_record *itr, in hisi_ptt_info_fill() argument 49 container_of(itr, struct hisi_ptt_recording, itr); in hisi_ptt_info_fill() 96 static int hisi_ptt_recording_options(struct auxtrace_record *itr, in hisi_ptt_recording_options() argument 101 container_of(itr, struct hisi_ptt_recording, itr); in hisi_ptt_recording_options() 147 static u64 hisi_ptt_reference(struct auxtrace_record *itr __maybe_unused) in hisi_ptt_reference() 152 static void hisi_ptt_recording_free(struct auxtrace_record *itr) in hisi_ptt_recording_free() argument 155 container_of(itr, struct hisi_ptt_recording, itr); in hisi_ptt_recording_free() 177 pttr->itr.recording_options = hisi_ptt_recording_options; in hisi_ptt_recording_init() [all …]
|
H A D | arm-spe.c | 33 struct auxtrace_record itr; member 41 arm_spe_info_priv_size(struct auxtrace_record *itr __maybe_unused, in arm_spe_info_priv_size() 47 static int arm_spe_info_fill(struct auxtrace_record *itr, in arm_spe_info_fill() argument 53 container_of(itr, struct arm_spe_recording, itr); in arm_spe_info_fill() 175 static int arm_spe_recording_options(struct auxtrace_record *itr, in arm_spe_recording_options() argument 180 container_of(itr, struct arm_spe_recording, itr); in arm_spe_recording_options() 289 static int arm_spe_parse_snapshot_options(struct auxtrace_record *itr __maybe_unused, in arm_spe_parse_snapshot_options() 308 static int arm_spe_snapshot_start(struct auxtrace_record *itr) in arm_spe_snapshot_start() argument 311 container_of(itr, struct arm_spe_recording, itr); in arm_spe_snapshot_start() 325 static int arm_spe_snapshot_finish(struct auxtrace_record *itr) in arm_spe_snapshot_finish() 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 | 51 struct auxtrace_record itr; member 237 static int intel_pt_parse_snapshot_options(struct auxtrace_record *itr, in intel_pt_parse_snapshot_options() argument 242 container_of(itr, struct intel_pt_recording, itr); in intel_pt_parse_snapshot_options() 294 intel_pt_info_priv_size(struct auxtrace_record *itr, struct evlist *evlist) in intel_pt_info_priv_size() argument 297 container_of(itr, struct intel_pt_recording, itr); in intel_pt_info_priv_size() 316 static int intel_pt_info_fill(struct auxtrace_record *itr, in intel_pt_info_fill() argument 322 container_of(itr, struct intel_pt_recording, itr); in intel_pt_info_fill() 609 static int intel_pt_recording_options(struct auxtrace_record *itr, in intel_pt_recording_options() argument 614 container_of(itr, struct intel_pt_recording, itr); in intel_pt_recording_options() 894 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 184 static struct perf_pmu *cs_etm_get_pmu(struct auxtrace_record *itr) in cs_etm_get_pmu() argument 186 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() 305 static int cs_etm_recording_options(struct auxtrace_record *itr, in cs_etm_recording_options() argument 311 container_of(itr, struct cs_etm_recording, itr); in cs_etm_recording_options() 477 static u64 cs_etm_get_config(struct auxtrace_record *itr) in cs_etm_get_config() argument 481 container_of(itr, struct cs_etm_recording, itr); in cs_etm_get_config() 508 static u64 cs_etmv4_get_config(struct auxtrace_record *itr) in cs_etmv4_get_config() argument [all …]
|
/linux/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_sdlb.c | 115 u32 itr, next; in sparx5_sdlb_group_get_last() local 117 itr = sparx5_sdlb_group_get_first(sparx5, group); in sparx5_sdlb_group_get_last() 120 next = sparx5_sdlb_group_get_next(sparx5, group, itr); in sparx5_sdlb_group_get_last() 121 if (itr == next) in sparx5_sdlb_group_get_last() 122 return itr; in sparx5_sdlb_group_get_last() 124 itr = next; in sparx5_sdlb_group_get_last() 141 u32 itr; in sparx5_sdlb_group_get_adjacent() local 146 itr = *first; in sparx5_sdlb_group_get_adjacent() 149 *next = sparx5_sdlb_group_get_next(sparx5, group, itr); in sparx5_sdlb_group_get_adjacent() 151 if (itr == idx) in sparx5_sdlb_group_get_adjacent() [all …]
|
H A D | sparx5_qos.c | 114 u32 itr, next; in sparx5_lg_get_last() local 116 itr = sparx5_lg_get_first(sparx5, layer, group); in sparx5_lg_get_last() 119 next = sparx5_lg_get_next(sparx5, layer, group, itr); in sparx5_lg_get_last() 120 if (itr == next) in sparx5_lg_get_last() 121 return itr; in sparx5_lg_get_last() 123 itr = next; in sparx5_lg_get_last() 167 u32 itr, next; in sparx5_lg_get_group_by_index() local 174 itr = sparx5_lg_get_first(sparx5, layer, i); in sparx5_lg_get_group_by_index() 177 next = sparx5_lg_get_next(sparx5, layer, i, itr); in sparx5_lg_get_group_by_index() 179 if (itr == idx) { in sparx5_lg_get_group_by_index() [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 …]
|
H A D | qat_compression.c | 54 struct list_head *itr; in qat_compression_get_instance_node() local 56 list_for_each(itr, adf_devmgr_get_head()) { in qat_compression_get_instance_node() 61 tmp_dev = list_entry(itr, struct adf_accel_dev, list); in qat_compression_get_instance_node() 77 list_for_each(itr, adf_devmgr_get_head()) { in qat_compression_get_instance_node() 80 tmp_dev = list_entry(itr, struct adf_accel_dev, list); in qat_compression_get_instance_node() 93 list_for_each(itr, &accel_dev->compression_list) { in qat_compression_get_instance_node() 97 tmp_inst = list_entry(itr, struct qat_compression_instance, list); in qat_compression_get_instance_node()
|
/linux/net/dcb/ |
H A D | dcbnl.c | 1143 struct dcb_app_type *itr; in dcbnl_ieee_fill() local 1225 list_for_each_entry(itr, &dcb_app_list, list) { in dcbnl_ieee_fill() 1226 if (itr->ifindex == netdev->ifindex) { in dcbnl_ieee_fill() 1228 dcbnl_app_attr_type_get(itr->app.selector); in dcbnl_ieee_fill() 1229 err = nla_put(skb, type, sizeof(itr->app), &itr->app); in dcbnl_ieee_fill() 1250 list_for_each_entry(itr, &dcb_rewr_list, list) { in dcbnl_ieee_fill() 1251 if (itr->ifindex == netdev->ifindex) { in dcbnl_ieee_fill() 1253 dcbnl_app_attr_type_get(itr->app.selector); in dcbnl_ieee_fill() 1254 err = nla_put(skb, type, sizeof(itr->app), &itr->app); in dcbnl_ieee_fill() 1366 struct dcb_app_type *itr; in dcbnl_cee_fill() local [all …]
|
/linux/tools/perf/util/ |
H A D | auxtrace.h | 392 int (*recording_options)(struct auxtrace_record *itr, 395 size_t (*info_priv_size)(struct auxtrace_record *itr, 397 int (*info_fill)(struct auxtrace_record *itr, 401 void (*free)(struct auxtrace_record *itr); 402 int (*snapshot_start)(struct auxtrace_record *itr); 403 int (*snapshot_finish)(struct auxtrace_record *itr); 404 int (*find_snapshot)(struct auxtrace_record *itr, int idx, 407 int (*parse_snapshot_options)(struct auxtrace_record *itr, 410 u64 (*reference)(struct auxtrace_record *itr); 411 int (*read_finish)(struct auxtrace_record *itr, int idx); [all …]
|
H A D | auxtrace.c | 560 size_t auxtrace_record__info_priv_size(struct auxtrace_record *itr, in auxtrace_record__info_priv_size() argument 563 if (itr) in auxtrace_record__info_priv_size() 564 return itr->info_priv_size(itr, evlist); in auxtrace_record__info_priv_size() 574 int auxtrace_record__info_fill(struct auxtrace_record *itr, in auxtrace_record__info_fill() argument 579 if (itr) in auxtrace_record__info_fill() 580 return itr->info_fill(itr, session, auxtrace_info, priv_size); in auxtrace_record__info_fill() 584 void auxtrace_record__free(struct auxtrace_record *itr) in auxtrace_record__free() argument 586 if (itr) in auxtrace_record__free() 587 itr->free(itr); in auxtrace_record__free() 590 int auxtrace_record__snapshot_start(struct auxtrace_record *itr) in auxtrace_record__snapshot_start() argument [all …]
|
/linux/tools/perf/arch/s390/util/ |
H 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/platform/x86/intel/int1092/ |
H 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/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 | 453 unsigned int avg_wire_size, packets, bytes, itr; in iavf_update_itr() local 465 itr = iavf_container_is_rx(q_vector, rc) ? in iavf_update_itr() 484 itr = rc->target_itr; in iavf_update_itr() 499 itr = IAVF_ITR_ADAPTIVE_LATENCY; in iavf_update_itr() 528 itr = rc->target_itr + IAVF_ITR_ADAPTIVE_MIN_INC; in iavf_update_itr() 529 if ((itr & IAVF_ITR_MASK) > IAVF_ITR_ADAPTIVE_MAX_USECS) { in iavf_update_itr() 530 itr &= IAVF_ITR_ADAPTIVE_LATENCY; in iavf_update_itr() 531 itr += IAVF_ITR_ADAPTIVE_MAX_USECS; in iavf_update_itr() 537 itr = min(q_vector->tx.current_itr, q_vector->rx.current_itr); in iavf_update_itr() 538 itr &= IAVF_ITR_MASK; in iavf_update_itr() [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/bus/mhi/host/ |
H A D | pm.c | 781 struct state_transition *itr, *tmp; in mhi_pm_st_worker() local 791 list_for_each_entry_safe(itr, tmp, &head, node) { in mhi_pm_st_worker() 792 list_del(&itr->node); in mhi_pm_st_worker() 794 trace_mhi_pm_st_transition(mhi_cntrl, itr->state); in mhi_pm_st_worker() 796 switch (itr->state) { in mhi_pm_st_worker() 841 kfree(itr); in mhi_pm_st_worker() 847 struct mhi_chan *itr, *tmp; in mhi_pm_suspend() local 922 list_for_each_entry_safe(itr, tmp, &mhi_cntrl->lpm_chans, node) { in mhi_pm_suspend() 923 mutex_lock(&itr->mutex); in mhi_pm_suspend() 924 if (itr->mhi_dev) in mhi_pm_suspend() [all …]
|
/linux/drivers/crypto/virtio/ |
H 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/ |
H A D | i2c-qcom-geni.c | 158 const struct geni_i2c_clk_fld *itr = geni_i2c_clk_map; in geni_i2c_clk_map_idx() local 160 for (i = 0; i < ARRAY_SIZE(geni_i2c_clk_map); i++, itr++) { in geni_i2c_clk_map_idx() 161 if (itr->clk_freq_out == gi2c->clk_freq_out) { in geni_i2c_clk_map_idx() 162 gi2c->clk_fld = itr; in geni_i2c_clk_map_idx() 171 const struct geni_i2c_clk_fld *itr = gi2c->clk_fld; in qcom_geni_i2c_conf() local 176 val = (itr->clk_div << CLK_DIV_SHFT) | SER_CLK_EN; in qcom_geni_i2c_conf() 179 val = itr->t_high_cnt << HIGH_COUNTER_SHFT; in qcom_geni_i2c_conf() 180 val |= itr->t_low_cnt << LOW_COUNTER_SHFT; in qcom_geni_i2c_conf() 181 val |= itr->t_cycle_cnt; in qcom_geni_i2c_conf() 593 const struct geni_i2c_clk_fld *itr = gi2c->clk_fld; in geni_i2c_gpi_xfer() local [all …]
|