Lines Matching refs:mdio_write
370 static void mdio_write(void *ioaddr, int RegAddr, int value) in mdio_write() function
427 mdio_write(ioaddr, reg, val & 0xffff); in rtl8169_write_gmii_reg_bit()
563 mdio_write(ioaddr, 31, 0x0001); //w 31 2 0 1 in rtl8169_hw_phy_config()
564 mdio_write(ioaddr, 21, 0x1000); //w 21 15 0 1000 in rtl8169_hw_phy_config()
565 mdio_write(ioaddr, 24, 0x65c7); //w 24 15 0 65c7 in rtl8169_hw_phy_config()
572 mdio_write(ioaddr, pos, val); in rtl8169_hw_phy_config()
574 mdio_write(ioaddr, pos, p->regs[4 - pos] & 0xffff); in rtl8169_hw_phy_config()
578 mdio_write(ioaddr, 31, 0x0000); //w 31 2 0 0 in rtl8169_hw_phy_config()
590 mdio_write(ioaddr, 0, val); in rtl8169_hw_phy_reset()
897 mdio_write(ioaddr, 0x0b, 0x0000); //w 0x0b 15 0 0 in rtl8169_init_one()
934 …mdio_write(ioaddr, PHY_AUTO_NEGO_REG, Cap10_100 | (val & 0x1F)); //leave PHY_AUTO_NEGO_REG bit4:0 … in rtl8169_init_one()
935 mdio_write(ioaddr, PHY_1000_CTRL_REG, Cap1000); in rtl8169_init_one()
941 mdio_write(ioaddr, PHY_AUTO_NEGO_REG, in rtl8169_init_one()
945 mdio_write(ioaddr, PHY_1000_CTRL_REG, in rtl8169_init_one()
951 mdio_write(ioaddr, PHY_CTRL_REG, in rtl8169_init_one()