/linux-6.12.1/drivers/pcmcia/ |
D | cardbus.c | 54 if (dev->subordinate) in cardbus_config_irq_and_cls() 55 cardbus_config_irq_and_cls(dev->subordinate, irq); in cardbus_config_irq_and_cls() 68 struct pci_bus *bus = s->cb_dev->subordinate; in cb_alloc() 114 bus = bridge->subordinate; in cb_free()
|
D | yenta_socket.c | 709 res->name = dev->subordinate->name; in yenta_allocate_res() 781 pci_setup_cardbus(socket->dev->subordinate); in yenta_allocate_resources() 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() 1066 dev->subordinate->primary); /* primary bus */ in yenta_config_init() 1081 * yenta_fixup_parent_bridge - Fix subordinate bus# of the parent bridge 1085 * invisible during PCI scans because of a misconfigured subordinate number 1103 return; /* The subordinate number is ok, nothing to do */ in yenta_fixup_parent_bridge() 1125 /* Show that the wanted subordinate number is not possible: */ in yenta_fixup_parent_bridge() 1131 /* If we have room to increase the bridge's subordinate number, */ in yenta_fixup_parent_bridge() [all …]
|
/linux-6.12.1/drivers/pci/pcie/ |
D | err.c | 174 * If the device provided is a bridge, walk the subordinate bus, including 178 * If the device provided has no subordinate bus, e.g., an RCEC or RCiEP, 185 if (bridge->subordinate) in pci_walk_bridge() 186 pci_walk_bus(bridge->subordinate, cb, userdata); in pci_walk_bridge() 203 * also includes any subordinate devices. in pcie_do_recovery() 223 pci_warn(bridge, "subordinate device reset failed\n"); in pcie_do_recovery()
|
D | pme.c | 86 if (dev->subordinate && pcie_pme_walk_bus(dev->subordinate)) in pcie_pme_walk_bus() 155 found = pcie_pme_walk_bus(port->subordinate); in pcie_pme_handle_request() 318 else if (port->subordinate) in pcie_pme_mark_devices() 319 pci_walk_bus(port->subordinate, pcie_pme_can_wakeup, NULL); in pcie_pme_mark_devices() 372 || pcie_pme_check_wakeup(dev->subordinate)) in pcie_pme_check_wakeup() 403 wakeup = pcie_pme_check_wakeup(port->subordinate); in pcie_pme_suspend()
|
D | aspm.c | 330 struct pci_bus *linkbus = link->pdev->subordinate; in pcie_set_clkpm_nocheck() 362 struct pci_bus *linkbus = link->pdev->subordinate; in pcie_clkpm_cap_init() 392 struct pci_bus *linkbus = parent->subordinate; in pcie_aspm_configure_common_clock() 570 struct pci_dev *dev = pci_function_0(link->pdev->subordinate); in pcie_aspm_check_latency() 776 struct pci_bus *linkbus = parent->subordinate; in pcie_aspm_cap_init() 912 struct pci_bus *linkbus = parent->subordinate; in pcie_config_aspm_link() 988 list_for_each_entry(child, &pdev->subordinate->devices, bus_list) { in pcie_aspm_sanity_check() 1024 link->downstream = pci_function_0(pdev->subordinate); in alloc_pcie_link_state() 1031 * its subordinate endpoints. in alloc_pcie_link_state() 1059 list_for_each_entry(child, &pdev->subordinate->devices, bus_list) in pcie_aspm_update_sysfs_visibility() [all …]
|
/linux-6.12.1/drivers/pci/ |
D | remove.c | 88 struct pci_bus *bus = dev->subordinate; in pci_stop_bus_device() 108 struct pci_bus *bus = dev->subordinate; in pci_remove_bus_device() 117 dev->subordinate = NULL; in pci_remove_bus_device() 128 * that the device has been removed. We also remove any subordinate
|
D | probe.c | 877 * The bus can be a root bus, a subordinate bus, or a virtual bus in pci_set_bus_msi_domain() 1139 /* Set up the primary, secondary and subordinate bus numbers */ in pci_alloc_child_bus() 1170 bridge->subordinate = child; in pci_alloc_child_bus() 1222 * pci_ea_fixed_busnrs() - Read fixed Secondary and Subordinate bus 1226 * @sub: updated with subordinate bus number from EA 1229 * and subordinate bus numbers, return true with the bus numbers in @sec 1262 * @max: Starting subordinate number of buses behind this bridge 1279 * Return: New subordinate number covering all buses behind this bridge. 1289 u8 primary, secondary, subordinate; in pci_scan_bridge_extend() local 1304 subordinate = (buses >> 16) & 0xFF; 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() 244 list_for_each_entry(child, &pdev->subordinate->devices, bus_list) { in of_pci_prop_intr_map() 265 list_for_each_entry(child, &pdev->subordinate->devices, bus_list) { in of_pci_prop_intr_map()
|
D | bus.c | 385 child = dev->subordinate; in pci_bus_add_devices() 414 if (dev->subordinate) { in __pci_walk_bus() 416 next = dev->subordinate->devices.next; in __pci_walk_bus() 417 bus = dev->subordinate; in __pci_walk_bus()
|
D | pci-sysfs.c | 172 if (pci_dev->subordinate) in resource_show() 391 struct pci_bus *subordinate = pdev->subordinate; in msi_bus_show() local 393 return sysfs_emit(buf, "%u\n", subordinate ? in msi_bus_show() 394 !(subordinate->bus_flags & PCI_BUS_FLAGS_NO_MSI) in msi_bus_show() 402 struct pci_bus *subordinate = pdev->subordinate; in msi_bus_store() local 416 if (!subordinate) { in msi_bus_store() 424 subordinate->bus_flags &= ~PCI_BUS_FLAGS_NO_MSI; in msi_bus_store() 426 subordinate->bus_flags |= PCI_BUS_FLAGS_NO_MSI; in msi_bus_store() 428 dev_info(&subordinate->dev, "MSI/MSI-X %s for future drivers of devices on this bus\n", in msi_bus_store()
|
D | setup-bus.c | 1294 struct pci_bus *b = dev->subordinate; in __pci_bus_size_bridges() 1469 b = dev->subordinate; in __pci_bus_assign_resources() 1535 child = dev->subordinate; in pci_bus_allocate_dev_resources() 1575 b = bridge->subordinate; in __pci_bridge_assign_resources() 1677 struct pci_bus *b = dev->subordinate; in pci_bus_release_bridge_resources() 1723 b = dev->subordinate; in pci_bus_dump_resources() 1999 b = dev->subordinate; in pci_bus_distribute_available_resources() 2061 pci_bus_distribute_available_resources(bridge->subordinate, in pci_bridge_distribute_available_resources() 2099 b = dev->subordinate; in pci_root_bus_distribute_available_resources() 2150 * Depth first, calculate sizes and alignments of all subordinate buses. in pci_assign_unassigned_root_bus_resources() [all …]
|
D | pci.c | 1642 __pci_bus_set_current_state(dev->subordinate, PCI_D3cold, locked); in __pci_set_power_state() 2423 * state or the configuration space of subordinate in pci_pme_list_scan() 2588 * wakeup on behalf of subordinate devices which is set up in __pci_enable_wake() 3136 pci_walk_bus(bridge->subordinate, pci_dev_check_d3cold, in pci_bridge_d3_update() 4871 if (!dev->subordinate || list_empty(&dev->subordinate->devices)) { in pci_bridge_wait_for_secondary_bus() 4877 delay = pci_bus_max_d3cold_delay(dev->subordinate); in pci_bridge_wait_for_secondary_bus() 4883 child = pci_dev_get(list_first_entry(&dev->subordinate->devices, in pci_bridge_wait_for_secondary_bus() 4997 if (pci_is_root_bus(dev->bus) || dev->subordinate || in pci_parent_bus_reset() 5028 if (dev->multifunction || dev->subordinate || !dev->slot || in pci_dev_reset_slot_function() 5533 (dev->subordinate && !pci_bus_resettable(dev->subordinate))) in pci_bus_resettable() [all …]
|
/linux-6.12.1/drivers/pci/hotplug/ |
D | acpiphp_glue.c | 24 * - When a P2P bridge is present, we elevate the refcount on the subordinate 379 * that is equivalent to the bus->subordinate in acpiphp_max_busnr() 381 * bus->subordinate value because it could have in acpiphp_max_busnr() 446 struct pci_bus *bus = bridge->subordinate; in acpiphp_native_scan_bridge() 466 if (dev->subordinate) { in acpiphp_native_scan_bridge() 467 pcibios_resource_survey_bus(dev->subordinate); in acpiphp_native_scan_bridge() 468 pci_bus_size_bridges(dev->subordinate); in acpiphp_native_scan_bridge() 469 pci_bus_assign_resources(dev->subordinate); in acpiphp_native_scan_bridge() 512 if (pass && dev->subordinate) { in enable_slot() 514 pcibios_resource_survey_bus(dev->subordinate); in enable_slot() [all …]
|
D | shpchp_pci.c | 28 struct pci_bus *parent = bridge->subordinate; in shpchp_configure_device() 66 struct pci_bus *parent = p_slot->ctrl->pci_dev->subordinate; in shpchp_unconfigure_device()
|
D | pciehp_core.c | 82 ctrl->pcie->port->subordinate, 0, name); in init_slot() 193 if (!dev->port->subordinate) { in pciehp_probe() 292 pdev = pci_get_slot(ctrl->pcie->port->subordinate, PCI_DEVFN(0, 0)); in pciehp_device_replaced() 333 pci_walk_bus(ctrl->pcie->port->subordinate, in pciehp_resume_noirq()
|
D | pciehp_pci.c | 36 struct pci_bus *parent = bridge->subordinate; in pciehp_configure_device() 98 struct pci_bus *parent = ctrl->pcie->port->subordinate; in pciehp_unconfigure_device()
|
D | shpchp_core.c | 82 slot->bus = ctrl->pci_dev->subordinate->number; in init_slots() 100 pci_domain_nr(ctrl->pci_dev->subordinate), in init_slots() 104 ctrl->pci_dev->subordinate, slot->device, name); in init_slots()
|
D | pciehp_hpc.c | 305 found = pci_bus_check_dev(ctrl->pcie->port->subordinate, in pciehp_check_link_status() 322 pcie_update_link_speed(ctrl->pcie->port->subordinate, lnk_status); in pciehp_check_link_status() 984 struct pci_bus *subordinate = pdev->subordinate; in pcie_init() local 1014 ctrl->state = list_empty(&subordinate->devices) ? OFF_STATE : ON_STATE; in pcie_init() 1060 pdev = pci_get_slot(subordinate, PCI_DEVFN(0, 0)); in pcie_init()
|
D | shpchp_ctrl.c | 236 struct pci_bus *parent = ctrl->pci_dev->subordinate; in board_added() 272 bsp = ctrl->pci_dev->subordinate->cur_bus_speed; in board_added() 273 msp = ctrl->pci_dev->subordinate->max_bus_speed; in board_added() 276 if (!list_empty(&ctrl->pci_dev->subordinate->devices)) in board_added()
|
/linux-6.12.1/arch/mips/pci/ |
D | fixup-sb1250.c | 27 * width, so we record the PCI-HT bridge's secondary and subordinate bus 51 exclude->start = dev->subordinate->number; in sb1250_bus_dma_limit() 52 exclude->end = pci_bus_max_busnr(dev->subordinate); in sb1250_bus_dma_limit()
|
/linux-6.12.1/arch/x86/pci/ |
D | sta2x11-fixup.c | 54 /* This has a subordinate bridge, with 4 more-subordinate ones */ in sta2x11_new_instance() 55 instance->bus0 = pdev->subordinate->number + 1; in sta2x11_new_instance()
|
/linux-6.12.1/drivers/pci/controller/ |
D | pci-thunder-ecam.c | 278 v = 0x0101; /* subordinate:secondary = 1:1 */ in thunder_ecam_config_read() 280 v = 0x0202; /* subordinate:secondary = 2:2 */ in thunder_ecam_config_read() 282 v = 0x0303; /* subordinate:secondary = 3:3 */ in thunder_ecam_config_read() 284 v = 0x0404; /* subordinate:secondary = 4:4 */ in thunder_ecam_config_read()
|
/linux-6.12.1/drivers/irqchip/ |
D | irq-gic-v3-its-msi-parent.c | 61 if (alias_dev->subordinate) in its_pci_msi_prepare() 62 pci_walk_bus(alias_dev->subordinate, in its_pci_msi_prepare()
|
/linux-6.12.1/drivers/firmware/ |
D | ti_sci.h | 922 * completion queue must be assigned to the host, or a subordinate of the host, 1019 * The specified completion queue must be assigned to the host, or a subordinate 1042 * The additional flows must be assigned to the host, or a subordinate of the 1054 * subordinate of the host, requesting configuration of the receive channel. 1165 * owned by the host, or a subordinate of the host, requesting allocation and 1213 * by the host, or a subordinate of the host, requesting allocation and 1221 * by the host, or a subordinate of the host, requesting allocation and 1229 * by the host, or a subordinate of the host, requesting allocation and 1237 * by the host, or a subordinate of the host, requesting allocation and
|
/linux-6.12.1/arch/sh/drivers/pci/ |
D | pci.c | 254 if (dev->subordinate) in pcibios_bus_report_status() 255 pcibios_bus_report_status(dev->subordinate, status_mask, warn); in pcibios_bus_report_status()
|