Lines Matching refs:segment
60 if (cfg->segment > new->segment || in list_add_sorted()
61 (cfg->segment == new->segment && in list_add_sorted()
70 static struct pci_mmcfg_region *pci_mmconfig_alloc(int segment, int start, in pci_mmconfig_alloc() argument
84 new->segment = segment; in pci_mmconfig_alloc()
93 "PCI MMCONFIG %04x [bus %02x-%02x]", segment, start, end); in pci_mmconfig_alloc()
99 struct pci_mmcfg_region *__init pci_mmconfig_add(int segment, int start, in pci_mmconfig_add() argument
104 new = pci_mmconfig_alloc(segment, start, end, addr); in pci_mmconfig_add()
113 segment, start, end, &new->res, (unsigned long)addr); in pci_mmconfig_add()
119 struct pci_mmcfg_region *pci_mmconfig_lookup(int segment, int bus) in pci_mmconfig_lookup() argument
124 if (cfg->segment == segment && in pci_mmconfig_lookup()
507 cfg->segment, cfg->start_bus, cfg->end_bus); in is_mmconf_reserved()
518 cfg->segment, cfg->start_bus, cfg->end_bus, in is_mmconf_reserved()
678 if (cfg->segment) in __pci_mmcfg_init()
774 cfg->segment, cfg->start_bus, cfg->end_bus); in pci_mmconfig_insert()
833 if (cfg->segment == seg && cfg->start_bus == start && in pci_mmconfig_delete()