Lines Matching refs:root_bus_nr
64 (((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()
483 if (busno == pcie->root_bus_nr && pcie->pcie_data->ops->rp_write_cfg) in _altera_pcie_cfg_write()
575 altera_read_cap_word(pcie, pcie->root_bus_nr, RP_DEVFN, in altera_wait_link_retrain()
612 altera_read_cap_word(pcie, pcie->root_bus_nr, RP_DEVFN, PCI_EXP_LNKCAP, in altera_pcie_retrain()
617 altera_read_cap_word(pcie, pcie->root_bus_nr, RP_DEVFN, PCI_EXP_LNKSTA, in altera_pcie_retrain()
620 altera_read_cap_word(pcie, pcie->root_bus_nr, RP_DEVFN, in altera_pcie_retrain()
623 altera_write_cap_word(pcie, pcie->root_bus_nr, RP_DEVFN, in altera_pcie_retrain()
859 bridge->busnr = pcie->root_bus_nr; in altera_pcie_probe()