Lines Matching defs:ready
492 * zynqmp_dp_phy_ready - Check if PHY is ready
495 * Check if PHY is ready. If PHY is not ready, wait 1ms to check for 100 times.
498 * Return: 0 if PHY is ready, or -ENODEV if PHY is not ready.
502 u32 i, reg, ready;
504 ready = (1 << dp->num_lanes) - 1;
506 /* Wait for 100 * 1ms. This should be enough time for PHY to be ready */
509 if ((reg & ready) == ready)
513 dev_err(dp->dev, "PHY isn't ready\n");