Lines Matching refs:where
209 u32 devfn, int where, int size, u32 *val) in orion_pcie_rd_conf() argument
214 PCIE_CONF_REG(where) | PCIE_CONF_ADDR_EN, in orion_pcie_rd_conf()
220 *val = (*val >> (8 * (where & 3))) & 0xff; in orion_pcie_rd_conf()
222 *val = (*val >> (8 * (where & 3))) & 0xffff; in orion_pcie_rd_conf()
228 u32 devfn, int where, int size, u32 *val) in orion_pcie_rd_conf_tlp() argument
233 PCIE_CONF_REG(where) | PCIE_CONF_ADDR_EN, in orion_pcie_rd_conf_tlp()
243 *val = (*val >> (8 * (where & 3))) & 0xff; in orion_pcie_rd_conf_tlp()
245 *val = (*val >> (8 * (where & 3))) & 0xffff; in orion_pcie_rd_conf_tlp()
251 u32 devfn, int where, int size, u32 *val) in orion_pcie_rd_conf_wa() argument
256 PCIE_CONF_REG(where))); in orion_pcie_rd_conf_wa()
259 *val = (*val >> (8 * (where & 3))) & 0xff; in orion_pcie_rd_conf_wa()
261 *val = (*val >> (8 * (where & 3))) & 0xffff; in orion_pcie_rd_conf_wa()
267 u32 devfn, int where, int size, u32 val) in orion_pcie_wr_conf() argument
274 PCIE_CONF_REG(where) | PCIE_CONF_ADDR_EN, in orion_pcie_wr_conf()
280 writew(val, base + PCIE_CONF_DATA_OFF + (where & 3)); in orion_pcie_wr_conf()
282 writeb(val, base + PCIE_CONF_DATA_OFF + (where & 3)); in orion_pcie_wr_conf()