Lines Matching defs:role
63 sja1105_mii_role_t role;
219 mii->phy_mac[i] = ports[i].role;
730 if (ports[i].role == XMII_MAC)
789 * So it's a fixed link. Default to PHY role.
791 ports[index].role = XMII_PHY;
793 /* phy-handle present => put port in MAC role */
794 ports[index].role = XMII_MAC;
798 /* The MAC/PHY role can be overridden with explicit bindings */
799 if (of_property_read_bool(child, "sja1105,role-mac"))
800 ports[index].role = XMII_MAC;
801 else if (of_property_read_bool(child, "sja1105,role-phy"))
802 ports[index].role = XMII_PHY;