Lines Matching refs:devname
277 const char *devname; in do_mii() local
322 devname = miiphy_get_current_dev(); in do_mii()
343 if (miiphy_info (devname, j, &oui, &model, &rev) == 0) { in do_mii()
350 miiphy_speed (devname, j), in do_mii()
351 miiphy_is_1000base_x (devname, j) in do_mii()
353 (miiphy_duplex (devname, j) == FULL) in do_mii()
361 if (miiphy_read (devname, addr, reg, &data) != 0) { in do_mii()
379 if (miiphy_write (devname, addr, reg, data) != 0) { in do_mii()
390 if (miiphy_read(devname, addr, in do_mii()
398 if (miiphy_write(devname, addr, in do_mii()
419 if (miiphy_read(devname, addr, reg, ®s[reg]) != 0) { in do_mii()