/linux/drivers/pci/hotplug/ |
A 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()
|
A 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() 383 max = bus->busn_res.start; in acpiphp_max_busnr() 444 max = bus->busn_res.start; in acpiphp_native_scan_bridge()
|
/linux/drivers/pcmcia/ |
A D | yenta_socket.c | 1100 if (bridge_to_fix->busn_res.end >= cardbus_bridge->busn_res.end) in yenta_fixup_parent_bridge() 1107 upper_limit = bridge_to_fix->parent->busn_res.end; in yenta_fixup_parent_bridge() 1118 if (sibling->busn_res.start > bridge_to_fix->busn_res.end in yenta_fixup_parent_bridge() 1119 && sibling->busn_res.start <= upper_limit) in yenta_fixup_parent_bridge() 1120 upper_limit = sibling->busn_res.start - 1; in yenta_fixup_parent_bridge() 1124 if (cardbus_bridge->busn_res.end > upper_limit) in yenta_fixup_parent_bridge() 1130 if (bridge_to_fix->busn_res.end < upper_limit) { in yenta_fixup_parent_bridge() 1134 min_t(int, cardbus_bridge->busn_res.end, upper_limit); in yenta_fixup_parent_bridge() 1139 (int)bridge_to_fix->busn_res.end, in yenta_fixup_parent_bridge() 1143 bridge_to_fix->busn_res.end = subordinate_to_assign; in yenta_fixup_parent_bridge() [all …]
|
A D | cardbus.c | 77 max = bus->busn_res.start; in cb_alloc()
|
/linux/drivers/pci/ |
A D | probe.c | 524 &child->busn_res, in pci_read_bridge_bases() 1109 child->busn_res.end = 0xff; in pci_alloc_child_bus() 1376 bus->busn_res.end); in pci_scan_bridge_extend() 1453 if ((child->busn_res.end > bus->busn_res.end) || in pci_scan_bridge_extend() 1458 &child->busn_res); in pci_scan_bridge_extend() 2977 if (max > bus->busn_res.end) in pci_scan_child_bus_extend() 2978 max = bus->busn_res.end; in pci_scan_child_bus_extend() 2981 &bus->busn_res, max - start); in pci_scan_child_bus_extend() 3093 struct resource *res = &b->busn_res; in pci_bus_insert_busn_res() 3101 parent_res = &b->parent->busn_res; in pci_bus_insert_busn_res() [all …]
|
A D | setup-bus.c | 513 &bus->busn_res); in pci_setup_cardbus() 670 &bus->busn_res); in __pci_setup_bridge() 931 b_res, &bus->busn_res); in pbus_size_io() 943 b_res, &bus->busn_res, in pbus_size_io() 1084 b_res, &bus->busn_res); in pbus_size_mem() 1094 b_res, &bus->busn_res, in pbus_size_mem()
|
A D | iov.c | 595 if (bus > dev->bus->busn_res.end) { in sriov_enable() 597 nr_virtfn, bus, &dev->bus->busn_res); in sriov_enable()
|
A D | xen-pcifront.c | 448 static struct resource busn_res = { in pcifront_scan_root() local 476 pci_add_resource(&resources, &busn_res); in pcifront_scan_root()
|
A D | pci.c | 181 max = bus->busn_res.end; in pci_bus_max_busnr()
|
/linux/drivers/parisc/ |
A 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()
|
A D | dino.c | 176 u32 local_bus = (bus->parent == NULL) ? 0 : bus->busn_res.start; in dino_cfg_read() 211 u32 local_bus = (bus->parent == NULL) ? 0 : bus->busn_res.start; in dino_cfg_write() 576 __func__, bus, bus->busn_res.start, in dino_fixup_bus()
|
A D | iosapic.c | 521 pcidev->bus->busn_res.start, intr_slot, intr_pin); in iosapic_xlate_pin()
|
/linux/arch/powerpc/kernel/ |
A D | pci-hotplug.c | 133 max = bus->busn_res.start; in pci_hp_add_devices()
|
A D | pci_64.c | 253 in_bus <= tmp_bus->busn_res.end) { in SYSCALL_DEFINE3()
|
/linux/arch/sh/drivers/pci/ |
A D | pci.c | 76 next_busno = hose->bus->busn_res.end + 1; in pcibios_scanbus()
|
/linux/arch/mips/pci/ |
A D | pci-legacy.c | 110 next_busno = bus->busn_res.end + 1; in pcibios_scanbus()
|
/linux/arch/alpha/kernel/ |
A D | pci.c | 371 next_busno = bus->busn_res.end + 1; in common_init_pci()
|
/linux/arch/powerpc/platforms/powernv/ |
A D | pci-ioda.c | 837 count = resource_size(&pe->pbus->busn_res); in pnv_ioda_deconfigure_pe() 905 count = resource_size(&pe->pbus->busn_res); in pnv_ioda_configure_pe() 1076 pe->rid = bus->busn_res.start << 8; in pnv_ioda_setup_bus_PE() 1080 &bus->busn_res.start, &bus->busn_res.end, in pnv_ioda_setup_bus_PE() 1084 &bus->busn_res.start, pe->pe_number); in pnv_ioda_setup_bus_PE()
|
/linux/arch/microblaze/pci/ |
A D | pci-common.c | 974 bus->busn_res.start = hose->first_busno; in pcibios_scan_phb() 977 hose->last_busno = bus->busn_res.end; in pcibios_scan_phb()
|
/linux/arch/arm/kernel/ |
A D | bios32.c | 485 busnr = sys->bus->busn_res.end + 1; in pcibios_init_hw()
|
/linux/include/linux/ |
A D | pci.h | 636 struct resource busn_res; /* Bus numbers routed to this bus */ member
|
/linux/drivers/iommu/intel/ |
A D | iommu.c | 828 pbridge->subordinate->busn_res.end >= pdev->bus->number) in is_downstream_to_pci_bridge()
|
/linux/drivers/net/ethernet/broadcom/ |
A D | tg3.c | 16245 (bridge->subordinate->busn_res.end >= in tg3_get_invariants() 16273 (bridge->subordinate->busn_res.end >= in tg3_get_invariants()
|