Home
last modified time | relevance | path

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

123

/linux-5.19.10/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()
Dyenta_socket.c709 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()
1168 if (!dev->subordinate) { in yenta_probe()
1267 yenta_fixup_parent_bridge(dev->subordinate); in yenta_probe()
/linux-5.19.10/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.c145 struct pci_bus *linkbus = link->pdev->subordinate; in pcie_set_clkpm_nocheck()
175 struct pci_bus *linkbus = link->pdev->subordinate; in pcie_clkpm_cap_init()
235 struct pci_bus *linkbus = parent->subordinate; in pcie_aspm_configure_common_clock()
403 struct pci_dev *dev = pci_function_0(link->pdev->subordinate); in pcie_aspm_check_latency()
558 struct pci_bus *linkbus = parent->subordinate; in pcie_aspm_cap_init()
739 struct pci_bus *linkbus = parent->subordinate; in pcie_config_aspm_link()
809 list_for_each_entry(child, &pdev->subordinate->devices, bus_list) { in pcie_aspm_sanity_check()
845 link->downstream = pci_function_0(pdev->subordinate); in alloc_pcie_link_state()
880 list_for_each_entry(child, &pdev->subordinate->devices, bus_list) in pcie_aspm_update_sysfs_visibility()
914 if (list_empty(&pdev->subordinate->devices)) in pcie_aspm_init_link_state()
[all …]
Derr.c174 if (bridge->subordinate) in pci_walk_bridge()
175 pci_walk_bus(bridge->subordinate, cb, userdata); in pci_walk_bridge()
/linux-5.19.10/drivers/pci/
Dremove.c68 struct pci_bus *bus = dev->subordinate; in pci_stop_bus_device()
88 struct pci_bus *bus = dev->subordinate; in pci_remove_bus_device()
97 dev->subordinate = NULL; in pci_remove_bus_device()
Dbus.c354 child = dev->subordinate; in pci_bus_add_devices()
395 if (dev->subordinate) { in pci_walk_bus()
397 next = dev->subordinate->devices.next; in pci_walk_bus()
398 bus = dev->subordinate; in pci_walk_bus()
Dpci.c1461 pci_bus_set_current_state(dev->subordinate, PCI_D3cold); in pci_set_power_state()
3109 pci_walk_bus(bridge->subordinate, pci_dev_check_d3cold, in pci_bridge_d3_update()
4997 if (!dev->subordinate || list_empty(&dev->subordinate->devices)) { in pci_bridge_wait_for_secondary_bus()
5003 delay = pci_bus_max_d3cold_delay(dev->subordinate); in pci_bridge_wait_for_secondary_bus()
5009 child = list_first_entry(&dev->subordinate->devices, struct pci_dev, in pci_bridge_wait_for_secondary_bus()
5115 if (pci_is_root_bus(dev->bus) || dev->subordinate || in pci_parent_bus_reset()
5146 if (dev->multifunction || dev->subordinate || !dev->slot || in pci_dev_reset_slot_function()
5558 (dev->subordinate && !pci_bus_resetable(dev->subordinate))) in pci_bus_resetable()
5572 if (dev->subordinate) in pci_bus_lock()
5573 pci_bus_lock(dev->subordinate); in pci_bus_lock()
[all …]
Dsetup-bus.c1214 struct pci_bus *b = dev->subordinate; in __pci_bus_size_bridges()
1391 b = dev->subordinate; in __pci_bus_assign_resources()
1457 child = dev->subordinate; in pci_bus_allocate_dev_resources()
1497 b = bridge->subordinate; in __pci_bridge_assign_resources()
1599 struct pci_bus *b = dev->subordinate; in pci_bus_release_bridge_resources()
1645 b = dev->subordinate; in pci_bus_dump_resources()
1947 if (dev->subordinate) in pci_bus_distribute_available_resources()
1948 pci_bus_distribute_available_resources(dev->subordinate, in pci_bus_distribute_available_resources()
2009 b = dev->subordinate; in pci_bus_distribute_available_resources()
2044 pci_bus_distribute_available_resources(bridge->subordinate, in pci_bridge_distribute_available_resources()
[all …]
Dpci-sysfs.c167 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()
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()
Dprobe.c1137 bridge->subordinate = child; in pci_alloc_child_bus()
1254 u8 primary, secondary, subordinate; in pci_scan_bridge_extend() local
1269 subordinate = (buses >> 16) & 0xFF; in pci_scan_bridge_extend()
1272 secondary, subordinate, pass); in pci_scan_bridge_extend()
1274 if (!primary && (primary != bus->number) && secondary && subordinate) { in pci_scan_bridge_extend()
1282 secondary > subordinate)) { in pci_scan_bridge_extend()
1284 secondary, subordinate); in pci_scan_bridge_extend()
1298 if ((secondary || subordinate) && !pcibios_assign_all_busses() && in pci_scan_bridge_extend()
1321 pci_bus_insert_busn_res(child, secondary, subordinate); in pci_scan_bridge_extend()
1326 if (cmax > subordinate) in pci_scan_bridge_extend()
[all …]
/linux-5.19.10/drivers/pci/hotplug/
Dacpiphp_glue.c438 struct pci_bus *bus = bridge->subordinate; in acpiphp_native_scan_bridge()
458 if (dev->subordinate) { in acpiphp_native_scan_bridge()
459 pcibios_resource_survey_bus(dev->subordinate); in acpiphp_native_scan_bridge()
460 pci_bus_size_bridges(dev->subordinate); in acpiphp_native_scan_bridge()
461 pci_bus_assign_resources(dev->subordinate); in acpiphp_native_scan_bridge()
504 if (pass && dev->subordinate) { in enable_slot()
506 pcibios_resource_survey_bus(dev->subordinate); in enable_slot()
507 __pci_bus_size_bridges(dev->subordinate, in enable_slot()
648 struct pci_bus *bus = dev->subordinate; in trim_stale_devices()
664 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()
87 struct pci_bus *parent = ctrl->pcie->port->subordinate; in pciehp_unconfigure_device()
Dshpchp_core.c83 slot->bus = ctrl->pci_dev->subordinate->number; in init_slots()
102 pci_domain_nr(ctrl->pci_dev->subordinate), in init_slots()
106 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()
988 struct pci_bus *subordinate = pdev->subordinate; in pcie_init() local
1018 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-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/arch/x86/pci/
Di386.c315 child = dev->subordinate; in pcibios_allocate_resources()
349 child = dev->subordinate; in pcibios_allocate_rom_resources()

123