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()
282 short rdreg; /* register working value */ in mcffec_miiphy_read() local287 rdreg = mii_send(mk_mii_read(addr, reg)); in mcffec_miiphy_read()290 printf("0x%04x\n", rdreg); in mcffec_miiphy_read()293 return rdreg; in mcffec_miiphy_read()
838 short rdreg; /* register working value */ in fec8xx_miiphy_read() local840 rdreg = mii_send(mk_mii_read(addr, reg)); in fec8xx_miiphy_read()842 value = rdreg; in fec8xx_miiphy_read()