Lines Matching full:rev
197 u32 rev, dev; in orion5x_init_early() local
203 orion5x_pcie_id(&dev, &rev); in orion5x_init_early()
249 u32 dev, rev; in orion5x_find_tclk() local
251 orion5x_pcie_id(&dev, &rev); in orion5x_find_tclk()
272 * Identify device ID and rev from PCIe configuration header space '0'.
274 void __init orion5x_id(u32 *dev, u32 *rev, char **dev_name) in orion5x_id() argument
276 orion5x_pcie_id(dev, rev); in orion5x_id()
279 if (*rev == MV88F5281_REV_D2) { in orion5x_id()
281 } else if (*rev == MV88F5281_REV_D1) { in orion5x_id()
283 } else if (*rev == MV88F5281_REV_D0) { in orion5x_id()
286 *dev_name = "MV88F5281-Rev-Unsupported"; in orion5x_id()
289 if (*rev == MV88F5182_REV_A2) { in orion5x_id()
292 *dev_name = "MV88F5182-Rev-Unsupported"; in orion5x_id()
295 if (*rev == MV88F5181_REV_B1) { in orion5x_id()
296 *dev_name = "MV88F5181-Rev-B1"; in orion5x_id()
297 } else if (*rev == MV88F5181L_REV_A1) { in orion5x_id()
298 *dev_name = "MV88F5181L-Rev-A1"; in orion5x_id()
300 *dev_name = "MV88F5181(L)-Rev-Unsupported"; in orion5x_id()
303 if (*rev == MV88F6183_REV_B0) { in orion5x_id()
304 *dev_name = "MV88F6183-Rev-B0"; in orion5x_id()
306 *dev_name = "MV88F6183-Rev-Unsupported"; in orion5x_id()
316 u32 dev, rev; in orion5x_init() local
318 orion5x_id(&dev, &rev, &dev_name); in orion5x_init()
333 if (dev == MV88F5281_DEV_ID && rev == MV88F5281_REV_D0) { in orion5x_init()
342 if ((dev == MV88F5181_DEV_ID && rev >= MV88F5181L_REV_A0) || in orion5x_init()