Home
last modified time | relevance | path

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

/freebsd/sys/dev/acpica/
H A Dacpi_pcib_acpi.c65 int ap_segment; /* PCI domain */ member
320 status = acpi_GetInteger(sc->ap_handle, "_SEG", &sc->ap_segment); in acpi_pcib_acpi_attach()
328 sc->ap_segment = 0; in acpi_pcib_acpi_attach()
394 if (sc->ap_segment == 0 && sc->ap_bus == 0 && bus0_seen) { in acpi_pcib_acpi_attach()
426 bus_res = pci_domain_alloc_bus(sc->ap_segment, dev, &rid, 0, in acpi_pcib_acpi_attach()
435 pci_domain_release_bus(sc->ap_segment, dev, bus_res); in acpi_pcib_acpi_attach()
458 if (sc->ap_segment == 0 && sc->ap_bus == 0) in acpi_pcib_acpi_attach()
501 *result = sc->ap_segment; in acpi_pcib_read_ivar()
543 return (pci_cfgregread(sc->ap_segment, bus, slot, func, reg, bytes)); in acpi_pcib_read_config()
552 pci_cfgregwrite(sc->ap_segment, bus, slot, func, reg, data, bytes); in acpi_pcib_write_config()
[all …]
/freebsd/sys/arm/mv/
H A Dmv_pci.c324 int ap_segment; /* PCI domain */ member
469 sc->ap_segment = port_id; in mv_pcib_attach()
918 return (pci_domain_alloc_bus(sc->ap_segment, child, rid, start, in mv_pcib_alloc_resource()
951 return (pci_domain_adjust_bus(sc->ap_segment, child, r, start, in mv_pcib_adjust_resource()
968 return (pci_domain_release_bus(sc->ap_segment, child, res)); in mv_pcib_release_resource()
984 return (pci_domain_activate_bus(sc->ap_segment, child, r)); in mv_pcib_activate_resource()
1000 return (pci_domain_deactivate_bus(sc->ap_segment, child, r)); in mv_pcib_deactivate_resource()