Searched refs:embd_phy (Results 1 – 4 of 4) sorted by relevance
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/u-boot/drivers/usb/eth/ |
| H A D | asix.c | 365 int embd_phy; in asix_basic_reset() local 373 embd_phy = ((asix_get_phy_addr(dev) & 0x1f) == 0x10 ? 1 : 0); in asix_basic_reset() 375 embd_phy, 0, 0, NULL) < 0) { in asix_basic_reset() 386 if (embd_phy) { in asix_basic_reset()
|