Searched refs:if_str (Results 1 – 4 of 4) sorted by relevance
187 const char *if_str; in dm_eth_phy_connect() local199 if_str = dev_read_string(ethdev, phy_mode_str[i]); in dm_eth_phy_connect()200 if (if_str) { in dm_eth_phy_connect()201 interface = phy_get_interface_by_name(if_str); in dm_eth_phy_connect()
991 const char *if_str; in fixed_phy_create() local994 if_str = ofnode_read_string(node, "phy-mode"); in fixed_phy_create()995 if (!if_str) { in fixed_phy_create()996 if_str = ofnode_read_string(node, "phy-interface-type"); in fixed_phy_create()998 if (if_str) { in fixed_phy_create()999 interface = phy_get_interface_by_name(if_str); in fixed_phy_create()
242 const char *if_str; in enetc_start_pcs() local261 if_str = ofnode_read_string(dev_ofnode(dev), "phy-mode"); in enetc_start_pcs()262 if (if_str) in enetc_start_pcs()263 priv->if_type = phy_get_interface_by_name(if_str); in enetc_start_pcs()
958 const char *if_str; in fman_read_sys_if() local960 if_str = ofnode_read_string(dev_ofnode(dev), "phy-connection-type"); in fman_read_sys_if()961 debug("MAC system interface mode %s\n", if_str); in fman_read_sys_if()963 return phy_get_interface_by_name(if_str); in fman_read_sys_if()
Completed in 24 milliseconds