Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/usb/
H A 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
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 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()
H A Dasix_devices.c386 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 Dasix.h192 bool embd_phy; member
/openbmc/u-boot/drivers/usb/eth/
H A Dasix.c364 int embd_phy; in asix_basic_reset() local
372 embd_phy = ((asix_get_phy_addr(dev) & 0x1f) == 0x10 ? 1 : 0); in asix_basic_reset()
374 embd_phy, 0, 0, NULL) < 0) { in asix_basic_reset()
385 if (embd_phy) { in asix_basic_reset()