Home
last modified time | relevance | path

Searched refs:mii_write (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/dlink/
Ddl2k.c85 static int mii_write (struct net_device *dev, int phy_addr, int reg_num,
541 mii_write(dev, np->phy_addr, 31, 0x0001); in rio_hw_init()
542 mii_write(dev, np->phy_addr, 27, 0x01e0); in rio_hw_init()
543 mii_write(dev, np->phy_addr, 31, 0x0002); in rio_hw_init()
544 mii_write(dev, np->phy_addr, 27, 0xeb8e); in rio_hw_init()
545 mii_write(dev, np->phy_addr, 31, 0x0000); in rio_hw_init()
546 mii_write(dev, np->phy_addr, 30, 0x005e); in rio_hw_init()
548 mii_write(dev, np->phy_addr, MII_CTRL1000, 0x0700); in rio_hw_init()
1360 mii_write (dev, phy_addr, miidata->reg_num, miidata->val_in); in rio_ioctl()
1458 mii_write (struct net_device *dev, int phy_addr, int reg_num, u16 data) in mii_write() function
[all …]
/Linux-v5.10/arch/mips/include/asm/mach-bcm63xx/
Dbcm63xx_dev_enet.h41 void (*mii_write)(struct net_device *dev,
/Linux-v5.10/drivers/net/ethernet/sun/
Dniu.c349 static int mii_write(struct niu *np, int port, int reg, int data) in mii_write() function
1631 err = mii_write(np, np->phy_addr, MII_BMCR, BMCR_RESET); in mii_reset()
1681 err = mii_write(np, np->phy_addr, MII_BMCR, bmcr); in xcvr_init_1g_rgmii()
1690 err = mii_write(np, np->phy_addr, MII_CTRL1000, ctrl1000); in xcvr_init_1g_rgmii()
1697 err = mii_write(np, np->phy_addr, MII_BMCR, bmcr); in xcvr_init_1g_rgmii()
1737 err = mii_write(np, np->phy_addr, MII_BMCR, bmcr); in mii_init_common()
1754 err = mii_write(np, np->phy_addr, BCM5464R_AUX_CTL, aux); in mii_init_common()
1775 err = mii_write(np, np->phy_addr, MII_ADVERTISE, adv); in mii_init_common()
1787 err = mii_write(np, np->phy_addr, in mii_init_common()
1826 err = mii_write(np, np->phy_addr, MII_BMCR, bmcr); in mii_init_common()