Lines Matching refs:mdio_write
50 static void mdio_write(void *ioaddr, int reg_addr, int value) in mdio_write() function
95 mdio_write(ioaddr, reg_addr, mdio_read(ioaddr, reg_addr) | value); in mdio_patch()
223 mdio_write(ioaddr, MII_BMCR, val & 0xffff); in rtl8169_xmii_reset_enable()
314 mdio_write(ioaddr, 0x1f, 0x0000); in rtl8169_set_speed_xmii()
315 mdio_write(ioaddr, 0x0e, 0x0000); in rtl8169_set_speed_xmii()
321 mdio_write(ioaddr, MII_ADVERTISE, auto_nego); in rtl8169_set_speed_xmii()
322 mdio_write(ioaddr, MII_CTRL1000, giga_ctrl); in rtl8169_set_speed_xmii()
323 mdio_write(ioaddr, MII_BMCR, BMCR_ANENABLE | BMCR_ANRESTART); in rtl8169_set_speed_xmii()
350 mdio_write(ioaddr, reg, val & 0xffff); in rtl8169_write_gmii_reg_bit()
445 mdio_write(ioaddr, regs->reg, regs->val); in rtl_phy_write()
486 mdio_write(ioaddr, 0x1f, 0x0001); //w 31 2 0 1 in rtl8169s_hw_phy_config()
487 mdio_write(ioaddr, 0x15, 0x1000); //w 21 15 0 1000 in rtl8169s_hw_phy_config()
488 mdio_write(ioaddr, 0x18, 0x65c7); //w 24 15 0 65c7 in rtl8169s_hw_phy_config()
495 mdio_write(ioaddr, pos, val); in rtl8169s_hw_phy_config()
497 mdio_write(ioaddr, pos, p->regs[4 - pos] & 0xffff); in rtl8169s_hw_phy_config()
501 mdio_write(ioaddr, 0x1f, 0x0000); //w 31 2 0 0 in rtl8169s_hw_phy_config()
524 mdio_write(ioaddr, 0x1f, 0x0001); in rtl8168bb_hw_phy_config()
570 mdio_write(ioaddr, 0x1f, 0x0000); in rtl8168cp_2_hw_phy_config()
605 mdio_write(ioaddr, 0x1f, 0x0000); in rtl8168c_1_hw_phy_config()
635 mdio_write(ioaddr, 0x1f, 0x0000); in rtl8168c_2_hw_phy_config()
659 mdio_write(ioaddr, 0x1f, 0x0000); in rtl8168c_3_hw_phy_config()
738 mdio_write(ioaddr, 0x1f, 0x0000); in rtl8168d_hw_phy_config()
752 mdio_write(ioaddr, 0x1f, 0x0000); in rtl8102e_hw_phy_config()
859 mdio_write(ioaddr, 0x0b, 0x0000); //w 0x0b 15 0 0 in rtl8169_init_phy()