Lines Matching refs:mii_if
270 struct mii_if_info mii_if; member
293 int negotiated = mii_lpa & sdc->mii_if.advertising; in check_duplex()
298 if (sdc->mii_if.full_duplex) in check_duplex()
306 if (sdc->mii_if.full_duplex != duplex) { in check_duplex()
307 sdc->mii_if.full_duplex = duplex; in check_duplex()
619 sdc->mii_if.advertising = in sundance_probe()
624 …ss %d, status " "%hX advertising %hX\n", sdc->nic_name, phy, mii_status, sdc->mii_if.advertising ); in sundance_probe()
631 sdc->mii_if.phy_id = sdc->phys[0]; in sundance_probe()
641 sdc->mii_if.full_duplex = 1; in sundance_probe()
645 sdc->mii_if.full_duplex = 0; in sundance_probe()
649 sdc->mii_if.full_duplex = 1; in sundance_probe()
653 sdc->mii_if.full_duplex = 0; in sundance_probe()
666 sdc->mii_if.full_duplex = 1; in sundance_probe()
679 mii_ctl |= (sdc->mii_if.full_duplex) ? BMCR_FULLDPLX : 0; in sundance_probe()
683 sdc->mii_if.full_duplex ? "Full" : "Half"); in sundance_probe()
731 if (sdc->flowctrl && sdc->mii_if.full_duplex) { in sundance_probe()
737 sdc->mii_if.full_duplex ? "Full" : "Half"); in sundance_probe()
872 if (sdc->mii_if.full_duplex && sdc->flowctrl) in set_rx_mode()