Home
last modified time | relevance | path

Searched refs:busn_res (Results 1 – 23 of 23) sorted by relevance

/Linux-v5.4/drivers/pci/hotplug/
Dshpchp_sysfs.c62 for (busnr = bus->busn_res.start; busnr <= bus->busn_res.end; busnr++) { in show_ctrl()
66 if (busnr < bus->busn_res.end) in show_ctrl()
68 busnr, (int)(bus->busn_res.end - busnr)); in show_ctrl()
Dacpiphp_glue.c199 if (((buses >> 8) & 0xff) != bus->busn_res.start) { in acpiphp_post_dock_fixup()
202 | ((unsigned int)(bus->busn_res.start) << 8) in acpiphp_post_dock_fixup()
203 | ((unsigned int)(bus->busn_res.end) << 16); in acpiphp_post_dock_fixup()
375 max = bus->busn_res.start; in acpiphp_max_busnr()
443 max = bus->busn_res.start; in acpiphp_native_scan_bridge()
/Linux-v5.4/drivers/pcmcia/
Dyenta_socket.c1051 ((unsigned int)dev->subordinate->busn_res.end << 16) | /* subordinate bus */ in yenta_config_init()
1052 ((unsigned int)dev->subordinate->busn_res.start << 8) | /* secondary bus */ in yenta_config_init()
1089 if (bridge_to_fix->busn_res.end >= cardbus_bridge->busn_res.end) in yenta_fixup_parent_bridge()
1096 upper_limit = bridge_to_fix->parent->busn_res.end; in yenta_fixup_parent_bridge()
1107 if (sibling->busn_res.start > bridge_to_fix->busn_res.end in yenta_fixup_parent_bridge()
1108 && sibling->busn_res.start <= upper_limit) in yenta_fixup_parent_bridge()
1109 upper_limit = sibling->busn_res.start - 1; in yenta_fixup_parent_bridge()
1113 if (cardbus_bridge->busn_res.end > upper_limit) in yenta_fixup_parent_bridge()
1119 if (bridge_to_fix->busn_res.end < upper_limit) { in yenta_fixup_parent_bridge()
1123 min_t(int, cardbus_bridge->busn_res.end, upper_limit); in yenta_fixup_parent_bridge()
[all …]
Dcardbus.c75 max = bus->busn_res.start; in cb_alloc()
/Linux-v5.4/drivers/pci/
Dprobe.c522 &child->busn_res, in pci_read_bridge_bases()
848 bus->number = bus->busn_res.start = bridge->busnr; in pci_register_host_bridge()
1006 child->number = child->busn_res.start = busnr; in pci_alloc_child_bus()
1007 child->primary = parent->busn_res.start; in pci_alloc_child_bus()
1008 child->busn_res.end = 0xff; in pci_alloc_child_bus()
1269 bus->busn_res.end); in pci_scan_bridge_extend()
1277 | ((unsigned int)(child->busn_res.start) << 8) in pci_scan_bridge_extend()
1278 | ((unsigned int)(child->busn_res.end) << 16); in pci_scan_bridge_extend()
1309 (parent->busn_res.end > max) && in pci_scan_bridge_extend()
1310 (parent->busn_res.end <= max+i)) { in pci_scan_bridge_extend()
[all …]
Dsetup-bus.c511 &bus->busn_res); in pci_setup_cardbus()
668 &bus->busn_res); in __pci_setup_bridge()
913 b_res, &bus->busn_res); in pbus_size_io()
925 b_res, &bus->busn_res, in pbus_size_io()
1062 b_res, &bus->busn_res); in pbus_size_mem()
1072 b_res, &bus->busn_res, in pbus_size_mem()
Diov.c481 if (bus > dev->bus->busn_res.end) { in sriov_enable()
483 nr_virtfn, bus, &dev->bus->busn_res); in sriov_enable()
Dxen-pcifront.c453 static struct resource busn_res = { in pcifront_scan_root() local
481 pci_add_resource(&resources, &busn_res); in pcifront_scan_root()
Dpci.c157 max = bus->busn_res.end; in pci_bus_max_busnr()
/Linux-v5.4/drivers/parisc/
Dlba_pci.c191 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()
Ddino.c185 u32 local_bus = (bus->parent == NULL) ? 0 : bus->busn_res.start; in dino_cfg_read()
220 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()
Diosapic.c521 pcidev->bus->busn_res.start, intr_slot, intr_pin); in iosapic_xlate_pin()
/Linux-v5.4/arch/powerpc/kernel/
Dpci-hotplug.c138 max = bus->busn_res.start; in pci_hp_add_devices()
Dpci_64.c235 in_bus <= tmp_bus->busn_res.end) { in SYSCALL_DEFINE3()
/Linux-v5.4/arch/sh/drivers/pci/
Dpci.c77 next_busno = hose->bus->busn_res.end + 1; in pcibios_scanbus()
/Linux-v5.4/arch/mips/pci/
Dpci-legacy.c111 next_busno = bus->busn_res.end + 1; in pcibios_scanbus()
/Linux-v5.4/arch/alpha/kernel/
Dpci.c371 next_busno = bus->busn_res.end + 1; in common_init_pci()
/Linux-v5.4/arch/powerpc/platforms/powernv/
Dpci-ioda.c795 count = pe->pbus->busn_res.end - pe->pbus->busn_res.start + 1; in pnv_ioda_deconfigure_pe()
877 count = pe->pbus->busn_res.end - pe->pbus->busn_res.start + 1; in pnv_ioda_configure_pe()
1172 pe->rid = bus->busn_res.start << 8; in pnv_ioda_setup_bus_PE()
1176 &bus->busn_res.start, &bus->busn_res.end, in pnv_ioda_setup_bus_PE()
1180 &bus->busn_res.start, pe->pe_number); in pnv_ioda_setup_bus_PE()
/Linux-v5.4/arch/microblaze/pci/
Dpci-common.c981 bus->busn_res.start = hose->first_busno; in pcibios_scan_phb()
984 hose->last_busno = bus->busn_res.end; in pcibios_scan_phb()
/Linux-v5.4/arch/arm/kernel/
Dbios32.c514 busnr = sys->bus->busn_res.end + 1; in pcibios_init_hw()
/Linux-v5.4/include/linux/
Dpci.h580 struct resource busn_res; /* Bus numbers routed to this bus */ member
/Linux-v5.4/drivers/iommu/
Dintel-iommu.c756 pbridge->subordinate->busn_res.end >= pdev->bus->number) in is_downstream_to_pci_bridge()
/Linux-v5.4/drivers/net/ethernet/broadcom/
Dtg3.c16316 (bridge->subordinate->busn_res.end >= in tg3_get_invariants()
16344 (bridge->subordinate->busn_res.end >= in tg3_get_invariants()