Lines Matching refs:phy
85 linkStatus = MiiphyLink(ld, priv->phy);
377 duplex = MiiphyDuplex(ld, priv->phy);
378 speed = MiiphySpeed(ld, priv->phy);
392 switch (priv->phy->phyMode) {
400 HDF_LOGE("not supported mode: %d", priv->phy->phyMode);
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));
470 if (!priv->phy->initDone) {
473 priv->phy->initDone = true;
476 priv->phy->phyAddr = g_phyAddrVal;
477 HDF_LOGE("hisi_eth: User set phy addr=%d", priv->phy->phyAddr);
479 id = ScanPhyId(ld, priv->phy->phyAddr);
482 priv->phy->initDone = false;
486 HDF_LOGE("hisi_eth: User did not set phy addr, auto scan...");
498 priv->phy->initDone = false;
502 priv->phy->phyAddr = addr;
509 HiethFephyTrim(ld, priv->phy);
510 HDF_LOGE("Detected phy addr %d, phyid: 0x%x.", priv->phy->phyAddr, ld->phyId);
512 if (!priv->phy->initDone) {
516 HiethGetPhyStat(ld, priv->phy, &phyState);
548 HDF_LOGE("create phy state machine timer failed");
552 HDF_LOGE("start phy state machine timer failed");