Lines Matching full:rev
210 u32 rev, dev; in orion5x_init_early() local
216 orion5x_pcie_id(&dev, &rev); in orion5x_init_early()
262 u32 dev, rev; in orion5x_find_tclk() local
264 orion5x_pcie_id(&dev, &rev); in orion5x_find_tclk()
285 * Identify device ID and rev from PCIe configuration header space '0'.
287 void __init orion5x_id(u32 *dev, u32 *rev, char **dev_name) in orion5x_id() argument
289 orion5x_pcie_id(dev, rev); in orion5x_id()
292 if (*rev == MV88F5281_REV_D2) { in orion5x_id()
294 } else if (*rev == MV88F5281_REV_D1) { in orion5x_id()
296 } else if (*rev == MV88F5281_REV_D0) { in orion5x_id()
299 *dev_name = "MV88F5281-Rev-Unsupported"; in orion5x_id()
302 if (*rev == MV88F5182_REV_A2) { in orion5x_id()
305 *dev_name = "MV88F5182-Rev-Unsupported"; in orion5x_id()
308 if (*rev == MV88F5181_REV_B1) { in orion5x_id()
309 *dev_name = "MV88F5181-Rev-B1"; in orion5x_id()
310 } else if (*rev == MV88F5181L_REV_A1) { in orion5x_id()
311 *dev_name = "MV88F5181L-Rev-A1"; in orion5x_id()
313 *dev_name = "MV88F5181(L)-Rev-Unsupported"; in orion5x_id()
316 if (*rev == MV88F6183_REV_B0) { in orion5x_id()
317 *dev_name = "MV88F6183-Rev-B0"; in orion5x_id()
319 *dev_name = "MV88F6183-Rev-Unsupported"; in orion5x_id()
329 u32 dev, rev; in orion5x_init() local
331 orion5x_id(&dev, &rev, &dev_name); in orion5x_init()
346 if (dev == MV88F5281_DEV_ID && rev == MV88F5281_REV_D0) { in orion5x_init()
355 if ((dev == MV88F5181_DEV_ID && rev >= MV88F5181L_REV_A0) || in orion5x_init()