Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/net/phy/
H A Dmotorcomm.c523 int link_fiber = 0, link_utp = 0; in yt8521_aneg_done() local
532 link_utp = !!(phy_read(phydev, REG_PHY_SPEC_STATUS) & (BIT(YT8521_LINK_STATUS_BIT))); in yt8521_aneg_done()
535 __func__, phydev->mdio.addr, link_fiber, link_utp); in yt8521_aneg_done()
536 return !!(link_fiber | link_utp); in yt8521_aneg_done()
541 int link_utp = 0, link_fiber = 0; in yt8521_read_status() local
559 link_utp = 1; in yt8521_read_status()
562 link_utp = 0; in yt8521_read_status()
600 if (link_utp || link_fiber) { in yt8521_read_status()
604 (link_utp && link_fiber) ? "UNKNOWN MEDIA" : (link_utp ? "UTP" : "Fiber"), in yt8521_read_status()
618 if (link_utp) in yt8521_read_status()