Searched refs:nbars (Results 1 – 2 of 2) sorted by relevance
502 unsigned int nbars; in dw_pcie_ep_init() local597 nbars = (reg & PCI_REBAR_CTRL_NBAR_MASK) >> in dw_pcie_ep_init()601 for (i = 0; i < nbars; i++, offset += PCI_REBAR_CTRL) in dw_pcie_ep_init()
1426 unsigned int pos, nbars, i; in pci_restore_rebar_state() local1434 nbars = (ctrl & PCI_REBAR_CTRL_NBAR_MASK) >> in pci_restore_rebar_state()1437 for (i = 0; i < nbars; i++, pos += 8) { in pci_restore_rebar_state()3433 unsigned int pos, nbars, i; in pci_rebar_find_pos() local3441 nbars = (ctrl & PCI_REBAR_CTRL_NBAR_MASK) >> in pci_rebar_find_pos()3444 for (i = 0; i < nbars; i++, pos += 8) { in pci_rebar_find_pos()