/linux/drivers/pcmcia/ |
A 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()
|
A D | yenta_socket.c | 707 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()
|
/linux/drivers/pci/pcie/ |
A D | pme.c | 85 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()
|
A D | aspm.c | 145 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() 550 struct pci_bus *linkbus = parent->subordinate; in pcie_aspm_cap_init() 747 struct pci_bus *linkbus = parent->subordinate; in pcie_config_aspm_link() 817 list_for_each_entry(child, &pdev->subordinate->devices, bus_list) { in pcie_aspm_sanity_check() 853 link->downstream = pci_function_0(pdev->subordinate); in alloc_pcie_link_state() 888 list_for_each_entry(child, &pdev->subordinate->devices, bus_list) in pcie_aspm_update_sysfs_visibility() 922 if (list_empty(&pdev->subordinate->devices)) in pcie_aspm_init_link_state() 973 struct pci_bus *linkbus = link->pdev->subordinate; in pcie_update_aspm_capable() [all …]
|
A D | err.c | 174 if (bridge->subordinate) in pci_walk_bridge() 175 pci_walk_bus(bridge->subordinate, cb, userdata); in pci_walk_bridge()
|
/linux/drivers/pci/hotplug/ |
A D | acpiphp_glue.c | 437 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()
|
A D | pciehp_pci.c | 36 struct pci_bus *parent = bridge->subordinate; in pciehp_configure_device() 87 struct pci_bus *parent = ctrl->pcie->port->subordinate; in pciehp_unconfigure_device()
|
A 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()
|
A D | shpchp_core.c | 83 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()
|
A D | pciehp_hpc.c | 302 found = pci_bus_check_dev(ctrl->pcie->port->subordinate, in pciehp_check_link_status() 319 pcie_update_link_speed(ctrl->pcie->port->subordinate, lnk_status); in pciehp_check_link_status() 971 struct pci_bus *subordinate = pdev->subordinate; in pcie_init() local 1000 ctrl->state = list_empty(&subordinate->devices) ? OFF_STATE : ON_STATE; in pcie_init()
|
A 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()
|
A D | pciehp_core.c | 81 ctrl->pcie->port->subordinate, 0, name); in init_slot() 192 if (!dev->port->subordinate) { in pciehp_probe()
|
A D | shpchp_sysfs.c | 33 bus = pdev->subordinate; in show_ctrl()
|
/linux/drivers/pci/ |
A D | remove.c | 68 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()
|
A D | pci.c | 4943 if (!dev->subordinate || list_empty(&dev->subordinate->devices)) { in pci_bridge_wait_for_secondary_bus() 5504 (dev->subordinate && !pci_bus_resetable(dev->subordinate))) in pci_bus_resetable() 5518 if (dev->subordinate) in pci_bus_lock() 5529 if (dev->subordinate) in pci_bus_unlock() 5554 if (dev->subordinate) in pci_bus_trylock() 5574 (dev->subordinate && !pci_bus_resetable(dev->subordinate))) in pci_slot_resetable() 5590 if (dev->subordinate) in pci_slot_lock() 5603 if (dev->subordinate) in pci_slot_unlock() 5633 if (dev->subordinate) in pci_slot_trylock() 5650 if (dev->subordinate) in pci_bus_save_and_disable_locked() [all …]
|
A D | bus.c | 354 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()
|
A D | setup-bus.c | 1214 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() 2009 b = dev->subordinate; in pci_bus_distribute_available_resources() 2052 struct pci_bus *parent = bridge->subordinate; in pci_assign_unassigned_bridge_resources() 2190 pci_setup_bridge(bridge->subordinate); in pci_reassign_bridge_resources() [all …]
|
A D | pci-sysfs.c | 170 if (pci_dev->subordinate) in resource_show() 390 struct pci_bus *subordinate = pdev->subordinate; in msi_bus_show() local 392 return sysfs_emit(buf, "%u\n", subordinate ? in msi_bus_show() 393 !(subordinate->bus_flags & PCI_BUS_FLAGS_NO_MSI) in msi_bus_show() 401 struct pci_bus *subordinate = pdev->subordinate; in msi_bus_store() local 415 if (!subordinate) { in msi_bus_store() 423 subordinate->bus_flags &= ~PCI_BUS_FLAGS_NO_MSI; in msi_bus_store() 425 subordinate->bus_flags |= PCI_BUS_FLAGS_NO_MSI; in msi_bus_store() 427 dev_info(&subordinate->dev, "MSI/MSI-X %s for future drivers of devices on this bus\n", in msi_bus_store()
|
A D | probe.c | 1137 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() 1282 secondary > subordinate)) { in pci_scan_bridge_extend() 1284 secondary, subordinate); in pci_scan_bridge_extend() 1326 if (cmax > subordinate) in pci_scan_bridge_extend() 1328 subordinate, cmax); in pci_scan_bridge_extend() 1331 if (subordinate > max) in pci_scan_bridge_extend() 1332 max = subordinate; in pci_scan_bridge_extend() [all …]
|
A D | search.c | 90 PCI_DEVID(tmp->subordinate->number, in pci_for_each_dma_alias() 104 PCI_DEVID(tmp->subordinate->number, in pci_for_each_dma_alias()
|
/linux/arch/mips/pci/ |
A D | fixup-sb1250.c | 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/drivers/irqchip/ |
A D | irq-gic-v3-its-pci-msi.c | 75 if (alias_dev->subordinate) in its_pci_msi_prepare() 76 pci_walk_bus(alias_dev->subordinate, in its_pci_msi_prepare()
|
/linux/arch/powerpc/kernel/ |
A D | pci_32.c | 103 if (!dev || !dev->subordinate) { in make_one_node_map() 107 make_one_node_map(node, dev->subordinate->number); in make_one_node_map()
|
/linux/arch/sh/drivers/pci/ |
A 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()
|
/linux/arch/x86/pci/ |
A D | i386.c | 315 child = dev->subordinate; in pcibios_allocate_resources() 349 child = dev->subordinate; in pcibios_allocate_rom_resources()
|