Lines Matching refs:mac_node
1042 static struct phylink_pcs *memac_pcs_create(struct device_node *mac_node, in memac_pcs_create() argument
1049 node = of_parse_phandle(mac_node, "pcsphy-handle", index); in memac_pcs_create()
1077 struct device_node *mac_node, in memac_initialization() argument
1107 err = of_property_match_string(mac_node, "pcs-handle-names", "xfi"); in memac_initialization()
1109 memac->xfi_pcs = memac_pcs_create(mac_node, err); in memac_initialization()
1119 err = of_property_match_string(mac_node, "pcs-handle-names", "qsgmii"); in memac_initialization()
1121 memac->qsgmii_pcs = memac_pcs_create(mac_node, err); in memac_initialization()
1135 err = of_property_match_string(mac_node, "pcs-handle-names", "sgmii"); in memac_initialization()
1137 pcs = memac_pcs_create(mac_node, 0); in memac_initialization()
1141 pcs = memac_pcs_create(mac_node, err); in memac_initialization()
1158 memac->serdes = devm_of_phy_optional_get(mac_dev->dev, mac_node, in memac_initialization()
1242 fixed = of_get_child_by_name(mac_node, "fixed-link"); in memac_initialization()
1243 if (!fixed && !of_property_read_bool(mac_node, "fixed-link") && in memac_initialization()
1244 !of_property_read_bool(mac_node, "managed") && in memac_initialization()