Searched refs:PCI_MMCFG_BUS_OFFSET (Results 1 – 4 of 4) sorted by relevance
22 return cfg->virt + (PCI_MMCFG_BUS_OFFSET(bus) | (devfn << 12)); in pci_dev_base()95 start = cfg->address + PCI_MMCFG_BUS_OFFSET(cfg->start_bus); in mcfg_ioremap()97 size = PCI_MMCFG_BUS_OFFSET(num_buses); in mcfg_ioremap()100 addr -= PCI_MMCFG_BUS_OFFSET(cfg->start_bus); in mcfg_ioremap()127 iounmap(cfg->virt + PCI_MMCFG_BUS_OFFSET(cfg->start_bus)); in pci_mmcfg_arch_free()
42 u32 dev_base = base | PCI_MMCFG_BUS_OFFSET(bus) | (devfn << 12); in pci_exp_set_dev_base()
85 res->start = addr + PCI_MMCFG_BUS_OFFSET(start); in pci_mmconfig_add()86 res->end = addr + PCI_MMCFG_BUS_OFFSET(end + 1) - 1; in pci_mmconfig_add()462 PCI_MMCFG_BUS_OFFSET(num_buses) - 1; in is_mmconf_reserved()
142 #define PCI_MMCFG_BUS_OFFSET(bus) ((bus) << 20) macro