Lines Matching defs:phyMode
373 int32_t phyMode = 0;
392 switch (priv->phy->phyMode) {
394 phyMode = HIETH_PHY_MII_MODE;
397 phyMode = HIETH_PHY_RMII_MODE;
400 HDF_LOGE("not supported mode: %d", priv->phy->phyMode);
405 HiethSetMiiMode(ld, phyMode);
432 int32_t HisiEthSetPhyMode(const char *phyMode)
437 if (!strcasecmp(phyMode, PhyModes(i))) {
463 priv->phy->phyMode = g_phyModeVal;
464 HDF_LOGE("hisi_eth: User set phy mode=%s", PhyModes(priv->phy->phyMode));
466 priv->phy->phyMode = ld->phyMode;
467 HDF_LOGE("hisi_eth: User did not set phy mode, use default=%s", PhyModes(priv->phy->phyMode));
605 g_stHiethPlatformData[0].stNetdevLocal.phyMode = config->ethPhy.phyMode;