Lines Matching refs:phy_id
177 static int sr_mdio_read(struct net_device *netdev, int phy_id, int loc)
183 if (phy_id) {
202 netdev_dbg(netdev, "sr_mdio_read() phy_id=0x%02x, loc=0x%02x, returns=0x%04x\n",
203 phy_id, loc, res);
208 static void sr_mdio_write(struct net_device *netdev, int phy_id, int loc,
214 if (phy_id) {
219 netdev_dbg(netdev, "sr_mdio_write() phy_id=0x%02x, loc=0x%02x, val=0x%04x\n",
220 phy_id, loc, val);
372 sr_mdio_write(netdev, mii->phy_id, MII_BMCR, BMCR_RESET);
373 sr_mdio_write(netdev, mii->phy_id, MII_ADVERTISE, ADVERTISE_ALL |