Lines Matching full:mii
384 struct mii_bus *mii; in mdio_i2c_alloc() local
390 mii = mdiobus_alloc(); in mdio_i2c_alloc()
391 if (!mii) in mdio_i2c_alloc()
394 snprintf(mii->id, MII_BUS_ID_SIZE, "i2c:%s", dev_name(parent)); in mdio_i2c_alloc()
395 mii->parent = parent; in mdio_i2c_alloc()
396 mii->priv = i2c; in mdio_i2c_alloc()
405 mdiobus_free(mii); in mdio_i2c_alloc()
409 mii->read_c45 = i2c_mii_read_rollball; in mdio_i2c_alloc()
410 mii->write_c45 = i2c_mii_write_rollball; in mdio_i2c_alloc()
413 mii->read = i2c_mii_read_default_c22; in mdio_i2c_alloc()
414 mii->write = i2c_mii_write_default_c22; in mdio_i2c_alloc()
415 mii->read_c45 = i2c_mii_read_default_c45; in mdio_i2c_alloc()
416 mii->write_c45 = i2c_mii_write_default_c45; in mdio_i2c_alloc()
420 return mii; in mdio_i2c_alloc()