Lines Matching refs:mii_id
148 static int bcm_enet_mdio_read(struct bcm_enet_priv *priv, int mii_id, in bcm_enet_mdio_read() argument
155 tmp |= mii_id << ENET_MIIDATA_PHYID_SHIFT; in bcm_enet_mdio_read()
169 static int bcm_enet_mdio_write(struct bcm_enet_priv *priv, int mii_id, in bcm_enet_mdio_write() argument
177 tmp |= mii_id << ENET_MIIDATA_PHYID_SHIFT; in bcm_enet_mdio_write()
187 static int bcm_enet_mdio_read_phylib(struct mii_bus *bus, int mii_id, in bcm_enet_mdio_read_phylib() argument
190 return bcm_enet_mdio_read(bus->priv, mii_id, regnum); in bcm_enet_mdio_read_phylib()
196 static int bcm_enet_mdio_write_phylib(struct mii_bus *bus, int mii_id, in bcm_enet_mdio_write_phylib() argument
199 return bcm_enet_mdio_write(bus->priv, mii_id, regnum, value); in bcm_enet_mdio_write_phylib()
205 static int bcm_enet_mdio_read_mii(struct net_device *dev, int mii_id, in bcm_enet_mdio_read_mii() argument
208 return bcm_enet_mdio_read(netdev_priv(dev), mii_id, regnum); in bcm_enet_mdio_read_mii()
214 static void bcm_enet_mdio_write_mii(struct net_device *dev, int mii_id, in bcm_enet_mdio_write_mii() argument
217 bcm_enet_mdio_write(netdev_priv(dev), mii_id, regnum, value); in bcm_enet_mdio_write_mii()