Home
last modified time | relevance | path

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

/linux/drivers/pci/controller/
H A Dpci-versatile.c21 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()
[all …]