Home
last modified time | relevance | path

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

/drivers/of/
Dof_mdio.c292 const __be32 *fixed_link_prop; in of_phy_register_fixed_link() local
323 fixed_link_prop = of_get_property(np, "fixed-link", &len); in of_phy_register_fixed_link()
324 if (fixed_link_prop && len == (5 * sizeof(__be32))) { in of_phy_register_fixed_link()
326 status.duplex = be32_to_cpu(fixed_link_prop[1]); in of_phy_register_fixed_link()
327 status.speed = be32_to_cpu(fixed_link_prop[2]); in of_phy_register_fixed_link()
328 status.pause = be32_to_cpu(fixed_link_prop[3]); in of_phy_register_fixed_link()
329 status.asym_pause = be32_to_cpu(fixed_link_prop[4]); in of_phy_register_fixed_link()