Home
last modified time | relevance | path

Searched refs:sub_bus (Results 1 – 6 of 6) sorted by relevance

/external/u-boot/drivers/pci/
Dpci_auto_old.c176 pci_dev_t dev, int sub_bus) in pciauto_prescan_setup_bridge() argument
196 sub_bus - hose->first_busno); in pciauto_prescan_setup_bridge()
257 pci_dev_t dev, int sub_bus) in pciauto_postscan_setup_bridge() argument
269 sub_bus - hose->first_busno); in pciauto_postscan_setup_bridge()
325 unsigned int sub_bus = PCI_BUS(dev); in pciauto_config_device() local
353 sub_bus = max((unsigned int)n, sub_bus); in pciauto_config_device()
354 pciauto_postscan_setup_bridge(hose, dev, sub_bus); in pciauto_config_device()
356 sub_bus = hose->current_busno; in pciauto_config_device()
402 return sub_bus; in pciauto_config_device()
Dpci_auto.c166 void dm_pciauto_prescan_setup_bridge(struct udevice *dev, int sub_bus) in dm_pciauto_prescan_setup_bridge() argument
186 dm_pci_write_config8(dev, PCI_SECONDARY_BUS, sub_bus - ctlr->seq); in dm_pciauto_prescan_setup_bridge()
248 void dm_pciauto_postscan_setup_bridge(struct udevice *dev, int sub_bus) in dm_pciauto_postscan_setup_bridge() argument
261 dm_pci_write_config8(dev, PCI_SUBORDINATE_BUS, sub_bus - ctlr->seq); in dm_pciauto_postscan_setup_bridge()
312 unsigned int sub_bus = PCI_BUS(dm_pci_get_bdf(dev)); in dm_pciauto_config_device() local
340 sub_bus = (unsigned int)n; in dm_pciauto_config_device()
387 return sub_bus; in dm_pciauto_config_device()
Dpci_internal.h22 void dm_pciauto_prescan_setup_bridge(struct udevice *dev, int sub_bus);
34 void dm_pciauto_postscan_setup_bridge(struct udevice *dev, int sub_bus);
Dpci.c340 unsigned int sub_bus, found_multi = 0; in pci_hose_scan_bus() local
351 sub_bus = bus; in pci_hose_scan_bus()
398 sub_bus = max((unsigned int)pciauto_config_device(hose, dev), in pci_hose_scan_bus()
399 sub_bus); in pci_hose_scan_bus()
405 sub_bus = max(sub_bus, in pci_hose_scan_bus()
418 return sub_bus; in pci_hose_scan_bus()
Dpci-uclass.c491 unsigned int sub_bus; in pci_auto_config_devices() local
495 sub_bus = bus->seq; in pci_auto_config_devices()
509 sub_bus = max(sub_bus, max_bus); in pci_auto_config_devices()
517 return sub_bus; in pci_auto_config_devices()
580 int sub_bus; in dm_pci_hose_probe_bus() local
585 sub_bus = pci_get_bus_max() + 1; in dm_pci_hose_probe_bus()
586 debug("%s: bus = %d/%s\n", __func__, sub_bus, bus->name); in dm_pci_hose_probe_bus()
587 dm_pciauto_prescan_setup_bridge(bus, sub_bus); in dm_pci_hose_probe_bus()
595 if (sub_bus != bus->seq) { in dm_pci_hose_probe_bus()
597 __func__, bus->name, bus->seq, sub_bus); in dm_pci_hose_probe_bus()
[all …]
/external/u-boot/include/
Dpci.h725 pci_dev_t dev, int sub_bus);
727 pci_dev_t dev, int sub_bus);