Lines Matching refs:segment
59 if (cfg->segment > new->segment || in list_add_sorted()
60 (cfg->segment == new->segment && in list_add_sorted()
69 static struct pci_mmcfg_region *pci_mmconfig_alloc(int segment, int start, in pci_mmconfig_alloc() argument
83 new->segment = segment; in pci_mmconfig_alloc()
92 "PCI MMCONFIG %04x [bus %02x-%02x]", segment, start, end); in pci_mmconfig_alloc()
98 struct pci_mmcfg_region *__init pci_mmconfig_add(int segment, int start, in pci_mmconfig_add() argument
103 new = pci_mmconfig_alloc(segment, start, end, addr); in pci_mmconfig_add()
112 segment, start, end, &new->res, (unsigned long)addr); in pci_mmconfig_add()
118 struct pci_mmcfg_region *pci_mmconfig_lookup(int segment, int bus) in pci_mmconfig_lookup() argument
123 if (cfg->segment == segment && in pci_mmconfig_lookup()
481 cfg->segment, cfg->start_bus, cfg->end_bus); in is_mmconf_reserved()
492 cfg->segment, cfg->start_bus, cfg->end_bus, in is_mmconf_reserved()
646 if (cfg->segment) in __pci_mmcfg_init()
742 cfg->segment, cfg->start_bus, cfg->end_bus); in pci_mmconfig_insert()
801 if (cfg->segment == seg && cfg->start_bus == start && in pci_mmconfig_delete()