/kernel/linux/linux-5.10/arch/mips/pci/ |
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 …]
|
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()
|
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()
|
/kernel/linux/linux-5.10/drivers/net/can/sja1000/ |
D | peak_pci.c | 35 void __iomem *cfg_base; /* Common for all channels */ member 142 void __iomem *cfg_base; /* Common for all channels */ member 160 u8 gp_outen = readb(card->cfg_base + PITA_GPOEN) & ~PITA_GPIN_SCL; in pita_set_scl_highz() 161 writeb(gp_outen, card->cfg_base + PITA_GPOEN); in pita_set_scl_highz() 166 u8 gp_outen = readb(card->cfg_base + PITA_GPOEN) & ~PITA_GPIN_SDA; in pita_set_sda_highz() 167 writeb(gp_outen, card->cfg_base + PITA_GPOEN); in pita_set_sda_highz() 183 gp_out = readb(card->cfg_base + PITA_GPOUT) & ~PITA_GPIN_SDA; in pita_setsda() 184 writeb(gp_out, card->cfg_base + PITA_GPOUT); in pita_setsda() 187 gp_outen = readb(card->cfg_base + PITA_GPOEN); in pita_setsda() 193 writeb(gp_outen, card->cfg_base + PITA_GPOEN); in pita_setsda() [all …]
|
/kernel/linux/linux-5.10/drivers/ide/ |
D | trm290.c | 237 unsigned int cfg_base = pci_resource_start(dev, 4); in init_hwif_trm290() local 241 if ((dev->class & 5) && cfg_base) in init_hwif_trm290() 244 cfg_base = 0x3df0; in init_hwif_trm290() 247 printk(KERN_CONT " config base at 0x%04x\n", cfg_base); in init_hwif_trm290() 248 hwif->config_data = cfg_base; in init_hwif_trm290() 249 hwif->dma_base = (cfg_base + 4) ^ (hwif->channel ? 0x80 : 0); in init_hwif_trm290()
|
/kernel/linux/linux-5.10/drivers/pci/controller/ |
D | pci-xgene.c | 69 void __iomem *cfg_base; member 110 return port->cfg_base + AXI_EP_CFG_ACCESS; in xgene_pcie_get_cfg_base() 112 return port->cfg_base; in xgene_pcie_get_cfg_base() 247 port->cfg_base = cfg->win; in xgene_pcie_ecam_init() 359 port->cfg_base = devm_ioremap_resource(dev, res); in xgene_pcie_map_reg() 360 if (IS_ERR(port->cfg_base)) in xgene_pcie_map_reg() 361 return PTR_ERR(port->cfg_base); in xgene_pcie_map_reg() 486 void __iomem *cfg_base = port->cfg_base; in xgene_pcie_setup_ib_reg() local 511 bar_addr = cfg_base + PCI_BASE_ADDRESS_0; in xgene_pcie_setup_ib_reg()
|
/kernel/linux/linux-5.10/drivers/pci/controller/dwc/ |
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()
|
/kernel/linux/linux-5.10/drivers/soc/ti/ |
D | pruss.c | 87 reg = pruss->cfg_base + reg_offset; in pruss_clk_mux_setup() 260 pruss->cfg_base = devm_ioremap(dev, res.start, resource_size(&res)); in pruss_probe() 261 if (!pruss->cfg_base) { in pruss_probe() 270 pruss->cfg_regmap = devm_regmap_init_mmio(dev, pruss->cfg_base, in pruss_probe()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gvt/ |
D | cfg_space.c | 71 u8 *cfg_base = vgpu_cfg_space(vgpu); in vgpu_pci_cfg_mem_write() local 78 old = cfg_base[off + i]; in vgpu_pci_cfg_mem_write() 89 cfg_base[off + i] = (old & ~mask) | new; in vgpu_pci_cfg_mem_write() 94 memcpy(cfg_base + off + i, src + i, bytes - i); in vgpu_pci_cfg_mem_write()
|
/kernel/linux/linux-5.10/include/linux/ |
D | pruss_driver.h | 47 void __iomem *cfg_base; member
|
/kernel/linux/linux-5.10/drivers/pci/controller/cadence/ |
D | pcie-cadence-host.c | 71 return rc->cfg_base + (where & 0xfff); in cdns_pci_map_bus() 496 rc->cfg_base = devm_pci_remap_cfg_resource(dev, res); in cdns_pcie_host_setup() 497 if (IS_ERR(rc->cfg_base)) in cdns_pcie_host_setup() 498 return PTR_ERR(rc->cfg_base); in cdns_pcie_host_setup()
|
D | pcie-cadence.h | 307 void __iomem *cfg_base; member
|
/kernel/linux/linux-5.10/drivers/net/usb/ |
D | smsc75xx.c | 1533 int cfg_base = WUF_CFGX + filter * 4; in smsc75xx_write_wuff() local 1537 ret = smsc75xx_write_reg(dev, cfg_base, wuf_cfg); in smsc75xx_write_wuff()
|