Lines Matching defs:phy_id
176 static int sr_mdio_read(struct net_device *netdev, int phy_id, int loc)
182 if (phy_id) {
201 netdev_dbg(netdev, "sr_mdio_read() phy_id=0x%02x, loc=0x%02x, returns=0x%04x\n",
202 phy_id, loc, res);
207 static void sr_mdio_write(struct net_device *netdev, int phy_id, int loc,
213 if (phy_id) {
218 netdev_dbg(netdev, "sr_mdio_write() phy_id=0x%02x, loc=0x%02x, val=0x%04x\n",
219 phy_id, loc, val);
369 sr_mdio_write(netdev, mii->phy_id, MII_BMCR, BMCR_RESET);
370 sr_mdio_write(netdev, mii->phy_id, MII_ADVERTISE, ADVERTISE_ALL |