Searched refs:embd_phy (Results 1 - 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/usb/ |
H A D | sr9800.c | 601 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()
|
H A D | asix_devices.c | 351 int ret, embd_phy; in ax88772_hw_reset() local 359 embd_phy = ((dev->mii.phy_id & 0x1f) == 0x10 ? 1 : 0); in ax88772_hw_reset() 361 ret = asix_write_cmd(dev, AX_CMD_SW_PHY_SELECT, embd_phy, in ax88772_hw_reset() 368 if (embd_phy) { in ax88772_hw_reset() 446 int ret, embd_phy; in ax88772a_hw_reset() local 454 embd_phy = ((dev->mii.phy_id & 0x1f) == 0x10 ? 1 : 0); in ax88772a_hw_reset() 456 ret = asix_write_cmd(dev, AX_CMD_SW_PHY_SELECT, embd_phy | in ax88772a_hw_reset()
|
H A D | ax88172a.c | 145 static int ax88172a_reset_phy(struct usbnet *dev, int embd_phy) in ax88172a_reset_phy() argument 160 ret = asix_sw_reset(dev, embd_phy ? AX_SWRESET_IPRL : AX_SWRESET_IPPD, in ax88172a_reset_phy()
|
/kernel/linux/linux-6.6/drivers/net/usb/ |
H A D | sr9800.c | 601 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 779 embd_phy = ((dev->mii.phy_id & 0x1f) == 0x10 ? 1 : 0); in sr9800_bind() 781 ret = sr_write_cmd(dev, SR_CMD_SW_PHY_SELECT, embd_phy, 0, 0, NULL); in sr9800_bind()
|
H A D | ax88172a.c | 131 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()
|
H A D | asix_devices.c | 386 ret = asix_write_cmd(dev, AX_CMD_SW_PHY_SELECT, priv->embd_phy, in ax88772_hw_reset() 393 if (priv->embd_phy) { in ax88772_hw_reset() 479 ret = asix_write_cmd(dev, AX_CMD_SW_PHY_SELECT, priv->embd_phy | in ax88772a_hw_reset() 721 if (priv->embd_phy) in ax88772_init_phy() 811 if (priv->embd_phy) in ax88772_phylink_setup() 877 priv->embd_phy = ((priv->phy_addr & 0x1f) == AX_EMBD_PHY_ADDR); in ax88772_bind()
|
H A D | asix.h | 192 bool embd_phy; member
|
Completed in 7 milliseconds