Searched refs:cfg_base (Results 1 – 4 of 4) sorted by relevance
31 unsigned long cfg_base; in ltq_pci_config_access() local43 cfg_base = (unsigned long) ltq_pci_mapped_cfg; in ltq_pci_config_access()44 cfg_base |= (bus->number << LTQ_PCI_CFG_BUSNUM_SHF) | (devfn << in ltq_pci_config_access()49 ltq_w32(swab32(*data), ((u32 *)cfg_base)); in ltq_pci_config_access()51 *data = ltq_r32(((u32 *)(cfg_base))); in ltq_pci_config_access()57 cfg_base = (unsigned long) ltq_pci_mapped_cfg; in ltq_pci_config_access()58 cfg_base |= (0x0 << LTQ_PCI_CFG_FUNNUM_SHF) + 4; in ltq_pci_config_access()59 temp = ltq_r32(((u32 *)(cfg_base))); in ltq_pci_config_access()61 cfg_base = (unsigned long) ltq_pci_mapped_cfg; in ltq_pci_config_access()62 cfg_base |= (0x68 << LTQ_PCI_CFG_FUNNUM_SHF) + 4; in ltq_pci_config_access()[all …]
52 void __iomem *cfg_base; member112 void __iomem *base = apc->cfg_base; in ar71xx_pci_check_error()150 void __iomem *base = apc->cfg_base; in ar71xx_pci_local_write()167 void __iomem *base = apc->cfg_base; in ar71xx_pci_set_cfgaddr()183 void __iomem *base = apc->cfg_base; in ar71xx_pci_read_config()207 void __iomem *base = apc->cfg_base; in ar71xx_pci_write_config()343 apc->cfg_base = devm_ioremap_resource(&pdev->dev, res); in ar71xx_pci_probe()344 if (IS_ERR(apc->cfg_base)) in ar71xx_pci_probe()345 return PTR_ERR(apc->cfg_base); in ar71xx_pci_probe()
105 unsigned long offset, status, cfg_base, flags, entryLo0, entryLo1, r; in config_access() local130 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()
168 unsigned long cfg_base, in ath79_register_pci_ar724x() argument183 res[0].start = cfg_base; in ath79_register_pci_ar724x()184 res[0].end = cfg_base + AR724X_PCI_CFG_SIZE - 1; in ath79_register_pci_ar724x()