Lines Matching refs:miiphy_read
234 int miiphy_read(const char *devname, unsigned char addr, unsigned char reg, in miiphy_read() function
313 if (miiphy_read(devname, addr, MII_PHYSID2, &tmp) != 0) { in miiphy_info()
326 if (miiphy_read(devname, addr, MII_PHYSID1, &tmp) != 0) { in miiphy_info()
354 if (miiphy_read(devname, addr, MII_BMCR, ®) != 0) { in miiphy_reset()
372 if (miiphy_read(devname, addr, MII_BMCR, ®) != 0) { in miiphy_reset()
410 if (miiphy_read(devname, addr, MII_STAT1000, &btsr)) { in miiphy_speed()
420 if (miiphy_read(devname, addr, MII_BMCR, &bmcr)) { in miiphy_speed()
427 if (miiphy_read(devname, addr, MII_LPA, &anlpar)) { in miiphy_speed()
432 if (miiphy_read(devname, addr, MII_ADVERTISE, &adv)) { in miiphy_speed()
460 if (miiphy_read(devname, addr, MII_LPA, &anlpar)) { in miiphy_duplex()
469 if (miiphy_read(devname, addr, MII_STAT1000, &btsr)) { in miiphy_duplex()
483 if (miiphy_read(devname, addr, MII_BMCR, &bmcr)) { in miiphy_duplex()
490 if (miiphy_read(devname, addr, MII_LPA, &anlpar)) { in miiphy_duplex()
495 if (miiphy_read(devname, addr, MII_ADVERTISE, &adv)) { in miiphy_duplex()
520 if (miiphy_read(devname, addr, MII_ESTATUS, &exsr)) { in miiphy_is_1000base_x()
541 (void)miiphy_read(devname, addr, MII_BMSR, ®); in miiphy_link()
542 if (miiphy_read(devname, addr, MII_BMSR, ®)) { in miiphy_link()