/Linux-v4.19/arch/arm/kernel/ |
D | perf_event_v7.c | 902 armv7_pmnc_write_evtsel(idx, hwc->config_base); in armv7pmu_enable_event() 1038 unsigned long evtype = hwc->config_base & ARMV7_EVTYPE_EVENT; in armv7pmu_get_event_idx() 1073 unsigned long config_base = 0; in armv7pmu_set_event_filter() local 1078 config_base |= ARMV7_EXCLUDE_USER; in armv7pmu_set_event_filter() 1080 config_base |= ARMV7_EXCLUDE_PL1; in armv7pmu_set_event_filter() 1082 config_base |= ARMV7_INCLUDE_HYP; in armv7pmu_set_event_filter() 1088 event->config_base = config_base; in armv7pmu_set_event_filter() 1415 static void krait_evt_setup(int idx, u32 config_base) in krait_evt_setup() argument 1420 unsigned int region = EVENT_REGION(config_base); in krait_evt_setup() 1421 unsigned int group = EVENT_GROUP(config_base); in krait_evt_setup() [all …]
|
D | perf_event_xscale.c | 219 evt = (hwc->config_base << XSCALE1_COUNT0_EVT_SHFT) | in xscale1pmu_enable_event() 224 evt = (hwc->config_base << XSCALE1_COUNT1_EVT_SHFT) | in xscale1pmu_enable_event() 279 if (XSCALE_PERFCTR_CCNT == hwc->config_base) { in xscale1pmu_get_event_idx() 568 evtsel |= hwc->config_base << XSCALE2_COUNT0_EVT_SHFT; in xscale2pmu_enable_event() 573 evtsel |= hwc->config_base << XSCALE2_COUNT1_EVT_SHFT; in xscale2pmu_enable_event() 578 evtsel |= hwc->config_base << XSCALE2_COUNT2_EVT_SHFT; in xscale2pmu_enable_event() 583 evtsel |= hwc->config_base << XSCALE2_COUNT3_EVT_SHFT; in xscale2pmu_enable_event()
|
D | perf_event_v6.c | 282 evt = (hwc->config_base << ARMV6_PMCR_EVT_COUNT0_SHIFT) | in armv6pmu_enable_event() 286 evt = (hwc->config_base << ARMV6_PMCR_EVT_COUNT1_SHIFT) | in armv6pmu_enable_event() 393 if (ARMV6_PERFCTR_CPU_CYCLES == hwc->config_base) { in armv6pmu_get_event_idx()
|
/Linux-v4.19/arch/arm/mach-bcm/ |
D | bcm63xx_smp.c | 38 unsigned long config_base; in scu_a9_enable() local 48 config_base = scu_a9_get_base(); in scu_a9_enable() 49 if (!config_base) { in scu_a9_enable() 54 scu_base = ioremap((phys_addr_t)config_base, CORTEX_A9_SCU_SIZE); in scu_a9_enable() 57 config_base, CORTEX_A9_SCU_SIZE); in scu_a9_enable()
|
D | platsmp.c | 55 unsigned long config_base; in scu_a9_enable() local 64 config_base = scu_a9_get_base(); in scu_a9_enable() 65 if (!config_base) { in scu_a9_enable() 70 scu_base = ioremap((phys_addr_t)config_base, CORTEX_A9_SCU_SIZE); in scu_a9_enable() 73 config_base, CORTEX_A9_SCU_SIZE); in scu_a9_enable()
|
/Linux-v4.19/arch/s390/kernel/ |
D | perf_cpum_cf.c | 108 switch (hwc->config_base) { in validate_ctr_version() 163 ctrs_state = cpumf_state_ctl[hwc->config_base]; in validate_ctr_auth() 393 hwc->config_base = set; in __hw_perf_event_init() 504 ctr_set_enable(&cpuhw->state, hwc->config_base); in cpumf_pmu_start() 505 ctr_set_start(&cpuhw->state, hwc->config_base); in cpumf_pmu_start() 515 atomic_inc(&cpuhw->ctr_set[hwc->config_base]); in cpumf_pmu_start() 528 if (!atomic_dec_return(&cpuhw->ctr_set[hwc->config_base])) in cpumf_pmu_stop() 529 ctr_set_stop(&cpuhw->state, hwc->config_base); in cpumf_pmu_stop() 552 ctr_set_enable(&cpuhw->state, event->hw.config_base); in cpumf_pmu_add() 577 if (!atomic_read(&cpuhw->ctr_set[event->hw.config_base])) in cpumf_pmu_del() [all …]
|
/Linux-v4.19/arch/arm64/kernel/ |
D | perf_event.c | 634 armv8pmu_write_evtype(idx - 1, hwc->config_base); in armv8pmu_write_event_type() 637 armv8pmu_write_evtype(idx, hwc->config_base); in armv8pmu_write_event_type() 904 unsigned long evtype = hwc->config_base & ARMV8_PMU_EVTYPE_EVENT; in armv8pmu_get_event_idx() 937 unsigned long config_base = 0; in armv8pmu_set_event_filter() local 950 config_base |= ARMV8_PMU_INCLUDE_EL2; in armv8pmu_set_event_filter() 953 config_base |= ARMV8_PMU_EXCLUDE_EL1; in armv8pmu_set_event_filter() 955 config_base |= ARMV8_PMU_INCLUDE_EL2; in armv8pmu_set_event_filter() 958 config_base |= ARMV8_PMU_EXCLUDE_EL0; in armv8pmu_set_event_filter() 964 event->config_base = config_base; in armv8pmu_set_event_filter() 971 unsigned long evtype = event->hw.config_base & ARMV8_PMU_EVTYPE_EVENT; in armv8pmu_filter_match()
|
/Linux-v4.19/arch/x86/events/amd/ |
D | ibs.c | 322 hwc->config_base = perf_ibs->msr; in perf_ibs_init() 370 rdmsrl(event->hw.config_base, *config); in perf_ibs_event_update() 378 wrmsrl(hwc->config_base, hwc->config | config | perf_ibs->enable_mask); in perf_ibs_enable_event() 392 wrmsrl(hwc->config_base, config); in perf_ibs_disable_event() 394 wrmsrl(hwc->config_base, config); in perf_ibs_disable_event() 444 rdmsrl(hwc->config_base, config); in perf_ibs_stop() 609 msr = hwc->config_base; in perf_ibs_handle_irq()
|
D | uncore.c | 112 wrmsrl(hwc->config_base, (hwc->config | ARCH_PERFMON_EVENTSEL_ENABLE)); in amd_uncore_start() 120 wrmsrl(hwc->config_base, hwc->config); in amd_uncore_stop() 159 hwc->config_base = uncore->msr_base + (2 * hwc->idx); in amd_uncore_add()
|
/Linux-v4.19/arch/x86/events/intel/ |
D | uncore_snb.c | 90 wrmsrl(hwc->config_base, hwc->config | SNB_UNC_CTL_EN); in snb_uncore_msr_enable_event() 92 wrmsrl(hwc->config_base, SNB_UNC_CTL_EN); in snb_uncore_msr_enable_event() 97 wrmsrl(event->hw.config_base, 0); in snb_uncore_msr_disable_event() 696 wrmsrl(hwc->config_base, hwc->config | SNB_UNC_CTL_EN); in nhm_uncore_msr_enable_event() 698 wrmsrl(hwc->config_base, NHM_UNC_FIXED_CTR_CTL_EN); in nhm_uncore_msr_enable_event()
|
D | p6.c | 164 (void)wrmsrl_safe(hwc->config_base, val); in p6_pmu_disable_event() 181 (void)wrmsrl_safe(hwc->config_base, val); in p6_pmu_enable_event()
|
D | uncore_nhmex.c | 242 wrmsrl(event->hw.config_base, 0); in nhmex_uncore_msr_disable_event() 250 wrmsrl(hwc->config_base, NHMEX_PMON_CTL_EN_BIT0); in nhmex_uncore_msr_enable_event() 252 wrmsrl(hwc->config_base, hwc->config | NHMEX_PMON_CTL_EN_BIT22); in nhmex_uncore_msr_enable_event() 254 wrmsrl(hwc->config_base, hwc->config | NHMEX_PMON_CTL_EN_BIT0); in nhmex_uncore_msr_enable_event() 387 wrmsrl(hwc->config_base, NHMEX_PMON_CTL_EN_BIT0 | in nhmex_bbox_msr_enable_event() 474 wrmsrl(hwc->config_base, hwc->config | NHMEX_PMON_CTL_EN_BIT22); in nhmex_sbox_msr_enable_event() 862 wrmsrl(hwc->config_base, hwc->config | NHMEX_PMON_CTL_EN_BIT0); in nhmex_mbox_msr_enable_event() 1147 wrmsrl(hwc->config_base, NHMEX_PMON_CTL_EN_BIT0 | in nhmex_rbox_msr_enable_event()
|
D | knc.c | 185 (void)wrmsrl_safe(hwc->config_base + hwc->idx, val); in knc_pmu_disable_event() 196 (void)wrmsrl_safe(hwc->config_base + hwc->idx, val); in knc_pmu_enable_event()
|
/Linux-v4.19/drivers/perf/ |
D | qcom_l2_pmu.c | 397 if (hwc->config_base == L2CYCLE_CTR_RAW_CODE) { in l2_cache_get_event_idx() 414 group = L2_EVT_GROUP(hwc->config_base); in l2_cache_get_event_idx() 431 if (hwc->config_base != L2CYCLE_CTR_RAW_CODE) in l2_cache_clear_event_idx() 432 clear_bit(L2_EVT_GROUP(hwc->config_base), cluster->used_groups); in l2_cache_clear_event_idx() 588 hwc->config_base = event->attr.config; in l2_cache_event_init() 613 if (hwc->config_base == L2CYCLE_CTR_RAW_CODE) { in l2_cache_event_start() 616 config = hwc->config_base; in l2_cache_event_start()
|
D | arm-ccn.c | 694 hw->config_base = bit; in arm_ccn_pmu_event_alloc() 715 clear_bit(hw->config_base, source->xp.dt_cmp_mask); in arm_ccn_pmu_event_release() 717 clear_bit(hw->config_base, source->pmu_events_mask); in arm_ccn_pmu_event_release() 964 unsigned long wp = hw->config_base; in arm_ccn_pmu_xp_watchpoint_config() 1014 hw->event_base = CCN_XP_DT_CONFIG__DT_CFG__XP_PMU_EVENT(hw->config_base); in arm_ccn_pmu_xp_event_config() 1022 CCN_XP_PMU_EVENT_SEL__ID__SHIFT(hw->config_base)); in arm_ccn_pmu_xp_event_config() 1023 val |= id << CCN_XP_PMU_EVENT_SEL__ID__SHIFT(hw->config_base); in arm_ccn_pmu_xp_event_config() 1038 hw->config_base); in arm_ccn_pmu_node_event_config() 1058 CCN_HNF_PMU_EVENT_SEL__ID__SHIFT(hw->config_base)); in arm_ccn_pmu_node_event_config() 1060 CCN_HNF_PMU_EVENT_SEL__ID__SHIFT(hw->config_base); in arm_ccn_pmu_node_event_config()
|
/Linux-v4.19/arch/powerpc/perf/ |
D | core-fsl-emb.c | 344 write_pmlca(i, event->hw.config_base); in fsl_emb_pmu_add() 553 event->hw.config_base = PMLCA_CE | PMLCA_FCM1 | in fsl_emb_pmu_event_init() 557 event->hw.config_base |= PMLCA_FCU; in fsl_emb_pmu_event_init() 559 event->hw.config_base |= PMLCA_FCS; in fsl_emb_pmu_event_init()
|
/Linux-v4.19/arch/alpha/kernel/ |
D | perf_event.c | 200 event[0]->hw.config_base = config; in ev67_check_constraints() 203 event[1]->hw.config_base = config; in ev67_check_constraints() 424 cpuc->config = cpuc->event[0]->hw.config_base; in maybe_change_configuration() 669 hwc->config_base = 0; in __hw_perf_event_init()
|
/Linux-v4.19/drivers/pci/controller/ |
D | pci-v3-semi.c | 241 void __iomem *config_base; member 383 return v3->config_base + address + offset; in v3_map_bus() 792 v3->config_base = devm_ioremap_resource(dev, regs); in v3_pci_probe() 793 if (IS_ERR(v3->config_base)) in v3_pci_probe() 794 return PTR_ERR(v3->config_base); in v3_pci_probe()
|
/Linux-v4.19/arch/s390/include/asm/ |
D | perf_event.h | 70 #define SAMPL_FLAGS(hwc) ((hwc)->config_base)
|
/Linux-v4.19/arch/mips/kernel/ |
D | perf_event_mipsxx.c | 335 (evt->config_base & M_PERFCTL_CONFIG_MASK) | in mipsxx_pmu_enable_event() 1326 hwc->config_base = MIPS_PERFCTRL_IE; in __hw_perf_event_init() 1333 hwc->config_base |= MIPS_PERFCTRL_U; in __hw_perf_event_init() 1335 hwc->config_base |= MIPS_PERFCTRL_K; in __hw_perf_event_init() 1337 hwc->config_base |= MIPS_PERFCTRL_EXL; in __hw_perf_event_init() 1340 hwc->config_base |= MIPS_PERFCTRL_S; in __hw_perf_event_init() 1342 hwc->config_base &= M_PERFCTL_CONFIG_MASK; in __hw_perf_event_init()
|
/Linux-v4.19/drivers/perf/hisilicon/ |
D | hisi_uncore_pmu.c | 25 #define HISI_GET_EVENTID(ev) (ev->hw.config_base & 0xff) 180 hwc->config_base = event->attr.config; in hisi_uncore_pmu_event_init()
|
/Linux-v4.19/drivers/media/dvb-core/ |
D | dvb_ca_en50221.c | 105 u32 config_base; member 528 sl->config_base = 0; in dvb_ca_en50221_parse_attributes() 530 sl->config_base |= (tuple[2 + i] << (8 * i)); in dvb_ca_en50221_parse_attributes() 594 manfid, devid, sl->config_base, sl->config_option); in dvb_ca_en50221_parse_attributes() 614 ca->pub->write_attribute_mem(ca->pub, slot, sl->config_base, in dvb_ca_en50221_set_configoption() 619 sl->config_base); in dvb_ca_en50221_set_configoption()
|
/Linux-v4.19/arch/arm/mm/ |
D | cache-l2x0-pmu.c | 212 __l2x0_pmu_event_enable(hw->idx, hw->config_base); in l2x0_pmu_event_start() 331 hw->config_base = event->attr.config; in l2x0_pmu_event_init()
|
/Linux-v4.19/drivers/net/ethernet/fujitsu/ |
D | fmvj18x_cs.c | 358 link->config_base = 0x800; in fmvj18x_config() 365 link->config_base = 0x800; in fmvj18x_config() 371 link->config_base = 0x800; in fmvj18x_config() 379 if (link->config_base == 0x0fe0) in fmvj18x_config()
|
/Linux-v4.19/include/pcmcia/ |
D | ds.h | 114 unsigned int config_base; member
|