/linux-4.4.14/arch/arm/kernel/ |
D | perf_event_v7.c | 796 armv7_pmnc_write_evtsel(idx, hwc->config_base); in armv7pmu_enable_event() 933 unsigned long evtype = hwc->config_base & ARMV7_EVTYPE_EVENT; in armv7pmu_get_event_idx() 962 unsigned long config_base = 0; in armv7pmu_set_event_filter() local 967 config_base |= ARMV7_EXCLUDE_USER; in armv7pmu_set_event_filter() 969 config_base |= ARMV7_EXCLUDE_PL1; in armv7pmu_set_event_filter() 971 config_base |= ARMV7_INCLUDE_HYP; in armv7pmu_set_event_filter() 977 event->config_base = config_base; in armv7pmu_set_event_filter() 1270 static void krait_evt_setup(int idx, u32 config_base) in krait_evt_setup() argument 1275 unsigned int region = EVENT_REGION(config_base); in krait_evt_setup() 1276 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() 563 evtsel |= hwc->config_base << XSCALE2_COUNT0_EVT_SHFT; in xscale2pmu_enable_event() 568 evtsel |= hwc->config_base << XSCALE2_COUNT1_EVT_SHFT; in xscale2pmu_enable_event() 573 evtsel |= hwc->config_base << XSCALE2_COUNT2_EVT_SHFT; in xscale2pmu_enable_event() 578 evtsel |= hwc->config_base << XSCALE2_COUNT3_EVT_SHFT; in xscale2pmu_enable_event()
|
D | perf_event_v6.c | 281 evt = (hwc->config_base << ARMV6_PMCR_EVT_COUNT0_SHIFT) | in armv6pmu_enable_event() 285 evt = (hwc->config_base << ARMV6_PMCR_EVT_COUNT1_SHIFT) | in armv6pmu_enable_event() 394 if (ARMV6_PERFCTR_CPU_CYCLES == hwc->config_base) { in armv6pmu_get_event_idx()
|
/linux-4.4.14/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 | kona_smp.c | 49 unsigned long config_base; in scu_a9_enable() local 58 config_base = scu_a9_get_base(); in scu_a9_enable() 59 if (!config_base) { in scu_a9_enable() 64 scu_base = ioremap((phys_addr_t)config_base, CORTEX_A9_SCU_SIZE); in scu_a9_enable() 67 config_base, CORTEX_A9_SCU_SIZE); in scu_a9_enable()
|
/linux-4.4.14/arch/s390/kernel/ |
D | perf_cpum_cf.c | 107 switch (hwc->config_base) { in validate_event() 133 switch (hwc->config_base) { in validate_ctr_version() 167 ctrs_state = cpumf_state_ctl[hwc->config_base]; in validate_ctr_auth() 382 hwc->config_base = get_counter_set(ev); in __hw_perf_event_init() 499 ctr_set_enable(&cpuhw->state, hwc->config_base); in cpumf_pmu_start() 500 ctr_set_start(&cpuhw->state, hwc->config_base); in cpumf_pmu_start() 510 atomic_inc(&cpuhw->ctr_set[hwc->config_base]); in cpumf_pmu_start() 523 if (!atomic_dec_return(&cpuhw->ctr_set[hwc->config_base])) in cpumf_pmu_stop() 524 ctr_set_stop(&cpuhw->state, hwc->config_base); in cpumf_pmu_stop() 547 ctr_set_enable(&cpuhw->state, event->hw.config_base); in cpumf_pmu_add() [all …]
|
/linux-4.4.14/arch/arm64/kernel/ |
D | perf_event.c | 384 armv8pmu_write_evtype(idx, hwc->config_base); in armv8pmu_enable_event() 515 unsigned long evtype = hwc->config_base & ARMV8_EVTYPE_EVENT; in armv8pmu_get_event_idx() 544 unsigned long config_base = 0; in armv8pmu_set_event_filter() local 549 config_base |= ARMV8_EXCLUDE_EL0; in armv8pmu_set_event_filter() 551 config_base |= ARMV8_EXCLUDE_EL1; in armv8pmu_set_event_filter() 553 config_base |= ARMV8_INCLUDE_EL2; in armv8pmu_set_event_filter() 559 event->config_base = config_base; in armv8pmu_set_event_filter()
|
/linux-4.4.14/arch/x86/kernel/cpu/ |
D | perf_event_amd_ibs.c | 284 hwc->config_base = perf_ibs->msr; in perf_ibs_init() 332 rdmsrl(event->hw.config_base, *config); in perf_ibs_event_update() 340 wrmsrl(hwc->config_base, hwc->config | config | perf_ibs->enable_mask); in perf_ibs_enable_event() 354 wrmsrl(hwc->config_base, config); in perf_ibs_disable_event() 356 wrmsrl(hwc->config_base, config); in perf_ibs_disable_event() 398 rdmsrl(hwc->config_base, config); in perf_ibs_stop() 539 msr = hwc->config_base; in perf_ibs_handle_irq()
|
D | perf_event_intel_uncore_snb.c | 79 wrmsrl(hwc->config_base, hwc->config | SNB_UNC_CTL_EN); in snb_uncore_msr_enable_event() 81 wrmsrl(hwc->config_base, SNB_UNC_CTL_EN); in snb_uncore_msr_enable_event() 86 wrmsrl(event->hw.config_base, 0); in snb_uncore_msr_disable_event() 631 wrmsrl(hwc->config_base, hwc->config | SNB_UNC_CTL_EN); in nhm_uncore_msr_enable_event() 633 wrmsrl(hwc->config_base, NHM_UNC_FIXED_CTR_CTL_EN); in nhm_uncore_msr_enable_event()
|
D | perf_event_p6.c | 163 (void)wrmsrl_safe(hwc->config_base, val); in p6_pmu_disable_event() 180 (void)wrmsrl_safe(hwc->config_base, val); in p6_pmu_enable_event()
|
D | perf_event_intel_uncore_nhmex.c | 236 wrmsrl(event->hw.config_base, 0); in nhmex_uncore_msr_disable_event() 244 wrmsrl(hwc->config_base, NHMEX_PMON_CTL_EN_BIT0); in nhmex_uncore_msr_enable_event() 246 wrmsrl(hwc->config_base, hwc->config | NHMEX_PMON_CTL_EN_BIT22); in nhmex_uncore_msr_enable_event() 248 wrmsrl(hwc->config_base, hwc->config | NHMEX_PMON_CTL_EN_BIT0); in nhmex_uncore_msr_enable_event() 380 wrmsrl(hwc->config_base, NHMEX_PMON_CTL_EN_BIT0 | in nhmex_bbox_msr_enable_event() 467 wrmsrl(hwc->config_base, hwc->config | NHMEX_PMON_CTL_EN_BIT22); in nhmex_sbox_msr_enable_event() 855 wrmsrl(hwc->config_base, hwc->config | NHMEX_PMON_CTL_EN_BIT0); in nhmex_mbox_msr_enable_event() 1140 wrmsrl(hwc->config_base, NHMEX_PMON_CTL_EN_BIT0 | in nhmex_rbox_msr_enable_event()
|
D | perf_event_knc.c | 184 (void)wrmsrl_safe(hwc->config_base + hwc->idx, val); in knc_pmu_disable_event() 195 (void)wrmsrl_safe(hwc->config_base + hwc->idx, val); in knc_pmu_enable_event()
|
D | perf_event_amd_uncore.c | 101 wrmsrl(hwc->config_base, (hwc->config | ARCH_PERFMON_EVENTSEL_ENABLE)); in amd_uncore_start() 109 wrmsrl(hwc->config_base, hwc->config); in amd_uncore_stop() 148 hwc->config_base = uncore->msr_base + (2 * hwc->idx); in amd_uncore_add()
|
D | perf_event_intel_uncore_snbep.c | 292 pci_write_config_dword(pdev, hwc->config_base, hwc->config | SNBEP_PMON_CTL_EN); in snbep_uncore_pci_enable_event() 300 pci_write_config_dword(pdev, hwc->config_base, hwc->config); in snbep_uncore_pci_disable_event() 356 wrmsrl(hwc->config_base, hwc->config | SNBEP_PMON_CTL_EN); in snbep_uncore_msr_enable_event() 364 wrmsrl(hwc->config_base, hwc->config); in snbep_uncore_msr_disable_event() 935 pci_write_config_dword(pdev, hwc->config_base, hwc->config | SNBEP_PMON_CTL_EN); in snbep_qpi_enable_event() 1427 wrmsrl(hwc->config_base, hwc->config | SNBEP_PMON_CTL_EN); in ivbep_cbox_enable_event() 1914 wrmsrl(hwc->config_base, hwc->config | SNBEP_PMON_CTL_EN); in hswep_cbox_enable_event()
|
D | perf_event_p4.c | 860 rdmsrl(hwc->config_base, v); in p4_pmu_clear_cccr_ovf() 862 wrmsrl(hwc->config_base, v & ~P4_CCCR_OVF); in p4_pmu_clear_cccr_ovf() 912 (void)wrmsrl_safe(hwc->config_base, in p4_pmu_disable_event() 981 (void)wrmsrl_safe(hwc->config_base, in p4_pmu_enable_event()
|
D | perf_event.h | 743 wrmsrl(hwc->config_base, (hwc->config | enable_mask) & ~disable_mask); in __x86_pmu_enable_event() 758 wrmsrl(hwc->config_base, hwc->config); in x86_pmu_disable_event()
|
D | perf_event_intel.c | 1619 rdmsrl(hwc->config_base, ctrl_val); in intel_pmu_disable_fixed() 1621 wrmsrl(hwc->config_base, ctrl_val); in intel_pmu_disable_fixed() 1651 if (unlikely(hwc->config_base == MSR_ARCH_PERFMON_FIXED_CTR_CTRL)) { in intel_pmu_disable_event() 1687 rdmsrl(hwc->config_base, ctrl_val); in intel_pmu_enable_fixed() 1690 wrmsrl(hwc->config_base, ctrl_val); in intel_pmu_enable_fixed() 1720 if (unlikely(hwc->config_base == MSR_ARCH_PERFMON_FIXED_CTR_CTRL)) { in intel_pmu_enable_event()
|
D | perf_event.c | 987 hwc->config_base = 0; in x86_assign_hw_event() 990 hwc->config_base = MSR_ARCH_PERFMON_FIXED_CTR_CTRL; in x86_assign_hw_event() 994 hwc->config_base = x86_pmu_config_addr(hwc->idx); in x86_assign_hw_event()
|
D | perf_event_intel_uncore.c | 219 hwc->config_base = uncore_fixed_ctl(box); in uncore_assign_hw_event() 223 hwc->config_base = uncore_event_ctl(box, hwc->idx); in uncore_assign_hw_event()
|
/linux-4.4.14/arch/mips/kernel/ |
D | perf_event_mipsxx.c | 348 (evt->config_base & M_PERFCTL_CONFIG_MASK) | in mipsxx_pmu_enable_event() 1242 hwc->config_base |= M_TC_EN_ALL; in check_and_calc_range() 1248 hwc->config_base |= M_PERFCTL_VPEID(event->cpu); in check_and_calc_range() 1249 hwc->config_base |= M_TC_EN_VPE; in check_and_calc_range() 1252 hwc->config_base |= M_TC_EN_ALL; in check_and_calc_range() 1294 hwc->config_base = M_PERFCTL_INTERRUPT_ENABLE; in __hw_perf_event_init() 1305 hwc->config_base |= M_PERFCTL_USER; in __hw_perf_event_init() 1307 hwc->config_base |= M_PERFCTL_KERNEL; in __hw_perf_event_init() 1309 hwc->config_base |= M_PERFCTL_EXL; in __hw_perf_event_init() 1312 hwc->config_base |= M_PERFCTL_SUPERVISOR; in __hw_perf_event_init() [all …]
|
/linux-4.4.14/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()
|
D | core-book3s.c | 1803 event->hw.config_base = ev; in power_pmu_event_init()
|
/linux-4.4.14/arch/alpha/kernel/ |
D | perf_event.c | 199 event[0]->hw.config_base = config; in ev67_check_constraints() 202 event[1]->hw.config_base = config; in ev67_check_constraints() 423 cpuc->config = cpuc->event[0]->hw.config_base; in maybe_change_configuration() 668 hwc->config_base = 0; in __hw_perf_event_init()
|
/linux-4.4.14/drivers/bus/ |
D | arm-ccn.c | 682 hw->config_base = bit; in arm_ccn_pmu_event_alloc() 703 clear_bit(hw->config_base, source->xp.dt_cmp_mask); in arm_ccn_pmu_event_release() 705 clear_bit(hw->config_base, source->pmu_events_mask); in arm_ccn_pmu_event_release() 962 unsigned long wp = hw->config_base; in arm_ccn_pmu_xp_watchpoint_config() 1012 hw->event_base = CCN_XP_DT_CONFIG__DT_CFG__XP_PMU_EVENT(hw->config_base); in arm_ccn_pmu_xp_event_config() 1020 CCN_XP_PMU_EVENT_SEL__ID__SHIFT(hw->config_base)); in arm_ccn_pmu_xp_event_config() 1021 val |= id << CCN_XP_PMU_EVENT_SEL__ID__SHIFT(hw->config_base); in arm_ccn_pmu_xp_event_config() 1036 hw->config_base); in arm_ccn_pmu_node_event_config() 1056 CCN_HNF_PMU_EVENT_SEL__ID__SHIFT(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()
|
D | arm-cci.c | 668 unsigned long cci_event = event->hw.config_base; in pmu_get_event_idx() 943 pmu_set_event(cci_pmu, idx, hwc->config_base); in cci_pmu_start() 1094 hwc->config_base = 0; in __hw_perf_event_init() 1101 hwc->config_base |= (unsigned long)mapping; in __hw_perf_event_init()
|
/linux-4.4.14/arch/s390/include/asm/ |
D | perf_event.h | 69 #define SAMPL_FLAGS(hwc) ((hwc)->config_base)
|
/linux-4.4.14/drivers/media/dvb-core/ |
D | dvb_ca_en50221.c | 106 u32 config_base; member 479 ca->slot_info[slot].config_base = 0; in dvb_ca_en50221_parse_attributes() 481 ca->slot_info[slot].config_base |= (tuple[2 + i] << (8 * i)); in dvb_ca_en50221_parse_attributes() 541 manfid, devid, ca->slot_info[slot].config_base, ca->slot_info[slot].config_option); in dvb_ca_en50221_parse_attributes() 562 ca->slot_info[slot].config_base, in dvb_ca_en50221_set_configoption() 566 configoption = ca->pub->read_attribute_mem(ca->pub, slot, ca->slot_info[slot].config_base); in dvb_ca_en50221_set_configoption()
|
/linux-4.4.14/drivers/net/ethernet/fujitsu/ |
D | fmvj18x_cs.c | 359 link->config_base = 0x800; in fmvj18x_config() 366 link->config_base = 0x800; in fmvj18x_config() 372 link->config_base = 0x800; in fmvj18x_config() 380 if (link->config_base == 0x0fe0) in fmvj18x_config()
|
/linux-4.4.14/include/pcmcia/ |
D | ds.h | 114 unsigned int config_base; member
|
/linux-4.4.14/arch/sparc/kernel/ |
D | perf_event.c | 967 cpuc->pcr[0] |= cpuc->event[0]->hw.config_base; in calculate_single_pcr() 997 cpuc->pcr[idx] |= cp->hw.config_base; in calculate_multiple_pcrs() 1450 hwc->config_base = sparc_pmu->irq_bit; in sparc_pmu_event_init() 1452 hwc->config_base |= sparc_pmu->user_bit; in sparc_pmu_event_init() 1454 hwc->config_base |= sparc_pmu->priv_bit; in sparc_pmu_event_init() 1456 hwc->config_base |= sparc_pmu->hv_bit; in sparc_pmu_event_init()
|
/linux-4.4.14/drivers/pcmcia/ |
D | pcmcia_resource.c | 181 addr = (p_dev->config_base + where) >> 1; in pcmcia_access_config() 542 p_dev->vpp, flags, p_dev->config_base, p_dev->config_regs, in pcmcia_enable_device() 546 base = p_dev->config_base; in pcmcia_enable_device()
|
D | ds.c | 282 p_dev->config_base = cis_config.base; in pcmcia_device_probe() 284 dev_dbg(dev, "base %x, regs %x", p_dev->config_base, in pcmcia_device_probe() 289 p_dev->config_base = 0; in pcmcia_device_probe()
|
/linux-4.4.14/drivers/net/can/sja1000/ |
D | ems_pcmcia.c | 287 csval = pcmcia_map_mem_page(dev, dev->resource[2], dev->config_base); in ems_pcmcia_probe()
|
/linux-4.4.14/drivers/tty/serial/8250/ |
D | 8250_pci.c | 1597 u8 config_base; in pci_fintek_setup() local 1600 config_base = 0x40 + 0x08 * idx; in pci_fintek_setup() 1603 pci_read_config_word(pdev, config_base + 4, &iobase); in pci_fintek_setup() 1627 u8 config_base; in pci_fintek_init() local 1650 config_base = 0x40 + 0x08 * i; in pci_fintek_init() 1656 pci_write_config_byte(dev, config_base + 0x00, 0x01); in pci_fintek_init() 1659 pci_write_config_byte(dev, config_base + 0x01, 0x33); in pci_fintek_init() 1662 pci_write_config_byte(dev, config_base + 0x04, in pci_fintek_init() 1666 pci_write_config_byte(dev, config_base + 0x05, in pci_fintek_init() 1669 pci_write_config_byte(dev, config_base + 0x06, dev->irq); in pci_fintek_init() [all …]
|
/linux-4.4.14/drivers/perf/ |
D | arm_pmu.c | 413 hwc->config_base = 0; in __hw_perf_event_init() 431 hwc->config_base |= (unsigned long)mapping; in __hw_perf_event_init()
|
/linux-4.4.14/arch/mips/include/asm/sn/ |
D | klconfig.h | 128 unsigned long config_base; member
|
/linux-4.4.14/drivers/net/ethernet/smsc/ |
D | smc91c92_cs.c | 393 tmp = readb(smc->base + link->config_base + CISREG_COR); in mhz_3288_power() 395 writeb(tmp, smc->base + link->config_base + CISREG_COR); in mhz_3288_power() 447 offset = (smc->manfid == MANFID_MOTOROLA) ? link->config_base : 0; in mhz_mfc_config()
|
/linux-4.4.14/Documentation/pcmcia/ |
D | driver-changes.txt | 18 config_index, config_base, vpp.
|
/linux-4.4.14/include/linux/ |
D | perf_event.h | 104 unsigned long config_base; member
|
/linux-4.4.14/drivers/net/ethernet/8390/ |
D | pcnet_cs.c | 403 if (link->config_base != 0x03c0) in get_ax88190() 533 if ((link->config_base == 0x03c0) && in pcnet_try_config()
|
D | axnet_cs.c | 215 if (link->config_base != 0x03c0) in get_prom()
|