Lines Matching refs:versatile_cfg_base
21 static void __iomem *versatile_cfg_base[2]; variable
55 return versatile_cfg_base[1] + ((busnr << 16) | (devfn << 8) | offset); in versatile_map_bus()
82 versatile_cfg_base[0] = devm_platform_ioremap_resource(pdev, 1); in versatile_pci_probe()
83 if (IS_ERR(versatile_cfg_base[0])) in versatile_pci_probe()
84 return PTR_ERR(versatile_cfg_base[0]); in versatile_pci_probe()
87 versatile_cfg_base[1] = devm_pci_remap_cfg_resource(dev, res); in versatile_pci_probe()
88 if (IS_ERR(versatile_cfg_base[1])) in versatile_pci_probe()
89 return PTR_ERR(versatile_cfg_base[1]); in versatile_pci_probe()
104 if ((readl(versatile_cfg_base[0] + (i << 11) + PCI_VENDOR_ID) == VP_PCI_DEVICE_ID) && in versatile_pci_probe()
105 (readl(versatile_cfg_base[0] + (i << 11) + PCI_CLASS_REVISION) == VP_PCI_CLASS_ID)) { in versatile_pci_probe()
122 local_pci_cfg_base = versatile_cfg_base[1] + (myslot << 11); in versatile_pci_probe()
146 writel(0, versatile_cfg_base[0] + PCI_INTERRUPT_LINE); in versatile_pci_probe()