Home
last modified time | relevance | path

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

12

/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.c707 res->name = dev->subordinate->name; in yenta_allocate_res()
779 pci_setup_cardbus(socket->dev->subordinate); in yenta_allocate_resources()
1062 ((unsigned int)dev->subordinate->busn_res.end << 16) | /* subordinate bus */ in yenta_config_init()
1063 ((unsigned int)dev->subordinate->busn_res.start << 8) | /* secondary bus */ in yenta_config_init()
1064 dev->subordinate->primary); /* primary bus */ in yenta_config_init()
1166 if (!dev->subordinate) { in yenta_probe()
1265 yenta_fixup_parent_bridge(dev->subordinate); in yenta_probe()
/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()
254 struct pci_bus *linkbus = parent->subordinate; in pcie_aspm_configure_common_clock()
565 struct pci_bus *linkbus = parent->subordinate; in pcie_aspm_cap_init()
762 struct pci_bus *linkbus = parent->subordinate; in pcie_config_aspm_link()
832 list_for_each_entry(child, &pdev->subordinate->devices, bus_list) { in pcie_aspm_sanity_check()
868 link->downstream = pci_function_0(pdev->subordinate); in alloc_pcie_link_state()
903 list_for_each_entry(child, &pdev->subordinate->devices, bus_list) in pcie_aspm_update_sysfs_visibility()
937 if (list_empty(&pdev->subordinate->devices)) in pcie_aspm_init_link_state()
988 struct pci_bus *linkbus = link->pdev->subordinate; in pcie_update_aspm_capable()
Derr.c166 if (bridge->subordinate) in pci_walk_bridge()
167 pci_walk_bus(bridge->subordinate, cb, userdata); in pci_walk_bridge()
/drivers/pci/hotplug/
Dacpiphp_glue.c437 struct pci_bus *bus = bridge->subordinate; in acpiphp_native_scan_bridge()
457 if (dev->subordinate) { in acpiphp_native_scan_bridge()
458 pcibios_resource_survey_bus(dev->subordinate); in acpiphp_native_scan_bridge()
459 pci_bus_size_bridges(dev->subordinate); in acpiphp_native_scan_bridge()
460 pci_bus_assign_resources(dev->subordinate); in acpiphp_native_scan_bridge()
503 if (pass && dev->subordinate) { in enable_slot()
505 pcibios_resource_survey_bus(dev->subordinate); in enable_slot()
506 __pci_bus_size_bridges(dev->subordinate, in enable_slot()
647 struct pci_bus *bus = dev->subordinate; in trim_stale_devices()
663 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.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()
982 struct pci_bus *subordinate = pdev->subordinate; in pcie_init() local
1012 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()
Dcpcihp_generic.c145 bus = dev->subordinate; in cpcihp_generic_init()
Dcpcihp_zt5550.c227 bus0 = bus0_dev->subordinate; in zt5550_hc_init_one()
/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()
Dpci.c1295 pci_resume_bus(dev->subordinate); in pci_power_up()
1387 pci_bus_set_current_state(dev->subordinate, PCI_D3cold); in pci_set_power_state()
3032 pci_walk_bus(bridge->subordinate, pci_dev_check_d3cold, in pci_bridge_d3_update()
4925 if (!dev->subordinate || list_empty(&dev->subordinate->devices)) { in pci_bridge_wait_for_secondary_bus()
4931 delay = pci_bus_max_d3cold_delay(dev->subordinate); in pci_bridge_wait_for_secondary_bus()
4937 child = list_first_entry(&dev->subordinate->devices, struct pci_dev, in pci_bridge_wait_for_secondary_bus()
5030 if (pci_is_root_bus(dev->bus) || dev->subordinate || in pci_parent_bus_reset()
5061 if (dev->multifunction || dev->subordinate || !dev->slot || in pci_dev_reset_slot_function()
5472 (dev->subordinate && !pci_bus_resetable(dev->subordinate))) in pci_bus_resetable()
5486 if (dev->subordinate) in pci_bus_lock()
[all …]
Dbus.c375 child = dev->subordinate; in pci_bus_add_devices()
416 if (dev->subordinate) { in pci_walk_bus()
418 next = dev->subordinate->devices.next; in pci_walk_bus()
419 bus = dev->subordinate; in pci_walk_bus()
Dpci-sysfs.c146 if (pci_dev->subordinate) in resource_show()
366 struct pci_bus *subordinate = pdev->subordinate; in msi_bus_show() local
368 return sysfs_emit(buf, "%u\n", subordinate ? in msi_bus_show()
369 !(subordinate->bus_flags & PCI_BUS_FLAGS_NO_MSI) in msi_bus_show()
377 struct pci_bus *subordinate = pdev->subordinate; in msi_bus_store() local
391 if (!subordinate) { in msi_bus_store()
399 subordinate->bus_flags &= ~PCI_BUS_FLAGS_NO_MSI; in msi_bus_store()
401 subordinate->bus_flags |= PCI_BUS_FLAGS_NO_MSI; in msi_bus_store()
403 dev_info(&subordinate->dev, "MSI/MSI-X %s for future drivers of devices on this bus\n", in msi_bus_store()
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()
2033 b = dev->subordinate; in pci_bus_distribute_available_resources()
2093 pci_bus_distribute_available_resources(bridge->subordinate, in pci_bridge_distribute_available_resources()
2101 struct pci_bus *parent = bridge->subordinate; in pci_assign_unassigned_bridge_resources()
2224 __pci_bus_size_bridges(bridge->subordinate, &added); in pci_reassign_bridge_resources()
[all …]
Dprobe.c1114 bridge->subordinate = child; in pci_alloc_child_bus()
1231 u8 primary, secondary, subordinate; in pci_scan_bridge_extend() local
1246 subordinate = (buses >> 16) & 0xFF; in pci_scan_bridge_extend()
1249 secondary, subordinate, pass); in pci_scan_bridge_extend()
1251 if (!primary && (primary != bus->number) && secondary && subordinate) { in pci_scan_bridge_extend()
1259 secondary > subordinate)) { in pci_scan_bridge_extend()
1261 secondary, subordinate); in pci_scan_bridge_extend()
1275 if ((secondary || subordinate) && !pcibios_assign_all_busses() && in pci_scan_bridge_extend()
1298 pci_bus_insert_busn_res(child, secondary, subordinate); in pci_scan_bridge_extend()
1303 if (cmax > subordinate) 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()
/drivers/irqchip/
Dirq-gic-v3-its-pci-msi.c75 if (alias_dev->subordinate) in its_pci_msi_prepare()
76 pci_walk_bus(alias_dev->subordinate, in its_pci_msi_prepare()
/drivers/infiniband/hw/mthca/
Dmthca_reset.c76 bridge->subordinate == mdev->pdev->bus) { in mthca_reset()
/drivers/thunderbolt/
Dswitch.c2459 struct tb_port *subordinate; in tb_switch_default_link_ports() local
2470 subordinate = &sw->ports[i + 1]; in tb_switch_default_link_ports()
2471 if (!port->dual_link_port && !subordinate->dual_link_port) { in tb_switch_default_link_ports()
2473 port->dual_link_port = subordinate; in tb_switch_default_link_ports()
2474 subordinate->link_nr = 1; in tb_switch_default_link_ports()
2475 subordinate->dual_link_port = port; in tb_switch_default_link_ports()
2478 port->port, subordinate->port); in tb_switch_default_link_ports()

12