Lines Matching refs:mii_reg
765 unsigned int mii_reg, mask; in smc_mii_out() local
767 mii_reg = SMC_GET_MII(lp) & ~(MII_MCLK | MII_MDOE | MII_MDO); in smc_mii_out()
768 mii_reg |= MII_MDOE; in smc_mii_out()
772 mii_reg |= MII_MDO; in smc_mii_out()
774 mii_reg &= ~MII_MDO; in smc_mii_out()
776 SMC_SET_MII(lp, mii_reg); in smc_mii_out()
778 SMC_SET_MII(lp, mii_reg | MII_MCLK); in smc_mii_out()
787 unsigned int mii_reg, mask, val; in smc_mii_in() local
789 mii_reg = SMC_GET_MII(lp) & ~(MII_MCLK | MII_MDOE | MII_MDO); in smc_mii_in()
790 SMC_SET_MII(lp, mii_reg); in smc_mii_in()
796 SMC_SET_MII(lp, mii_reg); in smc_mii_in()
798 SMC_SET_MII(lp, mii_reg | MII_MCLK); in smc_mii_in()