/linux-4.19.296/drivers/pci/hotplug/ |
D | shpchp_sysfs.c | 28 int index, busnr; in show_ctrl() local 62 for (busnr = bus->busn_res.start; busnr <= bus->busn_res.end; busnr++) { in show_ctrl() 63 if (!pci_find_bus(pci_domain_nr(bus), busnr)) in show_ctrl() 66 if (busnr < bus->busn_res.end) in show_ctrl() 68 busnr, (int)(bus->busn_res.end - busnr)); in show_ctrl()
|
/linux-4.19.296/drivers/pci/controller/ |
D | pci-rcar-gen2.c | 101 unsigned busnr; member 116 if (sys->busnr != bus->number || PCI_FUNC(devfn)) in rcar_pci_cfg_base() 204 dev_info(dev, "PCI: bus%u revision %x\n", sys->busnr, val); in rcar_pci_setup() 284 sys->busnr = priv->busnr; in rcar_pci_setup() 378 struct resource busnr; in rcar_pci_probe() local 381 ret = of_pci_parse_bus_range(dev->of_node, &busnr); in rcar_pci_probe() 387 priv->busnr = busnr.start; in rcar_pci_probe() 388 if (busnr.end != busnr.start) in rcar_pci_probe() 397 priv->busnr = pdev->id; in rcar_pci_probe()
|
D | pci-versatile.c | 51 unsigned int busnr = bus->number; in versatile_map_bus() local 56 return versatile_cfg_base[1] + ((busnr << 16) | (devfn << 8) | offset); in versatile_map_bus() 203 bridge->busnr = 0; in versatile_pci_probe()
|
D | pci-v3-semi.c | 319 unsigned int address, mapaddress, busnr; in v3_map_bus() local 321 busnr = bus->number; in v3_map_bus() 322 if (busnr == 0) { in v3_map_bus() 362 address = (busnr << 16) | (devfn << 8); in v3_map_bus() 604 host->busnr = win->res->start; in v3_pci_setup_resource() 752 host->busnr = 0; in v3_pci_probe()
|
D | pci-host-common.c | 93 bridge->busnr = cfg->busr.start; in pci_host_common_probe()
|
D | pcie-cadence-host.c | 324 bridge->busnr = pcie->bus; in cdns_pcie_host_probe()
|
D | pcie-xilinx.c | 672 bridge->busnr = 0; in xilinx_pcie_probe()
|
D | pci-ftpci100.c | 452 host->busnr = 0; in faraday_pci_probe()
|
D | pcie-altera.c | 610 bridge->busnr = pcie->root_bus_nr; in altera_pcie_probe()
|
D | pci-xgene.c | 653 bridge->busnr = 0; in xgene_pcie_probe()
|
D | pcie-xilinx-nwl.c | 890 bridge->busnr = pcie->root_busno; in nwl_pcie_probe()
|
D | pcie-mobiveil.c | 835 bridge->busnr = pcie->root_bus_nr; in mobiveil_pcie_probe()
|
D | pcie-rockchip-host.c | 1049 bridge->busnr = 0; in rockchip_pcie_probe()
|
D | pcie-iproc.c | 1465 host->busnr = 0; in iproc_pcie_setup()
|
D | pcie-rcar.c | 474 bridge->busnr = pcie->root_bus_nr; in rcar_pcie_enable()
|
D | pci-mvebu.c | 1308 bridge->busnr = 0; in mvebu_pcie_probe()
|
D | pci-aardvark.c | 1307 bridge->busnr = 0; in advk_pcie_probe()
|
D | pcie-mediatek.c | 1148 host->busnr = pcie->busn.start; in mtk_pcie_register_host()
|
/linux-4.19.296/drivers/pci/ |
D | search.c | 115 static struct pci_bus *pci_do_find_bus(struct pci_bus *bus, unsigned char busnr) in pci_do_find_bus() argument 120 if (bus->number == busnr) in pci_do_find_bus() 124 child = pci_do_find_bus(tmp, busnr); in pci_do_find_bus() 140 struct pci_bus *pci_find_bus(int domain, int busnr) in pci_find_bus() argument 148 tmp_bus = pci_do_find_bus(bus, busnr); in pci_find_bus()
|
D | iov.c | 62 int nr_virtfn, busnr, rc = 0; in compute_max_vf_buses() local 71 busnr = pci_iov_virtfn_bus(dev, nr_virtfn - 1); in compute_max_vf_buses() 72 if (busnr > iov->max_VF_buses) in compute_max_vf_buses() 73 iov->max_VF_buses = busnr; in compute_max_vf_buses() 81 static struct pci_bus *virtfn_add_bus(struct pci_bus *bus, int busnr) in virtfn_add_bus() argument 85 if (bus->number == busnr) in virtfn_add_bus() 88 child = pci_find_bus(pci_domain_nr(bus), busnr); in virtfn_add_bus() 92 child = pci_add_new_bus(bus, NULL, busnr); in virtfn_add_bus() 96 pci_bus_insert_busn_res(child, busnr, busnr); in virtfn_add_bus()
|
D | probe.c | 851 bus->number = bus->busn_res.start = bridge->busnr; in pci_register_host_bridge() 856 b = pci_find_bus(pci_domain_nr(bus), bridge->busnr); in pci_register_host_bridge() 865 bridge->busnr); in pci_register_host_bridge() 985 struct pci_dev *bridge, int busnr) in pci_alloc_child_bus() argument 1007 dev_set_name(&child->dev, "%04x:%02x", pci_domain_nr(child), busnr); in pci_alloc_child_bus() 1010 child->number = child->busn_res.start = busnr; in pci_alloc_child_bus() 1062 int busnr) in pci_add_new_bus() argument 1066 child = pci_alloc_child_bus(parent, dev, busnr); in pci_add_new_bus() 3002 bridge->busnr = bus; in pci_create_root_bus() 3134 bus = bridge->busnr; in pci_scan_root_bus_bridge() [all …]
|
/linux-4.19.296/drivers/pci/pcie/ |
D | pme.c | 129 u8 busnr = req_id >> 8, devfn = req_id & 0xff; in pcie_pme_handle_request() local 135 if (port->devfn == devfn && port->bus->number == busnr) { in pcie_pme_handle_request() 159 bus = pci_find_bus(pci_domain_nr(port->bus), busnr); in pcie_pme_handle_request() 198 busnr, PCI_SLOT(devfn), PCI_FUNC(devfn)); in pcie_pme_handle_request()
|
/linux-4.19.296/include/linux/ |
D | pci.h | 481 int busnr; member 915 struct pci_bus *pci_find_bus(int domain, int busnr); 930 int busnr);
|
/linux-4.19.296/drivers/pci/controller/dwc/ |
D | pcie-designware-host.c | 491 bridge->busnr = pp->root_bus_nr; in dw_pcie_host_init()
|
/linux-4.19.296/include/uapi/linux/ |
D | kvm.h | 1491 __u32 busnr; member
|