Lines Matching refs:phymode
238 static int socfpga_set_phy_mode_common(int phymode, u32 *val)
240 switch (phymode) {
264 int phymode = socfpga_get_plat_phymode(dwmac);
269 if (socfpga_set_phy_mode_common(phymode, &val)) {
270 dev_err(dwmac->dev, "bad phy mode %d\n", phymode);
274 /* Overwrite val to GMII if splitter core is enabled. The phymode here
290 phymode == PHY_INTERFACE_MODE_MII ||
291 phymode == PHY_INTERFACE_MODE_GMII ||
292 phymode == PHY_INTERFACE_MODE_SGMII) {
313 if (phymode == PHY_INTERFACE_MODE_SGMII) {
326 int phymode = socfpga_get_plat_phymode(dwmac);
331 if (socfpga_set_phy_mode_common(phymode, &val))
334 /* Overwrite val to GMII if splitter core is enabled. The phymode here
350 phymode == PHY_INTERFACE_MODE_MII ||
351 phymode == PHY_INTERFACE_MODE_GMII ||
352 phymode == PHY_INTERFACE_MODE_SGMII) {
370 if (phymode == PHY_INTERFACE_MODE_SGMII) {