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 ECAM %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 &new->res, (unsigned long)addr, segment, start, end); 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()
502 cfg->segment, cfg->start_bus, cfg->end_bus); in is_mmconf_reserved()
510 cfg->segment, cfg->start_bus, cfg->end_bus); in is_mmconf_reserved()
698 if (cfg->segment) in __pci_mmcfg_init()
802 &cfg->res, cfg->segment, cfg->start_bus, in pci_mmconfig_insert()
863 if (cfg->segment == seg && cfg->start_bus == start && in pci_mmconfig_delete()