Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/dlink/
Ddl2k.c85 static int mii_write (struct net_device *dev, int phy_addr, int reg_num,
540 mii_write(dev, np->phy_addr, 31, 0x0001); in rio_hw_init()
541 mii_write(dev, np->phy_addr, 27, 0x01e0); in rio_hw_init()
542 mii_write(dev, np->phy_addr, 31, 0x0002); in rio_hw_init()
543 mii_write(dev, np->phy_addr, 27, 0xeb8e); in rio_hw_init()
544 mii_write(dev, np->phy_addr, 31, 0x0000); in rio_hw_init()
545 mii_write(dev, np->phy_addr, 30, 0x005e); in rio_hw_init()
547 mii_write(dev, np->phy_addr, MII_CTRL1000, 0x0700); in rio_hw_init()
1356 mii_write (dev, phy_addr, miidata->reg_num, miidata->val_in); in rio_ioctl()
1454 mii_write (struct net_device *dev, int phy_addr, int reg_num, u16 data) in mii_write() function
[all …]
/linux-6.12.1/arch/mips/include/asm/mach-bcm63xx/
Dbcm63xx_dev_enet.h41 void (*mii_write)(struct net_device *dev,
/linux-6.12.1/drivers/net/ethernet/sun/
Dniu.c368 static int mii_write(struct niu *np, int port, int reg, int data) in mii_write() function
1650 err = mii_write(np, np->phy_addr, MII_BMCR, BMCR_RESET); in mii_reset()
1700 err = mii_write(np, np->phy_addr, MII_BMCR, bmcr); in xcvr_init_1g_rgmii()
1709 err = mii_write(np, np->phy_addr, MII_CTRL1000, ctrl1000); in xcvr_init_1g_rgmii()
1716 err = mii_write(np, np->phy_addr, MII_BMCR, bmcr); in xcvr_init_1g_rgmii()
1756 err = mii_write(np, np->phy_addr, MII_BMCR, bmcr); in mii_init_common()
1773 err = mii_write(np, np->phy_addr, BCM5464R_AUX_CTL, aux); in mii_init_common()
1794 err = mii_write(np, np->phy_addr, MII_ADVERTISE, adv); in mii_init_common()
1806 err = mii_write(np, np->phy_addr, in mii_init_common()
1845 err = mii_write(np, np->phy_addr, MII_BMCR, bmcr); in mii_init_common()