Home
last modified time | relevance | path

Searched refs:max_bus (Results 1 – 14 of 14) sorted by relevance

/openbmc/qemu/hw/acpi/
H A Dviot.c15 int max_bus; member
18 static void build_pci_host_range(GArray *table_data, int min_bus, int max_bus, in build_pci_host_range() argument
36 build_append_int_noprefix(table_data, PCI_BUILD_BDF(max_bus, 0xff), 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()
58 .max_bus = max_bus, in enumerate_pci_host_bridges()
136 pci_host_range->max_bus, viommu_off); in build_viot()
H A Daml-build.c2329 uint8_t max_bus = pci_bus_num(host->bus); in build_crs() local
2375 if (subordinate > max_bus) { in build_crs()
2376 max_bus = subordinate; in build_crs()
2477 max_bus, in build_crs()
2479 max_bus - pci_bus_num(host->bus) + 1)); in build_crs()
/openbmc/linux/arch/x86/pci/
H A Damd_bus.c124 int max_bus; in early_root_info_init() local
133 max_bus = (reg >> 24) & 0xff; in early_root_info_init()
137 alloc_pci_root_info(min_bus, max_bus, node, link); in early_root_info_init()
/openbmc/qemu/include/hw/ide/
H A Dide-dev.h184 void ide_drive_get(DriveInfo **hd, int max_bus);
/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()
829 max_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/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()
253 .id_count = (max_bus - min_bus + 1) << 8, in iort_host_bridges()
/openbmc/linux/drivers/pci/hotplug/
H A Dcpqphp.h200 u8 max_bus; member
216 MAX_BUS = offsetof(struct slot_rt, max_bus),
H A Dcpqphp_pci.c1249 u8 max_bus = readb(one_slot + MAX_BUS); in cpqhp_find_available_resources() local
1259 primary_bus, secondary_bus, max_bus); in cpqhp_find_available_resources()
1382 bus_node->length = max_bus - secondary_bus + 1; in cpqhp_find_available_resources()
/openbmc/u-boot/drivers/pci/
H A Dpci-uclass.c521 unsigned int max_bus; in pci_auto_config_devices() local
528 max_bus = ret; in pci_auto_config_devices()
529 sub_bus = max(sub_bus, max_bus); in pci_auto_config_devices()
/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()
895 max_bus = fdt32_to_cpu(cells[1]); 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/linux/drivers/message/fusion/
H A Dmptfc.c299 int max_bus = ioc->facts.MaxBuses; in mptfc_GetFcDevPage0() local
304 data_sz = sizeof(FCDevicePage0_t) * max_bus * max_targ; in mptfc_GetFcDevPage0()
309 data_sz = sizeof(FCDevicePage0_t *) * max_bus * max_targ; in mptfc_GetFcDevPage0()
/openbmc/qemu/
H A Dblockdev.c293 int max_bus; in drive_get_max_bus() local
299 max_bus = -1; in drive_get_max_bus()
302 if (dinfo && dinfo->type == type && dinfo->bus > max_bus) { in drive_get_max_bus()
303 max_bus = dinfo->bus; in drive_get_max_bus()
306 return max_bus; in drive_get_max_bus()
/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()
623 *max_bus = MAX(*max_bus, dev->config[PCI_SUBORDINATE_BUS]); in pci_bus_range()