Lines Matching refs:phy_id
221 static int smsc95xx_mdio_read(struct usb_device *udev, int phy_id, int idx) in smsc95xx_mdio_read() argument
232 addr = (phy_id << 11) | (idx << 6) | MII_READ_; in smsc95xx_mdio_read()
245 static void smsc95xx_mdio_write(struct usb_device *udev, int phy_id, int idx, in smsc95xx_mdio_write() argument
260 addr = (phy_id << 11) | (idx << 6) | MII_WRITE_; in smsc95xx_mdio_write()
338 bmcr = smsc95xx_mdio_read(udev, dev->phy_id, MII_BMCR); in mii_nway_restart()
342 smsc95xx_mdio_write(udev, dev->phy_id, MII_BMCR, bmcr); in mii_nway_restart()
351 smsc95xx_mdio_write(udev, dev->phy_id, MII_BMCR, BMCR_RESET); in smsc95xx_phy_initialize()
352 smsc95xx_mdio_write(udev, dev->phy_id, MII_ADVERTISE, in smsc95xx_phy_initialize()
357 smsc95xx_mdio_read(udev, dev->phy_id, PHY_INT_SRC); in smsc95xx_phy_initialize()
359 smsc95xx_mdio_write(udev, dev->phy_id, PHY_INT_MASK, in smsc95xx_phy_initialize()
486 dev->phy_id = SMSC95XX_INTERNAL_PHY_ID; /* fixed phy id */ in smsc95xx_init_common()
659 link_detected = smsc95xx_mdio_read(udev, dev->phy_id, MII_BMSR) in smsc95xx_init_common()