Home
last modified time | relevance | path

Searched refs:sec_bus (Results 1 – 2 of 2) sorted by relevance

/xen/xen/drivers/passthrough/vtd/
A Ddmar.c55 static void __init dmar_scope_add_buses(struct dmar_scope *scope, u16 sec_bus, in dmar_scope_add_buses() argument
59 if (sec_bus > sub_bus) in dmar_scope_add_buses()
62 while ( sec_bus <= sub_bus ) in dmar_scope_add_buses()
63 set_bit(sec_bus++, scope->buses); in dmar_scope_add_buses()
313 u16 bus, sub_bus, sec_bus; in acpi_parse_dev_scope() local
347 sec_bus = pci_conf_read8(PCI_SBDF(seg, bus, path->dev, path->fn), in acpi_parse_dev_scope()
355 acpi_scope->bus, sec_bus, sub_bus); in acpi_parse_dev_scope()
357 dmar_scope_add_buses(scope, sec_bus, sub_bus); in acpi_parse_dev_scope()
/xen/xen/drivers/passthrough/
A Dpci.c379 u8 sec_bus, sub_bus; in alloc_pdev() local
383 sec_bus = pci_conf_read8(pdev->sbdf, PCI_SECONDARY_BUS); in alloc_pdev()
387 for ( ; sec_bus <= sub_bus; sec_bus++ ) in alloc_pdev()
389 pseg->bus2bridge[sec_bus].map = 1; in alloc_pdev()
390 pseg->bus2bridge[sec_bus].bus = bus; in alloc_pdev()
391 pseg->bus2bridge[sec_bus].devfn = devfn; in alloc_pdev()
446 uint8_t sec_bus, sub_bus; in free_pdev() local
450 sec_bus = pci_conf_read8(pdev->sbdf, PCI_SECONDARY_BUS); in free_pdev()
454 for ( ; sec_bus <= sub_bus; sec_bus++ ) in free_pdev()
455 pseg->bus2bridge[sec_bus] = pseg->bus2bridge[pdev->bus]; in free_pdev()

Completed in 7 milliseconds