Lines Matching refs:stat
176 u32 stat; in mvebu_pcie_set_local_bus_nr() local
178 stat = readl(pcie->base + PCIE_STAT_OFF); in mvebu_pcie_set_local_bus_nr()
179 stat &= ~PCIE_STAT_BUS; in mvebu_pcie_set_local_bus_nr()
180 stat |= busno << 8; in mvebu_pcie_set_local_bus_nr()
181 writel(stat, pcie->base + PCIE_STAT_OFF); in mvebu_pcie_set_local_bus_nr()
186 u32 stat; in mvebu_pcie_set_local_dev_nr() local
188 stat = readl(pcie->base + PCIE_STAT_OFF); in mvebu_pcie_set_local_dev_nr()
189 stat &= ~PCIE_STAT_DEV; in mvebu_pcie_set_local_dev_nr()
190 stat |= devno << 16; in mvebu_pcie_set_local_dev_nr()
191 writel(stat, pcie->base + PCIE_STAT_OFF); in mvebu_pcie_set_local_dev_nr()
196 u32 stat; in mvebu_pcie_get_local_bus_nr() local
198 stat = readl(pcie->base + PCIE_STAT_OFF); in mvebu_pcie_get_local_bus_nr()
199 return (stat & PCIE_STAT_BUS) >> 8; in mvebu_pcie_get_local_bus_nr()
204 u32 stat; in mvebu_pcie_get_local_dev_nr() local
206 stat = readl(pcie->base + PCIE_STAT_OFF); in mvebu_pcie_get_local_dev_nr()
207 return (stat & PCIE_STAT_DEV) >> 16; in mvebu_pcie_get_local_dev_nr()