Home
last modified time | relevance | path

Searched refs:subordinate (Results 1 – 25 of 66) sorted by relevance

123

/linux-6.6.21/drivers/pcmcia/
Dcardbus.c54 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()
/linux-6.6.21/drivers/pci/pcie/
Dpme.c85 if (dev->subordinate && pcie_pme_walk_bus(dev->subordinate)) in pcie_pme_walk_bus()
154 found = pcie_pme_walk_bus(port->subordinate); in pcie_pme_handle_request()
316 else if (port->subordinate) in pcie_pme_mark_devices()
317 pci_walk_bus(port->subordinate, pcie_pme_can_wakeup, NULL); in pcie_pme_mark_devices()
370 || pcie_pme_check_wakeup(dev->subordinate)) in pcie_pme_check_wakeup()
401 wakeup = pcie_pme_check_wakeup(port->subordinate); in pcie_pme_suspend()
Daspm.c144 struct pci_bus *linkbus = link->pdev->subordinate; in pcie_set_clkpm_nocheck()
174 struct pci_bus *linkbus = link->pdev->subordinate; in pcie_clkpm_cap_init()
204 struct pci_bus *linkbus = parent->subordinate; in pcie_aspm_configure_common_clock()
382 struct pci_dev *dev = pci_function_0(link->pdev->subordinate); in pcie_aspm_check_latency()
589 struct pci_bus *linkbus = parent->subordinate; in pcie_aspm_cap_init()
725 struct pci_bus *linkbus = parent->subordinate; in pcie_config_aspm_link()
795 list_for_each_entry(child, &pdev->subordinate->devices, bus_list) { in pcie_aspm_sanity_check()
831 link->downstream = pci_function_0(pdev->subordinate); in alloc_pcie_link_state()
866 list_for_each_entry(child, &pdev->subordinate->devices, bus_list) in pcie_aspm_update_sysfs_visibility()
900 if (list_empty(&pdev->subordinate->devices)) in pcie_aspm_init_link_state()
[all …]
Derr.c178 if (bridge->subordinate) in pci_walk_bridge()
179 pci_walk_bus(bridge->subordinate, cb, userdata); in pci_walk_bridge()
/linux-6.6.21/drivers/pci/
Dremove.c69 struct pci_bus *bus = dev->subordinate; in pci_stop_bus_device()
89 struct pci_bus *bus = dev->subordinate; in pci_remove_bus_device()
98 dev->subordinate = NULL; in pci_remove_bus_device()
Dbus.c382 child = dev->subordinate; in pci_bus_add_devices()
423 if (dev->subordinate) { in pci_walk_bus()
425 next = dev->subordinate->devices.next; in pci_walk_bus()
426 bus = dev->subordinate; in pci_walk_bus()
Dpci.c1503 pci_bus_set_current_state(dev->subordinate, PCI_D3cold); in pci_set_power_state()
3143 pci_walk_bus(bridge->subordinate, pci_dev_check_d3cold, in pci_bridge_d3_update()
5100 if (!dev->subordinate || list_empty(&dev->subordinate->devices)) { in pci_bridge_wait_for_secondary_bus()
5106 delay = pci_bus_max_d3cold_delay(dev->subordinate); in pci_bridge_wait_for_secondary_bus()
5112 child = list_first_entry(&dev->subordinate->devices, struct pci_dev, in pci_bridge_wait_for_secondary_bus()
5223 if (pci_is_root_bus(dev->bus) || dev->subordinate || in pci_parent_bus_reset()
5254 if (dev->multifunction || dev->subordinate || !dev->slot || in pci_dev_reset_slot_function()
5666 (dev->subordinate && !pci_bus_resettable(dev->subordinate))) in pci_bus_resettable()
5680 if (dev->subordinate) in pci_bus_lock()
5681 pci_bus_lock(dev->subordinate); in pci_bus_lock()
[all …]
Dof_property.c94 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()
224 list_for_each_entry(child, &pdev->subordinate->devices, bus_list) { in of_pci_prop_intr_map()
243 list_for_each_entry(child, &pdev->subordinate->devices, bus_list) { in of_pci_prop_intr_map()
Dpci-sysfs.c168 if (pci_dev->subordinate) in resource_show()
387 struct pci_bus *subordinate = pdev->subordinate; in msi_bus_show() local
389 return sysfs_emit(buf, "%u\n", subordinate ? in msi_bus_show()
390 !(subordinate->bus_flags & PCI_BUS_FLAGS_NO_MSI) in msi_bus_show()
398 struct pci_bus *subordinate = pdev->subordinate; in msi_bus_store() local
412 if (!subordinate) { in msi_bus_store()
420 subordinate->bus_flags &= ~PCI_BUS_FLAGS_NO_MSI; in msi_bus_store()
422 subordinate->bus_flags |= PCI_BUS_FLAGS_NO_MSI; in msi_bus_store()
424 dev_info(&subordinate->dev, "MSI/MSI-X %s for future drivers of devices on this bus\n", in msi_bus_store()
Dsetup-bus.c1209 struct pci_bus *b = dev->subordinate; in __pci_bus_size_bridges()
1384 b = dev->subordinate; in __pci_bus_assign_resources()
1450 child = dev->subordinate; in pci_bus_allocate_dev_resources()
1490 b = bridge->subordinate; in __pci_bridge_assign_resources()
1592 struct pci_bus *b = dev->subordinate; in pci_bus_release_bridge_resources()
1638 b = dev->subordinate; in pci_bus_dump_resources()
1914 b = dev->subordinate; in pci_bus_distribute_available_resources()
1976 pci_bus_distribute_available_resources(bridge->subordinate, in pci_bridge_distribute_available_resources()
2014 b = dev->subordinate; in pci_root_bus_distribute_available_resources()
2147 struct pci_bus *parent = bridge->subordinate; in pci_assign_unassigned_bridge_resources()
[all …]
Dprobe.c1144 bridge->subordinate = child; in pci_alloc_child_bus()
1261 u8 primary, secondary, subordinate; in pci_scan_bridge_extend() local
1276 subordinate = (buses >> 16) & 0xFF; in pci_scan_bridge_extend()
1279 secondary, subordinate, pass); in pci_scan_bridge_extend()
1281 if (!primary && (primary != bus->number) && secondary && subordinate) { in pci_scan_bridge_extend()
1289 secondary > subordinate)) { in pci_scan_bridge_extend()
1291 secondary, subordinate); in pci_scan_bridge_extend()
1305 if ((secondary || subordinate) && !pcibios_assign_all_busses() && in pci_scan_bridge_extend()
1328 pci_bus_insert_busn_res(child, secondary, subordinate); in pci_scan_bridge_extend()
1332 buses = subordinate - secondary; in pci_scan_bridge_extend()
[all …]
Dsearch.c90 PCI_DEVID(tmp->subordinate->number, in pci_for_each_dma_alias()
104 PCI_DEVID(tmp->subordinate->number, in pci_for_each_dma_alias()
/linux-6.6.21/drivers/pci/hotplug/
Dacpiphp_glue.c446 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()
515 __pci_bus_size_bridges(dev->subordinate, in enable_slot()
656 struct pci_bus *bus = dev->subordinate; in trim_stale_devices()
672 pci_walk_bus(dev->subordinate, pci_dev_set_disconnected, in trim_stale_devices()
Dshpchp_pci.c28 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()
Dpciehp_pci.c36 struct pci_bus *parent = bridge->subordinate; in pciehp_configure_device()
94 struct pci_bus *parent = ctrl->pcie->port->subordinate; in pciehp_unconfigure_device()
Dshpchp_core.c82 slot->bus = ctrl->pci_dev->subordinate->number; in init_slots()
101 pci_domain_nr(ctrl->pci_dev->subordinate), in init_slots()
105 ctrl->pci_dev->subordinate, slot->device, name); in init_slots()
Dshpchp_ctrl.c236 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()
Dpciehp_hpc.c304 found = pci_bus_check_dev(ctrl->pcie->port->subordinate, in pciehp_check_link_status()
321 pcie_update_link_speed(ctrl->pcie->port->subordinate, lnk_status); in pciehp_check_link_status()
981 struct pci_bus *subordinate = pdev->subordinate; in pcie_init() local
1011 ctrl->state = list_empty(&subordinate->devices) ? OFF_STATE : ON_STATE; in pcie_init()
Dpciehp_core.c81 ctrl->pcie->port->subordinate, 0, name); in init_slot()
192 if (!dev->port->subordinate) { in pciehp_probe()
Dshpchp_sysfs.c33 bus = pdev->subordinate; in show_ctrl()
/linux-6.6.21/arch/mips/pci/
Dfixup-sb1250.c51 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.6.21/drivers/irqchip/
Dirq-gic-v3-its-pci-msi.c74 if (alias_dev->subordinate) in its_pci_msi_prepare()
75 pci_walk_bus(alias_dev->subordinate, in its_pci_msi_prepare()
/linux-6.6.21/arch/sh/drivers/pci/
Dpci.c254 if (dev->subordinate) in pcibios_bus_report_status()
255 pcibios_bus_report_status(dev->subordinate, status_mask, warn); in pcibios_bus_report_status()
/linux-6.6.21/arch/powerpc/kernel/
Dpci_32.c102 if (!dev || !dev->subordinate) { in make_one_node_map()
106 make_one_node_map(node, dev->subordinate->number); in make_one_node_map()
/linux-6.6.21/arch/x86/pci/
Di386.c315 child = dev->subordinate; in pcibios_allocate_resources()
349 child = dev->subordinate; in pcibios_allocate_rom_resources()

123