Home
last modified time | relevance | path

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

/Linux-v5.10/arch/x86/pci/
Dmmconfig_64.c24 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()
Dnumachip.c23 return cfg->virt + (PCI_MMCFG_BUS_OFFSET(bus) | (devfn << 12)); in pci_dev_base()
Dmmconfig_32.c41 u32 dev_base = base | PCI_MMCFG_BUS_OFFSET(bus) | (devfn << 12); in pci_exp_set_dev_base()
Dmmconfig-shared.c88 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()
/Linux-v5.10/arch/x86/include/asm/
Dpci_x86.h177 #define PCI_MMCFG_BUS_OFFSET(bus) ((bus) << 20) macro