/linux-6.3-rc2/drivers/net/can/sja1000/ |
A D | peak_pci.c | 459 card->cfg_base = chan->cfg_base; in peak_pciec_probe() 556 void __iomem *cfg_base, *reg_base; in peak_pci_probe() local 590 if (!cfg_base) { in peak_pci_probe() 628 icr = readw(cfg_base + PITA_ICR + 2); in peak_pci_probe() 640 chan->cfg_base = cfg_base; in peak_pci_probe() 695 writew(icr, cfg_base + PITA_ICR + 2); in peak_pci_probe() 705 writew(0x0, cfg_base + PITA_ICR + 2); in peak_pci_probe() 724 pci_iounmap(pdev, cfg_base); in peak_pci_probe() 744 void __iomem *cfg_base = chan->cfg_base; in peak_pci_remove() local 748 writew(0x0, cfg_base + PITA_ICR + 2); in peak_pci_remove() [all …]
|
/linux-6.3-rc2/arch/mips/pci/ |
A D | ops-lantiq.c | 29 unsigned long cfg_base; in ltq_pci_config_access() local 41 cfg_base = (unsigned long) ltq_pci_mapped_cfg; in ltq_pci_config_access() 42 cfg_base |= (bus->number << LTQ_PCI_CFG_BUSNUM_SHF) | (devfn << in ltq_pci_config_access() 47 ltq_w32(swab32(*data), ((u32 *)cfg_base)); in ltq_pci_config_access() 49 *data = ltq_r32(((u32 *)(cfg_base))); in ltq_pci_config_access() 55 cfg_base = (unsigned long) ltq_pci_mapped_cfg; in ltq_pci_config_access() 56 cfg_base |= (0x0 << LTQ_PCI_CFG_FUNNUM_SHF) + 4; in ltq_pci_config_access() 57 temp = ltq_r32(((u32 *)(cfg_base))); in ltq_pci_config_access() 59 cfg_base = (unsigned long) ltq_pci_mapped_cfg; in ltq_pci_config_access() 60 cfg_base |= (0x68 << LTQ_PCI_CFG_FUNNUM_SHF) + 4; in ltq_pci_config_access() [all …]
|
A D | pci-ar71xx.c | 49 void __iomem *cfg_base; member 109 void __iomem *base = apc->cfg_base; in ar71xx_pci_check_error() 147 void __iomem *base = apc->cfg_base; in ar71xx_pci_local_write() 164 void __iomem *base = apc->cfg_base; in ar71xx_pci_set_cfgaddr() 180 void __iomem *base = apc->cfg_base; in ar71xx_pci_read_config() 204 void __iomem *base = apc->cfg_base; in ar71xx_pci_write_config() 339 apc->cfg_base = devm_platform_ioremap_resource_byname(pdev, in ar71xx_pci_probe() 341 if (IS_ERR(apc->cfg_base)) in ar71xx_pci_probe() 342 return PTR_ERR(apc->cfg_base); in ar71xx_pci_probe()
|
A D | pci-alchemy.c | 105 unsigned long offset, status, cfg_base, flags, entryLo0, entryLo1, r; in config_access() local 130 cfg_base = (1 << device) << 11; in config_access() 132 cfg_base = 0x80000000 | (bus->number << 16) | (device << 11); in config_access() 137 offset |= cfg_base & ~PAGE_MASK; in config_access() 140 cfg_base = cfg_base & PAGE_MASK; in config_access() 145 entryLo0 = (6 << 26) | (cfg_base >> 6) | (2 << 3) | 7; in config_access() 146 entryLo1 = (6 << 26) | (cfg_base >> 6) | (0x1000 >> 6) | (2 << 3) | 7; in config_access()
|
/linux-6.3-rc2/sound/soc/intel/avs/ |
A D | path.c | 333 cfg.base.cpc = t->cfg_base->cpc; in avs_updown_mix_create() 334 cfg.base.ibs = t->cfg_base->ibs; in avs_updown_mix_create() 335 cfg.base.obs = t->cfg_base->obs; in avs_updown_mix_create() 354 cfg.base.cpc = t->cfg_base->cpc; in avs_src_create() 355 cfg.base.ibs = t->cfg_base->ibs; in avs_src_create() 356 cfg.base.obs = t->cfg_base->obs; in avs_src_create() 371 cfg.base.cpc = t->cfg_base->cpc; in avs_asrc_create() 372 cfg.base.ibs = t->cfg_base->ibs; in avs_asrc_create() 461 cfg.cpc = t->cfg_base->cpc; in avs_modbase_create() 462 cfg.ibs = t->cfg_base->ibs; in avs_modbase_create() [all …]
|
A D | topology.h | 180 struct avs_tplg_modcfg_base *cfg_base; member
|
A D | topology.c | 1047 .offset = offsetof(struct avs_tplg_module, cfg_base),
|
/linux-6.3-rc2/drivers/perf/ |
A D | alibaba_uncore_drw_pmu.c | 94 void __iomem *cfg_base; member 274 return readl(drw_pmu->cfg_base + in ali_drw_pmu_read_counter() 304 drw_pmu->cfg_base + ALI_DRW_PMU_TEST_CTRL); in ali_drw_pmu_event_set_period() 322 val = readl(drw_pmu->cfg_base + reg); in ali_drw_pmu_enable_counter() 330 writel(val, drw_pmu->cfg_base + reg); in ali_drw_pmu_enable_counter() 340 val = readl(drw_pmu->cfg_base + reg); in ali_drw_pmu_disable_counter() 348 writel(val, drw_pmu->cfg_base + reg); in ali_drw_pmu_disable_counter() 561 drw_pmu->cfg_base + ALI_DRW_PMU_CNT_CTRL); in ali_drw_pmu_start() 570 drw_pmu->cfg_base + ALI_DRW_PMU_CNT_PRELOAD); in ali_drw_pmu_start() 661 if (IS_ERR(drw_pmu->cfg_base)) in ali_drw_pmu_probe() [all …]
|
/linux-6.3-rc2/drivers/pci/controller/ |
A D | pci-xgene.c | 66 void __iomem *cfg_base; member 107 return port->cfg_base + AXI_EP_CFG_ACCESS; in xgene_pcie_get_cfg_base() 109 return port->cfg_base; in xgene_pcie_get_cfg_base() 245 port->cfg_base = cfg->win; in xgene_pcie_ecam_init() 355 port->cfg_base = devm_ioremap_resource(dev, res); in xgene_pcie_map_reg() 356 if (IS_ERR(port->cfg_base)) in xgene_pcie_map_reg() 357 return PTR_ERR(port->cfg_base); in xgene_pcie_map_reg() 482 void __iomem *cfg_base = port->cfg_base; in xgene_pcie_setup_ib_reg() local 507 bar_addr = cfg_base + PCI_BASE_ADDRESS_0; in xgene_pcie_setup_ib_reg()
|
/linux-6.3-rc2/drivers/pci/controller/dwc/ |
A D | pci-meson.c | 69 void __iomem *cfg_base; member 117 mp->cfg_base = devm_platform_ioremap_resource_byname(pdev, "cfg"); in meson_pcie_get_mems() 118 if (IS_ERR(mp->cfg_base)) in meson_pcie_get_mems() 119 return PTR_ERR(mp->cfg_base); in meson_pcie_get_mems() 219 return readl(mp->cfg_base + reg); in meson_cfg_readl() 224 writel(val, mp->cfg_base + reg); in meson_cfg_writel()
|
/linux-6.3-rc2/drivers/soc/ti/ |
A D | pruss.c | 87 reg = pruss->cfg_base + reg_offset; in pruss_clk_mux_setup() 182 pruss->cfg_base = devm_ioremap(dev, res.start, resource_size(&res)); in pruss_cfg_of_init() 183 if (!pruss->cfg_base) { in pruss_cfg_of_init() 192 pruss->cfg_regmap = devm_regmap_init_mmio(dev, pruss->cfg_base, in pruss_cfg_of_init()
|
/linux-6.3-rc2/drivers/gpu/drm/i915/gvt/ |
A D | cfg_space.c | 72 u8 *cfg_base = vgpu_cfg_space(vgpu); in vgpu_pci_cfg_mem_write() local 79 old = cfg_base[off + i]; in vgpu_pci_cfg_mem_write() 90 cfg_base[off + i] = (old & ~mask) | new; in vgpu_pci_cfg_mem_write() 95 memcpy(cfg_base + off + i, src + i, bytes - i); in vgpu_pci_cfg_mem_write()
|
/linux-6.3-rc2/include/linux/ |
A D | pruss_driver.h | 47 void __iomem *cfg_base; member
|
/linux-6.3-rc2/drivers/pci/controller/cadence/ |
A D | pcie-cadence-host.c | 71 return rc->cfg_base + (where & 0xfff); in cdns_pci_map_bus() 504 rc->cfg_base = devm_pci_remap_cfg_resource(dev, res); in cdns_pcie_host_setup() 505 if (IS_ERR(rc->cfg_base)) in cdns_pcie_host_setup() 506 return PTR_ERR(rc->cfg_base); in cdns_pcie_host_setup()
|
A D | pcie-cadence.h | 326 void __iomem *cfg_base; member
|
/linux-6.3-rc2/drivers/net/usb/ |
A D | smsc75xx.c | 1534 int cfg_base = WUF_CFGX + filter * 4; in smsc75xx_write_wuff() local 1538 ret = smsc75xx_write_reg(dev, cfg_base, wuf_cfg); in smsc75xx_write_wuff()
|