Searched refs:busnr (Results 1 - 11 of 11) sorted by relevance

/drivers/pci/
H A Dhotplug-pci.c10 int pass, busnr, start = parent->busn_res.start; local
13 for (busnr = start; busnr <= end; busnr++) {
14 if (!pci_find_bus(pci_domain_nr(parent), busnr))
17 if (busnr-- > end) {
23 busnr = pci_scan_bridge(parent, dev, busnr, pass);
H A Dsearch.c106 static struct pci_bus *pci_do_find_bus(struct pci_bus *bus, unsigned char busnr) argument
111 if (bus->number == busnr)
115 child = pci_do_find_bus(tmp, busnr);
125 * @busnr: number of desired PCI bus
131 struct pci_bus *pci_find_bus(int domain, int busnr) argument
139 tmp_bus = pci_do_find_bus(bus, busnr);
H A Diov.c34 static struct pci_bus *virtfn_add_bus(struct pci_bus *bus, int busnr) argument
38 if (bus->number == busnr)
41 child = pci_find_bus(pci_domain_nr(bus), busnr);
45 child = pci_add_new_bus(bus, NULL, busnr);
49 pci_bus_insert_busn_res(child, busnr, busnr);
543 u8 busnr; local
549 busnr = virtfn_bus(dev, dev->sriov->total_VFs - 1);
550 if (busnr > max)
551 max = busnr;
[all...]
H A Dprobe.c674 struct pci_dev *bridge, int busnr)
697 dev_set_name(&child->dev, "%04x:%02x", pci_domain_nr(child), busnr);
703 child->number = child->busn_res.start = busnr;
738 int busnr)
742 child = pci_alloc_child_bus(parent, dev, busnr);
673 pci_alloc_child_bus(struct pci_bus *parent, struct pci_dev *bridge, int busnr) argument
737 pci_add_new_bus(struct pci_bus *parent, struct pci_dev *dev, int busnr) argument
/drivers/pci/hotplug/
H A Dshpchp_sysfs.c42 int index, busnr; local
76 for (busnr = bus->busn_res.start; busnr <= bus->busn_res.end; busnr++) {
77 if (!pci_find_bus(pci_domain_nr(bus), busnr))
80 if (busnr < bus->busn_res.end)
82 busnr, (int)(bus->busn_res.end - busnr));
/drivers/pci/host/
H A Dpci-rcar-gen2.c102 unsigned busnr; member in struct:rcar_pci_priv
115 if (sys->busnr != bus->number || PCI_FUNC(devfn))
245 dev_info(priv->dev, "PCI: bus%u revision %x\n", sys->busnr, val);
323 sys->busnr = priv->busnr;
377 struct resource busnr; local
380 ret = of_pci_parse_bus_range(pdev->dev.of_node, &busnr);
386 priv->busnr = busnr.start;
387 if (busnr
[all...]
H A Dpci-tegra.c383 unsigned int busnr)
397 bus->nr = busnr;
410 phys_addr_t phys = cs + i * SZ_16M + busnr * SZ_64K;
434 unsigned int busnr)
439 if (bus->nr == busnr)
442 bus = tegra_pcie_bus_alloc(pcie, busnr);
709 bus = pci_create_root_bus(pcie->dev, sys->busnr, &tegra_pcie_ops, sys,
382 tegra_pcie_bus_alloc(struct tegra_pcie *pcie, unsigned int busnr) argument
433 tegra_pcie_bus_map(struct tegra_pcie *pcie, unsigned int busnr) argument
H A Dpcie-xilinx.c732 port->root_busno = sys->busnr;
733 bus = pci_scan_root_bus(port->dev, sys->busnr, &xilinx_pcie_ops,
H A Dpcie-designware.c724 pp->root_bus_nr = sys->busnr;
725 bus = pci_create_root_bus(pp->dev, sys->busnr,
H A Dpci-mvebu.c767 bus = pci_create_root_bus(&pcie->pdev->dev, sys->busnr,
/drivers/pci/pcie/
H A Dpme.c140 u8 busnr = req_id >> 8, devfn = req_id & 0xff; local
146 if (port->devfn == devfn && port->bus->number == busnr) {
170 bus = pci_find_bus(pci_domain_nr(port->bus), busnr);
209 busnr, PCI_SLOT(devfn), PCI_FUNC(devfn));

Completed in 112 milliseconds