Lines Matching defs:mdic
5919 /* Default to TRUE to enable the MDIC W/A */
12157 uint32_t mdic = 0;
12172 mdic = CSR_READ(sc, WMREG_MDIC);
12173 if (mdic & MDIC_READY)
12177 if ((mdic & MDIC_READY) == 0) {
12179 ("%s: MDIC read timed out: phy %d reg %d\n",
12182 } else if (mdic & MDIC_E) {
12185 ("%s: MDIC read error: phy %d reg %d\n",
12189 *val = MDIC_DATA(mdic);
12192 * Allow some time after each MDIC transaction to avoid
12193 * reading duplicate data in the next MDIC transaction.
12210 uint32_t mdic = 0;
12225 mdic = CSR_READ(sc, WMREG_MDIC);
12226 if (mdic & MDIC_READY)
12230 if ((mdic & MDIC_READY) == 0) {
12232 ("%s: MDIC write timed out: phy %d reg %d\n",
12235 } else if (mdic & MDIC_E) {
12237 ("%s: MDIC write error: phy %d reg %d\n",
12243 * Allow some time after each MDIC transaction to avoid
12244 * reading duplicate data in the next MDIC transaction.
12398 * Wait more 200us for a bug of the ready bit in the MDIC
12457 * Wait more 200us for a bug of the ready bit in the MDIC
17196 * LPLU, Gig disable, MDIC PHY reset):