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