Lines Matching refs:dpmac_node
135 static int dpaa2_mac_get_if_mode(struct fwnode_handle *dpmac_node, in dpaa2_mac_get_if_mode() argument
141 err = fwnode_get_phy_mode(dpmac_node); in dpaa2_mac_get_if_mode()
252 struct fwnode_handle *dpmac_node, in dpaa2_pcs_create() argument
258 node = fwnode_find_reference(dpmac_node, "pcs-handle", 0); in dpaa2_pcs_create()
365 struct fwnode_handle *dpmac_node; in dpaa2_mac_connect() local
372 dpmac_node = mac->fw_node; in dpaa2_mac_connect()
373 if (!dpmac_node) { in dpaa2_mac_connect()
378 err = dpaa2_mac_get_if_mode(dpmac_node, mac->attr); in dpaa2_mac_connect()
385 is_of_node(dpmac_node)) { in dpaa2_mac_connect()
386 serdes_phy = of_phy_get(to_of_node(dpmac_node), NULL); in dpaa2_mac_connect()
401 if (of_phy_is_fixed_link(to_of_node(dpmac_node)) && in dpaa2_mac_connect()
412 err = dpaa2_pcs_create(mac, dpmac_node, mac->attr.id); in dpaa2_mac_connect()
428 dpmac_node, mac->if_mode, in dpaa2_mac_connect()
437 err = phylink_fwnode_phy_connect(mac->phylink, dpmac_node, 0); in dpaa2_mac_connect()