Home
last modified time | relevance | path

Searched refs:embd_phy (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.15/drivers/net/usb/
Dsr9800.c601 int ret, embd_phy; in sr9800_reset() local
609 embd_phy = ((sr_get_phy_addr(dev) & 0x1f) == 0x10 ? 1 : 0); in sr9800_reset()
611 ret = sr_write_cmd(dev, SR_CMD_SW_PHY_SELECT, embd_phy, 0, 0, NULL); in sr9800_reset()
629 if (embd_phy) { in sr9800_reset()
733 int ret, embd_phy; in sr9800_bind() local
776 embd_phy = ((dev->mii.phy_id & 0x1f) == 0x10 ? 1 : 0); in sr9800_bind()
778 ret = sr_write_cmd(dev, SR_CMD_SW_PHY_SELECT, embd_phy, 0, 0, NULL); in sr9800_bind()
Dax88172a.c131 static int ax88172a_reset_phy(struct usbnet *dev, int embd_phy) in ax88172a_reset_phy() argument
146 ret = asix_sw_reset(dev, embd_phy ? AX_SWRESET_IPRL : AX_SWRESET_IPPD, in ax88172a_reset_phy()
Dasix.h187 bool embd_phy; member
Dasix_devices.c366 ret = asix_write_cmd(dev, AX_CMD_SW_PHY_SELECT, priv->embd_phy, in ax88772_hw_reset()
373 if (priv->embd_phy) { in ax88772_hw_reset()
460 ret = asix_write_cmd(dev, AX_CMD_SW_PHY_SELECT, priv->embd_phy | in ax88772a_hw_reset()
756 priv->embd_phy = ((priv->phy_addr & 0x1f) == 0x10); in ax88772_bind()