Lines Matching refs:mii_reg
764 unsigned int mii_reg, mask; in smc_mii_out() local
766 mii_reg = SMC_GET_MII(lp) & ~(MII_MCLK | MII_MDOE | MII_MDO); in smc_mii_out()
767 mii_reg |= MII_MDOE; in smc_mii_out()
771 mii_reg |= MII_MDO; in smc_mii_out()
773 mii_reg &= ~MII_MDO; in smc_mii_out()
775 SMC_SET_MII(lp, mii_reg); in smc_mii_out()
777 SMC_SET_MII(lp, mii_reg | MII_MCLK); in smc_mii_out()
786 unsigned int mii_reg, mask, val; in smc_mii_in() local
788 mii_reg = SMC_GET_MII(lp) & ~(MII_MCLK | MII_MDOE | MII_MDO); in smc_mii_in()
789 SMC_SET_MII(lp, mii_reg); in smc_mii_in()
795 SMC_SET_MII(lp, mii_reg); in smc_mii_in()
797 SMC_SET_MII(lp, mii_reg | MII_MCLK); in smc_mii_in()