Searched refs:rdreg (Results 1 – 3 of 3) sorted by relevance
234 unsigned short rdreg; /* register working value */ in bb_miiphy_read() local271 rdreg = 0; in bb_miiphy_read()275 rdreg <<= 1; in bb_miiphy_read()277 rdreg |= (v & 0x1); in bb_miiphy_read()290 printf("miiphy_read(0x%x) @ 0x%x = 0x%04x\n", reg, addr, rdreg); in bb_miiphy_read()293 return rdreg; in bb_miiphy_read()
281 short rdreg; /* register working value */ in mcffec_miiphy_read() local286 rdreg = mii_send(mk_mii_read(addr, reg)); in mcffec_miiphy_read()289 printf("0x%04x\n", rdreg); in mcffec_miiphy_read()292 return rdreg; in mcffec_miiphy_read()
837 short rdreg; /* register working value */ in fec8xx_miiphy_read() local839 rdreg = mii_send(mk_mii_read(addr, reg)); in fec8xx_miiphy_read()841 value = rdreg; in fec8xx_miiphy_read()