Home
last modified time | relevance | path

Searched refs:nbars (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/pci/controller/dwc/
Dpcie-designware-ep.c502 unsigned int nbars; in dw_pcie_ep_init() local
597 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()
/Linux-v5.4/drivers/pci/
Dpci.c1426 unsigned int pos, nbars, i; in pci_restore_rebar_state() local
1434 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() local
3441 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()