Lines Matching refs:phy_dev
889 static struct rt_phy_device *phy_dev = RT_NULL; variable
898 phy_dev = (struct rt_phy_device *)rt_device_find("rtl8211f"); in phy_monitor_thread_entry()
899 if ((RT_NULL == phy_dev) || (RT_NULL == phy_dev->ops)) in phy_monitor_thread_entry()
906 phy_dev = (struct rt_phy_device *)rt_device_find("ksz8081"); in phy_monitor_thread_entry()
907 if ((RT_NULL == phy_dev) || (RT_NULL == phy_dev->ops)) in phy_monitor_thread_entry()
915 phy_dev = (struct rt_phy_device *)rt_device_find("ksz8081"); in phy_monitor_thread_entry()
916 if ((RT_NULL == phy_dev) || (RT_NULL == phy_dev->ops)) in phy_monitor_thread_entry()
924 if (RT_NULL == phy_dev->ops->init) in phy_monitor_thread_entry()
931 …rt_phy_status status = phy_dev->ops->init(imxrt_eth_device.enet_base, PHY_RTL8211F_ADDRESS, CLOCK_… in phy_monitor_thread_entry()
933 …rt_phy_status status = phy_dev->ops->init(imxrt_eth_device.enet_base, PHY_KSZ8081_ADDRESS, CLOCK_G… in phy_monitor_thread_entry()
936 …rt_phy_status status = phy_dev->ops->init(imxrt_eth_device.enet_base, PHY_KSZ8081_ADDRESS, CLOCK_G… in phy_monitor_thread_entry()
947 rt_phy_status status = phy_dev->ops->get_link_status(&new_link); in phy_monitor_thread_entry()
955 phy_dev->ops->get_link_speed_duplex(&speed, &duplex); in phy_monitor_thread_entry()
1103 rt_phy_status status = phy_dev->ops->read(phy_reg, &data); in phy_read()
1116 rt_phy_status status = phy_dev->ops->write(phy_reg, data); in phy_write()
1135 status = phy_dev->ops->read(i, &data); in phy_dump()