Searched refs:smi_wrapper (Results 1 – 1 of 1) sorted by relevance
348 static int mv88e61xx_phy_read_indirect(struct mii_dev *smi_wrapper, int dev, in mv88e61xx_phy_read_indirect() argument354 phydev = (struct phy_device *)smi_wrapper->priv; in mv88e61xx_phy_read_indirect()371 static int mv88e61xx_phy_write_indirect(struct mii_dev *smi_wrapper, int dev, in mv88e61xx_phy_write_indirect() argument377 phydev = (struct phy_device *)smi_wrapper->priv; in mv88e61xx_phy_write_indirect()853 struct mii_dev *smi_wrapper; in mv88e61xx_probe() local872 smi_wrapper = mdio_alloc(); in mv88e61xx_probe()873 if (!smi_wrapper) { in mv88e61xx_probe()895 smi_wrapper->priv = phydev; in mv88e61xx_probe()896 strncpy(smi_wrapper->name, "indirect mii", sizeof(smi_wrapper->name)); in mv88e61xx_probe()897 smi_wrapper->read = mv88e61xx_phy_read_indirect; in mv88e61xx_probe()[all …]