Home
last modified time | relevance | path

Searched refs:cfg_base (Results 1 – 3 of 3) sorted by relevance

/arch/mips/pci/
Dops-lantiq.c29 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 …]
Dpci-ar71xx.c49 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()
Dpci-alchemy.c105 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()