Home
last modified time | relevance | path

Searched refs:min_bus (Results 1 – 7 of 7) sorted by relevance

/openbmc/qemu/hw/acpi/
H A Dviot.c14 int min_bus; member
18 static void build_pci_host_range(GArray *table_data, int min_bus, int max_bus, in build_pci_host_range() argument
28 build_append_int_noprefix(table_data, PCI_BUILD_BDF(min_bus, 0), 4); in build_pci_host_range()
34 build_append_int_noprefix(table_data, PCI_BUILD_BDF(min_bus, 0), 2); in build_pci_host_range()
52 int min_bus, max_bus; in enumerate_pci_host_bridges() local
54 pci_bus_range(bus, &min_bus, &max_bus); in enumerate_pci_host_bridges()
57 .min_bus = min_bus, in enumerate_pci_host_bridges()
72 if (range_a->min_bus < range_b->min_bus) { in pci_host_range_compare()
74 } else if (range_a->min_bus > range_b->min_bus) { in pci_host_range_compare()
135 build_pci_host_range(table_data, pci_host_range->min_bus, in build_viot()
/openbmc/linux/arch/x86/pci/
H A Damd_bus.c123 int min_bus; in early_root_info_init() local
132 min_bus = (reg >> 16) & 0xff; in early_root_info_init()
137 alloc_pci_root_info(min_bus, max_bus, node, link); in early_root_info_init()
/openbmc/qemu/hw/arm/
H A Dvirt-acpi-build.c247 int min_bus, max_bus; in iort_host_bridges() local
249 pci_bus_range(bus, &min_bus, &max_bus); in iort_host_bridges()
252 .input_base = min_bus << 8, in iort_host_bridges()
253 .id_count = (max_bus - min_bus + 1) << 8, in iort_host_bridges()
/openbmc/u-boot/scripts/dtc/
H A Dchecks.c810 unsigned int bus_num, min_bus, max_bus; in check_pci_device_bus_num() local
825 min_bus = max_bus = 0; in check_pci_device_bus_num()
828 min_bus = fdt32_to_cpu(cells[0]); in check_pci_device_bus_num()
831 if ((bus_num < min_bus) || (bus_num > max_bus)) in check_pci_device_bus_num()
833 bus_num, min_bus, max_bus); in check_pci_device_bus_num()
/openbmc/linux/scripts/dtc/
H A Dchecks.c876 unsigned int bus_num, min_bus, max_bus; in check_pci_device_bus_num() local
891 min_bus = max_bus = 0; in check_pci_device_bus_num()
894 min_bus = fdt32_to_cpu(cells[0]); in check_pci_device_bus_num()
897 if ((bus_num < min_bus) || (bus_num > max_bus)) in check_pci_device_bus_num()
899 bus_num, min_bus, max_bus); in check_pci_device_bus_num()
/openbmc/qemu/include/hw/pci/
H A Dpci.h328 void pci_bus_range(PCIBus *bus, int *min_bus, int *max_bus);
/openbmc/qemu/hw/pci/
H A Dpci.c613 void pci_bus_range(PCIBus *bus, int *min_bus, int *max_bus) in pci_bus_range() argument
616 *min_bus = *max_bus = pci_bus_num(bus); in pci_bus_range()
622 *min_bus = MIN(*min_bus, dev->config[PCI_SECONDARY_BUS]); in pci_bus_range()