Lines Matching refs:mac_node
1038 static struct phylink_pcs *memac_pcs_create(struct device_node *mac_node, in memac_pcs_create() argument
1044 node = of_parse_phandle(mac_node, "pcsphy-handle", index); in memac_pcs_create()
1067 struct device_node *mac_node, in memac_initialization() argument
1105 err = of_property_match_string(mac_node, "pcs-handle-names", "xfi"); in memac_initialization()
1107 memac->xfi_pcs = memac_pcs_create(mac_node, err); in memac_initialization()
1117 err = of_property_match_string(mac_node, "pcs-handle-names", "qsgmii"); in memac_initialization()
1119 memac->qsgmii_pcs = memac_pcs_create(mac_node, err); in memac_initialization()
1133 err = of_property_match_string(mac_node, "pcs-handle-names", "sgmii"); in memac_initialization()
1135 pcs = memac_pcs_create(mac_node, 0); in memac_initialization()
1139 pcs = memac_pcs_create(mac_node, err); in memac_initialization()
1156 memac->serdes = devm_of_phy_optional_get(mac_dev->dev, mac_node, in memac_initialization()
1232 fixed = of_get_child_by_name(mac_node, "fixed-link"); in memac_initialization()
1233 if (!fixed && !of_property_read_bool(mac_node, "fixed-link") && in memac_initialization()
1234 !of_property_read_bool(mac_node, "managed") && in memac_initialization()