Home
last modified time | relevance | path

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

/linux-6.1.9/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.c24 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-6.1.9/arch/x86/include/asm/
Dpci_x86.h193 #define PCI_MMCFG_BUS_OFFSET(bus) ((bus) << 20) macro