Home
last modified time | relevance | path

Searched refs:root_bus_nr (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.4/drivers/pci/controller/
Dpcie-altera.c64 (((TLP_REQ_ID(pcie->root_bus_nr, RP_DEVFN)) << 16) | (tag << 8) | (be))
92 u8 root_bus_nr; member
188 if (bus->number != pcie->root_bus_nr) { in altera_pcie_valid_device()
194 if (bus->number == pcie->root_bus_nr && dev > 0) in altera_pcie_valid_device()
331 cfg = (bus == pcie->root_bus_nr) ? cfg0 : cfg1; in get_tlp_header()
378 if ((bus == pcie->root_bus_nr) && (where == PCI_PRIMARY_BUS)) in tlp_cfg_dword_write()
379 pcie->root_bus_nr = (u8)(value); in tlp_cfg_dword_write()
425 if (busno == pcie->root_bus_nr && where == PCI_PRIMARY_BUS) in s10_rp_write_cfg()
426 pcie->root_bus_nr = value & 0xff; in s10_rp_write_cfg()
439 if (busno == pcie->root_bus_nr && pcie->pcie_data->ops->rp_read_cfg) in _altera_pcie_cfg_read()
[all …]
Dpci-aardvark.c200 int root_bus_nr; member
509 if ((bus->number == pcie->root_bus_nr) && PCI_SLOT(devfn) != 0) in advk_pcie_valid_device()
527 if (bus->number == pcie->root_bus_nr) in advk_pcie_rd_conf()
538 if (bus->primary == pcie->root_bus_nr) in advk_pcie_rd_conf()
583 if (bus->number == pcie->root_bus_nr) in advk_pcie_wr_conf()
597 if (bus->primary == pcie->root_bus_nr) in advk_pcie_wr_conf()
947 pcie->root_bus_nr = res->start; in advk_pcie_parse_request_of_pci_ranges()
Dpcie-rockchip-host.c75 if (bus->number == rockchip->root_bus_nr && dev > 0) in rockchip_pcie_valid_device()
82 if (bus->primary == rockchip->root_bus_nr && dev > 0) in rockchip_pcie_valid_device()
173 if (bus->parent->number == rockchip->root_bus_nr) in rockchip_pcie_rd_other_conf()
204 if (bus->parent->number == rockchip->root_bus_nr) in rockchip_pcie_wr_other_conf()
233 if (bus->number == rockchip->root_bus_nr) in rockchip_pcie_rd_conf()
248 if (bus->number == rockchip->root_bus_nr) in rockchip_pcie_wr_conf()
1030 rockchip->root_bus_nr = win->res->start; in rockchip_pcie_probe()
Dpcie-mobiveil.c156 char root_bus_nr; member
286 if ((bus->number == pcie->root_bus_nr) && (devfn > 0)) in mobiveil_pcie_valid_device()
293 if ((bus->primary == pcie->root_bus_nr) && (PCI_SLOT(devfn) > 0)) in mobiveil_pcie_valid_device()
313 if (bus->number == pcie->root_bus_nr) in mobiveil_pcie_map_bus()
915 bridge->busnr = pcie->root_bus_nr; in mobiveil_pcie_probe()
Dpcie-rcar.c152 int root_bus_nr; member
227 pcie->root_bus_nr = *data & 0xff; in rcar_pcie_config_access()
235 if (pcie->root_bus_nr < 0) in rcar_pcie_config_access()
246 if (bus->parent->number == pcie->root_bus_nr) in rcar_pcie_config_access()
388 pci->root_bus_nr = res->start; in rcar_pcie_setup()
470 bridge->busnr = pcie->root_bus_nr; in rcar_pcie_enable()
Dpcie-rockchip.h301 u8 root_bus_nr; member
/Linux-v5.4/arch/arm/mach-dove/
Dpcie.c27 u8 root_bus_nr; member
47 pp->root_bus_nr = sys->busnr; in dove_pcie_setup()
89 if (bus == pp->root_bus_nr && dev > 1) in pcie_valid_config()
203 pp->root_bus_nr = -1; in add_pcie_port()
/Linux-v5.4/arch/arm/mach-mv78xx0/
Dpcie.c29 u8 root_bus_nr; member
110 pp->root_bus_nr = sys->busnr; in mv78xx0_pcie_setup()
131 if (bus == pp->root_bus_nr && dev > 1) in pcie_valid_config()
243 pp->root_bus_nr = -1; in add_pcie_port()
/Linux-v5.4/drivers/pci/controller/dwc/
Dpcie-designware-host.c483 pp->root_bus_nr = pp->busn->start; in dw_pcie_host_init()
487 bridge->busnr = pp->root_bus_nr; in dw_pcie_host_init()
539 if (bus->parent->number == pp->root_bus_nr) { in dw_pcie_access_other_conf()
595 if (bus->number != pp->root_bus_nr) { in dw_pcie_valid_device()
601 if (bus->number == pp->root_bus_nr && dev > 0) in dw_pcie_valid_device()
617 if (bus->number == pp->root_bus_nr) in dw_pcie_rd_conf()
631 if (bus->number == pp->root_bus_nr) in dw_pcie_wr_conf()
Dpcie-designware.h166 u8 root_bus_nr; member
Dpci-keystone.c443 if (bus->parent->number != pp->root_bus_nr) in ks_pcie_rd_other_conf()
460 if (bus->parent->number != pp->root_bus_nr) in ks_pcie_wr_other_conf()
Dpci-imx6.c1272 if (bus->number == pp->root_bus_nr) { in imx6_pcie_quirk()