Searched refs:PCI_MMCFG_BUS_OFFSET (Results 1 – 5 of 5) sorted by relevance
24 return cfg->virt + (PCI_MMCFG_BUS_OFFSET(bus) | (devfn << 12)); in pci_dev_base()105 start = cfg->address + PCI_MMCFG_BUS_OFFSET(cfg->start_bus); in mcfg_ioremap()107 size = PCI_MMCFG_BUS_OFFSET(num_buses); in mcfg_ioremap()110 addr -= PCI_MMCFG_BUS_OFFSET(cfg->start_bus); in mcfg_ioremap()151 iounmap(cfg->virt + PCI_MMCFG_BUS_OFFSET(cfg->start_bus)); in pci_mmcfg_arch_unmap()
23 return cfg->virt + (PCI_MMCFG_BUS_OFFSET(bus) | (devfn << 12)); in pci_dev_base()
41 u32 dev_base = base | PCI_MMCFG_BUS_OFFSET(bus) | (devfn << 12); in pci_exp_set_dev_base()
88 res->start = addr + PCI_MMCFG_BUS_OFFSET(start); in pci_mmconfig_alloc()89 res->end = addr + PCI_MMCFG_BUS_OFFSET(end + 1) - 1; in pci_mmconfig_alloc()478 PCI_MMCFG_BUS_OFFSET(num_buses) - 1; in is_mmconf_reserved()
177 #define PCI_MMCFG_BUS_OFFSET(bus) ((bus) << 20) macro