Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/pci/controller/
Dpcie-altera.c52 ((((bus == pcie->root_bus_nr) ? TLP_FMTTYPE_CFGRD0 \
56 ((((bus == pcie->root_bus_nr) ? TLP_FMTTYPE_CFGWR0 \
60 (((TLP_REQ_ID(pcie->root_bus_nr, RP_DEVFN)) << 16) | (tag << 8) | (be))
76 u8 root_bus_nr; member
135 if (bus->number != pcie->root_bus_nr) { in altera_pcie_valid_device()
141 if (bus->number == pcie->root_bus_nr && dev > 0) in altera_pcie_valid_device()
251 if ((bus == pcie->root_bus_nr) && (where == PCI_PRIMARY_BUS)) in tlp_cfg_dword_write()
252 pcie->root_bus_nr = (u8)(value); in tlp_cfg_dword_write()
391 altera_read_cap_word(pcie, pcie->root_bus_nr, RP_DEVFN, in altera_wait_link_retrain()
428 altera_read_cap_word(pcie, pcie->root_bus_nr, RP_DEVFN, PCI_EXP_LNKCAP, in altera_pcie_retrain()
[all …]
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()
1029 rockchip->root_bus_nr = win->res->start; in rockchip_pcie_probe()
Dpcie-mobiveil.c144 char root_bus_nr; member
170 if ((bus->number == pcie->root_bus_nr) && (devfn > 0)) in mobiveil_pcie_valid_device()
177 if ((bus->primary == pcie->root_bus_nr) && (PCI_SLOT(devfn) > 0)) in mobiveil_pcie_valid_device()
195 if (bus->number == pcie->root_bus_nr) { in mobiveil_pcie_map_bus()
835 bridge->busnr = pcie->root_bus_nr; in mobiveil_pcie_probe()
Dpcie-rcar.c155 int root_bus_nr; member
231 pcie->root_bus_nr = *data & 0xff; in rcar_pcie_config_access()
239 if (pcie->root_bus_nr < 0) in rcar_pcie_config_access()
250 if (bus->parent->number == pcie->root_bus_nr) in rcar_pcie_config_access()
392 pci->root_bus_nr = res->start; in rcar_pcie_setup()
474 bridge->busnr = pcie->root_bus_nr; in rcar_pcie_enable()
Dpci-aardvark.c277 int root_bus_nr; member
666 if ((bus->number == pcie->root_bus_nr) && PCI_SLOT(devfn) != 0) in advk_pcie_valid_device()
673 if (bus->number != pcie->root_bus_nr && !advk_pcie_link_up(pcie)) in advk_pcie_valid_device()
728 if (bus->number == pcie->root_bus_nr) in advk_pcie_rd_conf()
788 if (bus->number == pcie->root_bus_nr) in advk_pcie_wr_conf()
1139 pcie->root_bus_nr = res->start; in advk_pcie_parse_request_of_pci_ranges()
Dpcie-rockchip.h310 u8 root_bus_nr; member
/linux-4.19.296/drivers/pci/controller/dwc/
Dpcie-designware-host.c487 pp->root_bus_nr = pp->busn->start; in dw_pcie_host_init()
491 bridge->busnr = pp->root_bus_nr; in dw_pcie_host_init()
535 if (bus->parent->number == pp->root_bus_nr) { in dw_pcie_rd_other_conf()
574 if (bus->parent->number == pp->root_bus_nr) { in dw_pcie_wr_other_conf()
604 if (bus->number != pp->root_bus_nr) { in dw_pcie_valid_device()
610 if (bus->number == pp->root_bus_nr && dev > 0) in dw_pcie_valid_device()
626 if (bus->number == pp->root_bus_nr) in dw_pcie_rd_conf()
640 if (bus->number == pp->root_bus_nr) in dw_pcie_wr_conf()
Dpcie-designware.h144 u8 root_bus_nr; member