Lines Matching refs:phymode
238 static int socfpga_set_phy_mode_common(int phymode, u32 *val) in socfpga_set_phy_mode_common() argument
240 switch (phymode) { in socfpga_set_phy_mode_common()
264 int phymode = socfpga_get_plat_phymode(dwmac); in socfpga_gen5_set_phy_mode() local
269 if (socfpga_set_phy_mode_common(phymode, &val)) { in socfpga_gen5_set_phy_mode()
270 dev_err(dwmac->dev, "bad phy mode %d\n", phymode); in socfpga_gen5_set_phy_mode()
290 phymode == PHY_INTERFACE_MODE_MII || in socfpga_gen5_set_phy_mode()
291 phymode == PHY_INTERFACE_MODE_GMII || in socfpga_gen5_set_phy_mode()
292 phymode == PHY_INTERFACE_MODE_SGMII) { in socfpga_gen5_set_phy_mode()
313 if (phymode == PHY_INTERFACE_MODE_SGMII) { in socfpga_gen5_set_phy_mode()
326 int phymode = socfpga_get_plat_phymode(dwmac); in socfpga_gen10_set_phy_mode() local
331 if (socfpga_set_phy_mode_common(phymode, &val)) in socfpga_gen10_set_phy_mode()
350 phymode == PHY_INTERFACE_MODE_MII || in socfpga_gen10_set_phy_mode()
351 phymode == PHY_INTERFACE_MODE_GMII || in socfpga_gen10_set_phy_mode()
352 phymode == PHY_INTERFACE_MODE_SGMII) { in socfpga_gen10_set_phy_mode()
370 if (phymode == PHY_INTERFACE_MODE_SGMII) { in socfpga_gen10_set_phy_mode()