Searched refs:mii_reg (Results 1 – 1 of 1) sorted by relevance
75 word mii_reg; in smc_read_phy_register() local140 mii_reg = inw( ioaddr+MII_REG ); in smc_read_phy_register()143 mii_reg &= ~(MII_MDOE|MII_MCLK|MII_MDI|MII_MDO); in smc_read_phy_register()149 outw( mii_reg | bits[i], ioaddr+MII_REG ); in smc_read_phy_register()154 outw( mii_reg | bits[i] | MII_MCLK, ioaddr+MII_REG ); in smc_read_phy_register()161 outw( mii_reg, ioaddr+MII_REG ); in smc_read_phy_register()195 word mii_reg; in smc_write_phy_register() local264 mii_reg = inw( ioaddr+MII_REG ); in smc_write_phy_register()267 mii_reg &= ~(MII_MDOE|MII_MCLK|MII_MDI|MII_MDO); in smc_write_phy_register()273 outw( mii_reg | bits[i], ioaddr+MII_REG ); in smc_write_phy_register()[all …]