Home
last modified time | relevance | path

Searched refs:config_base (Results 1 – 25 of 47) sorted by relevance

12

/linux/arch/arm/mach-bcm/
H A Dbcm63xx_smp.c37 unsigned long config_base; in scu_a9_enable() local
47 config_base = scu_a9_get_base(); in scu_a9_enable()
48 if (!config_base) { in scu_a9_enable()
53 scu_base = ioremap((phys_addr_t)config_base, CORTEX_A9_SCU_SIZE); in scu_a9_enable()
56 config_base, CORTEX_A9_SCU_SIZE); in scu_a9_enable()
H A Dplatsmp.c49 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/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_pmu.c219 hwc->config_base = AMDGPU_PMU_PERF_TYPE_NONE; in amdgpu_perf_event_init()
243 switch (hwc->config_base) { in amdgpu_perf_start()
281 switch (hwc->config_base) { in amdgpu_perf_read()
311 switch (hwc->config_base) { in amdgpu_perf_stop()
346 hwc->config_base = AMDGPU_PMU_EVENT_CONFIG_TYPE_DF; in amdgpu_perf_add()
349 hwc->config_base = (hwc->config >> in amdgpu_perf_add()
357 switch (hwc->config_base) { in amdgpu_perf_add()
395 switch (hwc->config_base) { in amdgpu_perf_del()
/linux/drivers/pci/controller/dwc/
H A Dpcie-tegra194-acpi.c17 void __iomem *config_base; member
31 pcie_ecam->config_base = cfg->win; in tegra194_acpi_init()
99 return pcie_ecam->config_base + where; in tegra194_map_bus()
/linux/arch/x86/events/intel/
H A Duncore_discovery.c506 wrmsrq(hwc->config_base, hwc->config); in intel_generic_uncore_msr_enable_event()
514 wrmsrq(hwc->config_base, 0); in intel_generic_uncore_msr_disable_event()
536 hwc->config_base = uncore_pci_event_ctl(box, hwc->idx); in intel_generic_uncore_assign_hw_event()
547 hwc->config_base = box_ctl + uncore_pci_event_ctl(box, hwc->idx); in intel_generic_uncore_assign_hw_event()
552 hwc->config_base = box_ctl + box->pmu->type->event_ctl + hwc->idx; in intel_generic_uncore_assign_hw_event()
594 pci_write_config_dword(pdev, hwc->config_base, hwc->config); in intel_generic_uncore_pci_enable_event()
603 pci_write_config_dword(pdev, hwc->config_base, 0); in intel_generic_uncore_pci_disable_event()
684 writel(hwc->config, box->io_addr + hwc->config_base); in intel_generic_uncore_mmio_enable_event()
695 writel(0, box->io_addr + hwc->config_base); in intel_generic_uncore_mmio_disable_event()
H A Duncore_snbep.c607 pci_write_config_dword(pdev, hwc->config_base, hwc->config | SNBEP_PMON_CTL_EN); in snbep_uncore_pci_enable_event()
615 pci_write_config_dword(pdev, hwc->config_base, hwc->config); in snbep_uncore_pci_disable_event()
672 wrmsrq(hwc->config_base, hwc->config | SNBEP_PMON_CTL_EN); in snbep_uncore_msr_enable_event()
680 wrmsrq(hwc->config_base, hwc->config); in snbep_uncore_msr_disable_event()
1214 pci_write_config_dword(pdev, hwc->config_base, hwc->config | SNBEP_PMON_CTL_EN); in snbep_qpi_enable_event()
1775 wrmsrq(hwc->config_base, hwc->config | SNBEP_PMON_CTL_EN); in ivbep_cbox_enable_event()
2286 pci_write_config_dword(pdev, hwc->config_base, in knl_uncore_imc_enable_event()
2289 pci_write_config_dword(pdev, hwc->config_base, in knl_uncore_imc_enable_event()
2759 wrmsrq(hwc->config_base, hwc->config | SNBEP_PMON_CTL_EN); in hswep_cbox_enable_event()
3647 wrmsrq(hwc->config_base, hwc->config | SNBEP_PMON_CTL_EN); in skx_iio_enable_event()
[all …]
/linux/arch/loongarch/kernel/
H A Dperf_event.c275 (evt->config_base & M_PERFCTL_CONFIG_MASK) | CSR_PERFCTRL_IE; in loongarch_pmu_enable_event()
784 hwc->config_base = CSR_PERFCTRL_IE; in __hw_perf_event_init()
791 hwc->config_base |= CSR_PERFCTRL_PLV3; in __hw_perf_event_init()
792 hwc->config_base |= CSR_PERFCTRL_PLV2; in __hw_perf_event_init()
795 hwc->config_base |= CSR_PERFCTRL_PLV0; in __hw_perf_event_init()
798 hwc->config_base |= CSR_PERFCTRL_PLV1; in __hw_perf_event_init()
801 hwc->config_base &= M_PERFCTL_CONFIG_MASK; in __hw_perf_event_init()
/linux/arch/s390/kernel/
H A Dperf_cpum_cf.c811 hwc->config_base = cpumf_ctr_ctl[set]; in __hw_perf_event_init()
829 if (!(hwc->config_base & cpumf_ctr_info.auth_ctl)) in __hw_perf_event_init()
930 ctr_set_enable(&cpuhw->state, hwc->config_base); in cpumf_pmu_start()
931 ctr_set_start(&cpuhw->state, hwc->config_base); in cpumf_pmu_start()
941 hwc->config_base, true); in cpumf_pmu_start()
948 if ((hwc->config_base & cpumf_ctr_ctl[i])) in cpumf_pmu_start()
998 if (!(hwc->config_base & cpumf_ctr_ctl[i])) in cpumf_pmu_stop()
1011 event->hw.config_base, in cpumf_pmu_stop()
1013 if (cfdiag_diffctr(cpuhw, event->hw.config_base)) in cpumf_pmu_stop()
1026 ctr_set_enable(&cpuhw->state, event->hw.config_base); in cpumf_pmu_add()
[all …]
/linux/drivers/pci/controller/
H A Dpci-v3-semi.c239 void __iomem *config_base; member
378 return v3->config_base + address + offset; in v3_map_bus()
757 v3->config_base = devm_ioremap_resource(dev, regs); in v3_pci_probe()
758 if (IS_ERR(v3->config_base)) in v3_pci_probe()
759 return PTR_ERR(v3->config_base); in v3_pci_probe()
/linux/drivers/perf/
H A Darm-ccn.c673 hw->config_base = bit; in arm_ccn_pmu_event_alloc()
694 clear_bit(hw->config_base, source->xp.dt_cmp_mask); in arm_ccn_pmu_event_release()
696 clear_bit(hw->config_base, source->pmu_events_mask); in arm_ccn_pmu_event_release()
940 unsigned long wp = hw->config_base; in arm_ccn_pmu_xp_watchpoint_config()
990 hw->event_base = CCN_XP_DT_CONFIG__DT_CFG__XP_PMU_EVENT(hw->config_base); in arm_ccn_pmu_xp_event_config()
998 CCN_XP_PMU_EVENT_SEL__ID__SHIFT(hw->config_base)); in arm_ccn_pmu_xp_event_config()
999 val |= id << CCN_XP_PMU_EVENT_SEL__ID__SHIFT(hw->config_base); in arm_ccn_pmu_xp_event_config()
1014 hw->config_base); in arm_ccn_pmu_node_event_config()
1034 CCN_HNF_PMU_EVENT_SEL__ID__SHIFT(hw->config_base)); in arm_ccn_pmu_node_event_config()
1036 CCN_HNF_PMU_EVENT_SEL__ID__SHIFT(hw->config_base); in arm_ccn_pmu_node_event_config()
/linux/arch/x86/events/amd/
H A Dibs.c369 hwc->config_base = perf_ibs->msr; in perf_ibs_init()
428 rdmsrq(event->hw.config_base, *config); in perf_ibs_event_update()
439 wrmsrq(hwc->config_base, tmp & ~perf_ibs->enable_mask); in perf_ibs_enable_event()
441 wrmsrq(hwc->config_base, tmp | perf_ibs->enable_mask); in perf_ibs_enable_event()
456 wrmsrq(hwc->config_base, config); in perf_ibs_disable_event()
458 wrmsrq(hwc->config_base, config); in perf_ibs_disable_event()
517 rdmsrq(hwc->config_base, config); in perf_ibs_stop()
1258 msr = hwc->config_base; in perf_ibs_handle_irq()
H A Duncore.c177 wrmsrq(hwc->config_base, (hwc->config | ARCH_PERFMON_EVENTSEL_ENABLE)); in amd_uncore_start()
187 wrmsrq(hwc->config_base, hwc->config); in amd_uncore_stop()
234 hwc->config_base = pmu->msr_base + (2 * hwc->idx); in amd_uncore_add()
952 wrmsrq(hwc->config_base, (hwc->config | AMD64_PERFMON_V2_ENABLE_UMC)); in amd_uncore_umc_start()
/linux/drivers/pci/controller/plda/
H A Dpcie-plda-host.c28 return pcie->config_base + PCIE_ECAM_OFFSET(bus->number, devfn, where); in plda_pcie_map_bus()
595 port->config_base = devm_ioremap_resource(dev, cfg_res); in plda_pcie_host_init()
596 if (IS_ERR(port->config_base)) in plda_pcie_host_init()
597 return dev_err_probe(dev, PTR_ERR(port->config_base), in plda_pcie_host_init()
H A Dpcie-plda.h184 void __iomem *config_base; member
/linux/drivers/media/dvb-core/
H A Ddvb_ca_en50221.c94 u32 config_base; member
523 sl->config_base = 0; in dvb_ca_en50221_parse_attributes()
525 sl->config_base |= (tuple[2 + i] << (8 * i)); in dvb_ca_en50221_parse_attributes()
589 manfid, devid, sl->config_base, sl->config_option); in dvb_ca_en50221_parse_attributes()
609 ca->pub->write_attribute_mem(ca->pub, slot, sl->config_base, in dvb_ca_en50221_set_configoption()
614 sl->config_base); in dvb_ca_en50221_set_configoption()
/linux/tools/perf/
H A Dbuiltin-daemon.c88 char *config_base; member
978 zfree(&daemon->config_base); in daemon__exit()
1037 daemon->config_base = strdup(base); in setup_config_changes()
1038 if (!daemon->config_base) { in setup_config_changes()
1065 if (!strcmp(event->name, daemon->config_base)) in process_inotify_event()
/linux/drivers/net/ethernet/fujitsu/
H A Dfmvj18x_cs.c359 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/arch/arm/mm/
H A Dcache-l2x0-pmu.c200 __l2x0_pmu_event_enable(hw->idx, hw->config_base); in l2x0_pmu_event_start()
311 hw->config_base = event->attr.config; in l2x0_pmu_event_init()
/linux/arch/sparc/kernel/
H A Dperf_event.c977 cpuc->pcr[0] |= cpuc->event[0]->hw.config_base; in calculate_single_pcr()
1010 cpuc->pcr[idx] |= cp->hw.config_base; in calculate_multiple_pcrs()
1465 hwc->config_base = sparc_pmu->irq_bit; in sparc_pmu_event_init()
1467 hwc->config_base |= sparc_pmu->user_bit; in sparc_pmu_event_init()
1469 hwc->config_base |= sparc_pmu->priv_bit; in sparc_pmu_event_init()
1471 hwc->config_base |= sparc_pmu->hv_bit; in sparc_pmu_event_init()
/linux/drivers/fpga/
H A Ddfl-fme-perf.c792 ops->event_destroy(priv, event->hw.idx, event->hw.config_base); in fme_perf_event_destroy()
828 hwc->config_base = portid; in fme_perf_event_init()
849 now = ops->read_counter(priv, (u32)hwc->idx, hwc->config_base); in fme_perf_event_update()
863 count = ops->read_counter(priv, (u32)hwc->idx, hwc->config_base); in fme_perf_event_start()
/linux/drivers/tty/serial/8250/
H A D8250_pci.c1660 u8 config_base; in pci_fintek_setup() local
1666 config_base = 0x40 + 0x08 * idx; in pci_fintek_setup()
1669 pci_read_config_word(pdev, config_base + 4, &iobase); in pci_fintek_setup()
1694 u8 config_base; in pci_fintek_init() local
1724 config_base = 0x40 + 0x08 * i; in pci_fintek_init()
1730 pci_write_config_byte(dev, config_base + 0x00, 0x01); in pci_fintek_init()
1733 pci_write_config_byte(dev, config_base + 0x01, 0x33); in pci_fintek_init()
1736 pci_write_config_byte(dev, config_base + 0x04, in pci_fintek_init()
1740 pci_write_config_byte(dev, config_base + 0x05, in pci_fintek_init()
1743 pci_write_config_byte(dev, config_base + 0x06, dev->irq); in pci_fintek_init()
[all …]
/linux/include/pcmcia/
H A Dds.h111 unsigned int config_base; member
/linux/drivers/perf/hisilicon/
H A Dhisi_uncore_pmu.h47 #define HISI_GET_EVENTID(ev) ((ev)->hw.config_base & HISI_EVENTID_MASK)
/linux/drivers/pcmcia/
H A Dpcmcia_resource.c177 addr = (p_dev->config_base + where) >> 1; in pcmcia_access_config()
535 p_dev->vpp, flags, p_dev->config_base, p_dev->config_regs, in pcmcia_enable_device()
539 base = p_dev->config_base; in pcmcia_enable_device()
/linux/drivers/mfd/
H A Dqcom-pm8008.c154 .config_base = pm8008_config_regs,

12