Home
last modified time | relevance | path

Searched refs:smi_wrapper (Results 1 – 1 of 1) sorted by relevance

/openbmc/u-boot/drivers/net/phy/
H A Dmv88e61xx.c347 static int mv88e61xx_phy_read_indirect(struct mii_dev *smi_wrapper, int dev, in mv88e61xx_phy_read_indirect() argument
353 phydev = (struct phy_device *)smi_wrapper->priv; in mv88e61xx_phy_read_indirect()
376 phydev = (struct phy_device *)smi_wrapper->priv; in mv88e61xx_phy_write_indirect()
861 struct mii_dev *smi_wrapper; in mv88e61xx_probe() local
880 smi_wrapper = mdio_alloc(); in mv88e61xx_probe()
881 if (!smi_wrapper) { in mv88e61xx_probe()
903 smi_wrapper->priv = phydev; in mv88e61xx_probe()
904 strncpy(smi_wrapper->name, "indirect mii", sizeof(smi_wrapper->name)); in mv88e61xx_probe()
905 smi_wrapper->read = mv88e61xx_phy_read_indirect; in mv88e61xx_probe()
906 smi_wrapper->write = mv88e61xx_phy_write_indirect; in mv88e61xx_probe()
[all …]