/linux-6.6.21/drivers/pci/hotplug/ |
D | shpchp_sysfs.c | 65 for (busnr = bus->busn_res.start; busnr <= bus->busn_res.end; busnr++) { in show_ctrl() 69 if (busnr < bus->busn_res.end) in show_ctrl() 72 busnr, (int)(bus->busn_res.end - busnr)); in show_ctrl()
|
D | acpiphp_glue.c | 207 if (((buses >> 8) & 0xff) != bus->busn_res.start) { in acpiphp_post_dock_fixup() 210 | ((unsigned int)(bus->busn_res.start) << 8) in acpiphp_post_dock_fixup() 211 | ((unsigned int)(bus->busn_res.end) << 16); in acpiphp_post_dock_fixup() 384 max = bus->busn_res.start; in acpiphp_max_busnr() 453 max = bus->busn_res.start; in acpiphp_native_scan_bridge()
|
/linux-6.6.21/drivers/pcmcia/ |
D | yenta_socket.c | 1064 ((unsigned int)dev->subordinate->busn_res.end << 16) | /* subordinate bus */ in yenta_config_init() 1065 ((unsigned int)dev->subordinate->busn_res.start << 8) | /* secondary bus */ in yenta_config_init() 1102 if (bridge_to_fix->busn_res.end >= cardbus_bridge->busn_res.end) in yenta_fixup_parent_bridge() 1109 upper_limit = bridge_to_fix->parent->busn_res.end; in yenta_fixup_parent_bridge() 1120 if (sibling->busn_res.start > bridge_to_fix->busn_res.end in yenta_fixup_parent_bridge() 1121 && sibling->busn_res.start <= upper_limit) in yenta_fixup_parent_bridge() 1122 upper_limit = sibling->busn_res.start - 1; in yenta_fixup_parent_bridge() 1126 if (cardbus_bridge->busn_res.end > upper_limit) in yenta_fixup_parent_bridge() 1132 if (bridge_to_fix->busn_res.end < upper_limit) { in yenta_fixup_parent_bridge() 1136 min_t(int, cardbus_bridge->busn_res.end, upper_limit); in yenta_fixup_parent_bridge() [all …]
|
D | cardbus.c | 77 max = bus->busn_res.start; in cb_alloc()
|
/linux-6.6.21/drivers/pci/ |
D | probe.c | 523 &child->busn_res, in pci_read_bridge_bases() 900 bus->number = bus->busn_res.start = bridge->busnr; in pci_register_host_bridge() 1114 child->number = child->busn_res.start = busnr; in pci_alloc_child_bus() 1115 child->primary = parent->busn_res.start; in pci_alloc_child_bus() 1116 child->busn_res.end = 0xff; in pci_alloc_child_bus() 1384 bus->busn_res.end); in pci_scan_bridge_extend() 1392 | ((unsigned int)(child->busn_res.start) << 8) in pci_scan_bridge_extend() 1393 | ((unsigned int)(child->busn_res.end) << 16); in pci_scan_bridge_extend() 1424 (parent->busn_res.end > max) && in pci_scan_bridge_extend() 1425 (parent->busn_res.end <= max+i)) { in pci_scan_bridge_extend() [all …]
|
D | of_property.c | 94 u32 bus_range[] = { pdev->subordinate->busn_res.start, in of_pci_prop_bus_range() 95 pdev->subordinate->busn_res.end }; in of_pci_prop_bus_range()
|
D | setup-bus.c | 510 &bus->busn_res); in pci_setup_cardbus() 667 &bus->busn_res); in __pci_setup_bridge() 926 b_res, &bus->busn_res); in pbus_size_io() 938 b_res, &bus->busn_res, in pbus_size_io() 1079 b_res, &bus->busn_res); in pbus_size_mem() 1089 b_res, &bus->busn_res, in pbus_size_mem()
|
D | xen-pcifront.c | 445 static struct resource busn_res = { in pcifront_scan_root() local 473 pci_add_resource(&resources, &busn_res); in pcifront_scan_root()
|
D | iov.c | 637 if (bus > dev->bus->busn_res.end) { in sriov_enable() 639 nr_virtfn, bus, &dev->bus->busn_res); in sriov_enable()
|
D | pci.c | 197 max = bus->busn_res.end; in pci_bus_max_busnr()
|
/linux-6.6.21/drivers/parisc/ |
D | lba_pci.c | 191 u8 first_bus = d->hba.hba_bus->busn_res.start; in lba_device_present() 192 u8 last_sub_bus = d->hba.hba_bus->busn_res.end; in lba_device_present() 366 u32 local_bus = (bus->parent == NULL) ? 0 : bus->busn_res.start; in elroy_cfg_read() 382 if (LBA_SKIP_PROBE(d) && !lba_device_present(bus->busn_res.start, devfn, d)) { in elroy_cfg_read() 433 u32 local_bus = (bus->parent == NULL) ? 0 : bus->busn_res.start; in elroy_cfg_write() 446 if (LBA_SKIP_PROBE(d) && (!lba_device_present(bus->busn_res.start, devfn, d))) { in elroy_cfg_write() 483 u32 local_bus = (bus->parent == NULL) ? 0 : bus->busn_res.start; in mercury_cfg_read() 516 u32 local_bus = (bus->parent == NULL) ? 0 : bus->busn_res.start; in mercury_cfg_write() 722 bus, (int)bus->busn_res.start, bus->bridge->platform_data); in lba_fixup_bus()
|
D | dino.c | 175 u32 local_bus = (bus->parent == NULL) ? 0 : bus->busn_res.start; in dino_cfg_read() 210 u32 local_bus = (bus->parent == NULL) ? 0 : bus->busn_res.start; in dino_cfg_write() 604 __func__, bus, bus->busn_res.start, in dino_fixup_bus()
|
D | iosapic.c | 512 pcidev->bus->busn_res.start, intr_slot, intr_pin); in iosapic_xlate_pin()
|
/linux-6.6.21/arch/powerpc/kernel/ |
D | pci-hotplug.c | 134 max = bus->busn_res.start; in pci_hp_add_devices()
|
D | pci_64.c | 253 in_bus <= tmp_bus->busn_res.end) { in SYSCALL_DEFINE3()
|
/linux-6.6.21/arch/sh/drivers/pci/ |
D | pci.c | 76 next_busno = hose->bus->busn_res.end + 1; in pcibios_scanbus()
|
/linux-6.6.21/arch/mips/pci/ |
D | pci-legacy.c | 110 next_busno = bus->busn_res.end + 1; in pcibios_scanbus()
|
/linux-6.6.21/arch/powerpc/platforms/powernv/ |
D | pci-ioda.c | 752 count = resource_size(&pe->pbus->busn_res); in pnv_ioda_deconfigure_pe() 820 count = resource_size(&pe->pbus->busn_res); in pnv_ioda_configure_pe() 970 pe->rid = bus->busn_res.start << 8; in pnv_ioda_setup_bus_PE() 974 &bus->busn_res.start, &bus->busn_res.end, in pnv_ioda_setup_bus_PE() 978 &bus->busn_res.start, pe->pe_number); in pnv_ioda_setup_bus_PE()
|
/linux-6.6.21/arch/alpha/kernel/ |
D | pci.c | 370 next_busno = bus->busn_res.end + 1; in common_init_pci()
|
/linux-6.6.21/arch/arm/kernel/ |
D | bios32.c | 483 busnr = sys->bus->busn_res.end + 1; in pcibios_init_hw()
|
/linux-6.6.21/include/linux/ |
D | pci.h | 657 struct resource busn_res; /* Bus numbers routed to this bus */ member
|
/linux-6.6.21/drivers/iommu/intel/ |
D | iommu.c | 653 pbridge->subordinate->busn_res.end >= pdev->bus->number) in is_downstream_to_pci_bridge()
|
/linux-6.6.21/drivers/net/ethernet/broadcom/ |
D | tg3.c | 16283 (bridge->subordinate->busn_res.end >= in tg3_get_invariants() 16311 (bridge->subordinate->busn_res.end >= in tg3_get_invariants()
|