Home
last modified time | relevance | path

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

123

/Linux-v5.4/drivers/pcmcia/
Dcardbus.c52 if (dev->subordinate) in cardbus_config_irq_and_cls()
53 cardbus_config_irq_and_cls(dev->subordinate, irq); in cardbus_config_irq_and_cls()
66 struct pci_bus *bus = s->cb_dev->subordinate; in cb_alloc()
112 bus = bridge->subordinate; in cb_free()
Dyenta_socket.c708 res->name = dev->subordinate->name; in yenta_allocate_res()
764 pci_setup_cardbus(socket->dev->subordinate); in yenta_allocate_resources()
1051 ((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()
1053 dev->subordinate->primary); /* primary bus */ in yenta_config_init()
1155 if (!dev->subordinate) { in yenta_probe()
1254 yenta_fixup_parent_bridge(dev->subordinate); in yenta_probe()
/Linux-v5.4/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()
313 if (port->subordinate) in pcie_pme_mark_devices()
314 pci_walk_bus(port->subordinate, pcie_pme_can_wakeup, NULL); in pcie_pme_mark_devices()
362 || pcie_pme_check_wakeup(dev->subordinate)) in pcie_pme_check_wakeup()
393 wakeup = pcie_pme_check_wakeup(port->subordinate); in pcie_pme_suspend()
Dbw_notification.c63 pcie_update_link_speed(port->subordinate, link_status); in pcie_bw_notification_irq()
78 list_for_each_entry(dev, &port->subordinate->devices, bus_list) in pcie_bw_notification_handler()
Daspm.c152 struct pci_bus *linkbus = link->pdev->subordinate; in pcie_set_clkpm_nocheck()
179 struct pci_bus *linkbus = link->pdev->subordinate; in pcie_clkpm_cap_init()
238 struct pci_bus *linkbus = parent->subordinate; in pcie_aspm_configure_common_clock()
544 struct pci_bus *linkbus = parent->subordinate; in pcie_aspm_cap_init()
760 struct pci_bus *linkbus = parent->subordinate; in pcie_config_aspm_link()
830 list_for_each_entry(child, &pdev->subordinate->devices, bus_list) { in pcie_aspm_sanity_check()
866 link->downstream = pci_function_0(pdev->subordinate); in alloc_pcie_link_state()
927 if (list_empty(&pdev->subordinate->devices)) in pcie_aspm_init_link_state()
976 struct pci_bus *linkbus = link->pdev->subordinate; in pcie_update_aspm_capable()
1003 if (!list_empty(&parent->subordinate->devices)) in pcie_aspm_exit_link_state()
/Linux-v5.4/drivers/pci/
Dremove.c67 struct pci_bus *bus = dev->subordinate; in pci_stop_bus_device()
87 struct pci_bus *bus = dev->subordinate; in pci_remove_bus_device()
96 dev->subordinate = NULL; in pci_remove_bus_device()
Dsetup-bus.c1186 struct pci_bus *b = dev->subordinate; in __pci_bus_size_bridges()
1353 b = dev->subordinate; in __pci_bus_assign_resources()
1419 child = dev->subordinate; in pci_bus_allocate_dev_resources()
1459 b = bridge->subordinate; in __pci_bridge_assign_resources()
1561 struct pci_bus *b = dev->subordinate; in pci_bus_release_bridge_resources()
1607 b = dev->subordinate; in pci_bus_dump_resources()
1792 if (fail_res->dev->subordinate) in pci_assign_unassigned_root_bus_resources()
1887 if (dev->subordinate) { in pci_bus_distribute_available_resources()
1888 pci_bus_distribute_available_resources(dev->subordinate, in pci_bus_distribute_available_resources()
1939 b = dev->subordinate; in pci_bus_distribute_available_resources()
[all …]
Dpci.c1030 pci_wakeup_bus(dev->subordinate); in __pci_start_power_transition()
1075 pci_bus_set_current_state(dev->subordinate, PCI_D3cold); in __pci_complete_power_transition()
2736 pci_walk_bus(bridge->subordinate, pci_dev_check_d3cold, in pci_bridge_d3_update()
4710 if (pci_is_root_bus(dev->bus) || dev->subordinate || in pci_parent_bus_reset()
4743 if (dev->subordinate || !dev->slot || in pci_dev_reset_slot_function()
5021 (dev->subordinate && !pci_bus_resetable(dev->subordinate))) in pci_bus_resetable()
5035 if (dev->subordinate) in pci_bus_lock()
5036 pci_bus_lock(dev->subordinate); in pci_bus_lock()
5046 if (dev->subordinate) in pci_bus_unlock()
5047 pci_bus_unlock(dev->subordinate); in pci_bus_unlock()
[all …]
Dbus.c358 child = dev->subordinate; in pci_bus_add_devices()
399 if (dev->subordinate) { in pci_walk_bus()
401 next = dev->subordinate->devices.next; in pci_walk_bus()
402 bus = dev->subordinate; in pci_walk_bus()
Dpci-sysfs.c137 if (pci_dev->subordinate) in resource_show()
375 struct pci_bus *subordinate = pdev->subordinate; in msi_bus_show() local
377 return sprintf(buf, "%u\n", subordinate ? in msi_bus_show()
378 !(subordinate->bus_flags & PCI_BUS_FLAGS_NO_MSI) in msi_bus_show()
386 struct pci_bus *subordinate = pdev->subordinate; in msi_bus_store() local
400 if (!subordinate) { in msi_bus_store()
408 subordinate->bus_flags &= ~PCI_BUS_FLAGS_NO_MSI; in msi_bus_store()
410 subordinate->bus_flags |= PCI_BUS_FLAGS_NO_MSI; in msi_bus_store()
412 dev_info(&subordinate->dev, "MSI/MSI-X %s for future drivers of devices on this bus\n", in msi_bus_store()
Dprobe.c1036 bridge->subordinate = child; in pci_alloc_child_bus()
1147 u8 primary, secondary, subordinate; in pci_scan_bridge_extend() local
1162 subordinate = (buses >> 16) & 0xFF; in pci_scan_bridge_extend()
1165 secondary, subordinate, pass); in pci_scan_bridge_extend()
1167 if (!primary && (primary != bus->number) && secondary && subordinate) { in pci_scan_bridge_extend()
1175 secondary > subordinate)) { in pci_scan_bridge_extend()
1177 secondary, subordinate); in pci_scan_bridge_extend()
1191 if ((secondary || subordinate) && !pcibios_assign_all_busses() && in pci_scan_bridge_extend()
1214 pci_bus_insert_busn_res(child, secondary, subordinate); in pci_scan_bridge_extend()
1219 if (cmax > subordinate) in pci_scan_bridge_extend()
[all …]
Dsearch.c84 PCI_DEVID(tmp->subordinate->number, in pci_for_each_dma_alias()
98 PCI_DEVID(tmp->subordinate->number, in pci_for_each_dma_alias()
/Linux-v5.4/arch/mips/pci/
Dfixup-sb1250.c51 exclude->start = dev->subordinate->number; in sb1250_bus_dma_mask()
52 exclude->end = pci_bus_max_busnr(dev->subordinate); in sb1250_bus_dma_mask()
/Linux-v5.4/drivers/pci/hotplug/
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_pci.c28 struct pci_bus *parent = bridge->subordinate; in shpchp_configure_device()
67 struct pci_bus *parent = p_slot->ctrl->pci_dev->subordinate; in shpchp_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()
Dacpiphp_glue.c436 struct pci_bus *bus = bridge->subordinate; in acpiphp_native_scan_bridge()
496 if (pass && dev->subordinate) { in enable_slot()
498 pcibios_resource_survey_bus(dev->subordinate); in enable_slot()
499 __pci_bus_size_bridges(dev->subordinate, in enable_slot()
639 struct pci_bus *bus = dev->subordinate; in trim_stale_devices()
655 pci_walk_bus(dev->subordinate, pci_dev_set_disconnected, in trim_stale_devices()
Dpciehp_hpc.c254 found = pci_bus_check_dev(ctrl->pcie->port->subordinate, in pciehp_check_link_status()
271 pcie_update_link_speed(ctrl->pcie->port->subordinate, lnk_status); in pciehp_check_link_status()
817 struct pci_bus *subordinate = pdev->subordinate; in pcie_init() local
846 ctrl->state = list_empty(&subordinate->devices) ? OFF_STATE : ON_STATE; in pcie_init()
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_core.c81 ctrl->pcie->port->subordinate, 0, name); in init_slot()
186 if (!dev->port->subordinate) { in pciehp_probe()
Dshpchp_sysfs.c33 bus = pdev->subordinate; in show_ctrl()
/Linux-v5.4/drivers/irqchip/
Dirq-gic-v3-its-pci-msi.c71 if (alias_dev != pdev && alias_dev->subordinate) in its_pci_msi_prepare()
72 pci_walk_bus(alias_dev->subordinate, its_pci_msi_vec_count, in its_pci_msi_prepare()
/Linux-v5.4/arch/powerpc/kernel/
Dpci_32.c103 if (!dev || !dev->subordinate) { in make_one_node_map()
107 make_one_node_map(node, dev->subordinate->number); in make_one_node_map()
/Linux-v5.4/arch/sh/drivers/pci/
Dpci.c256 if (dev->subordinate) in pcibios_bus_report_status()
257 pcibios_bus_report_status(dev->subordinate, status_mask, warn); in pcibios_bus_report_status()
/Linux-v5.4/arch/x86/pci/
Di386.c315 child = dev->subordinate; in pcibios_allocate_resources()
349 child = dev->subordinate; in pcibios_allocate_rom_resources()

123