MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / rt_genphy_startup

Function rt_genphy_startup

components/drivers/phy/general.c:340–349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

338}
339
340int rt_genphy_startup(struct rt_phy_device *phydev)
341{
342 int ret;
343
344 ret = rt_genphy_update_link(phydev);
345 if (ret)
346 return ret;
347
348 return rt_genphy_parse_link(phydev);
349}

Callers

nothing calls this directly

Calls 2

rt_genphy_update_linkFunction · 0.85
rt_genphy_parse_linkFunction · 0.85

Tested by

no test coverage detected