Searched refs:mii_read (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/net/ethernet/dlink/ |
H A D | dl2k.c | 84 static int mii_read (struct net_device *dev, int phy_addr, int reg_num); 312 int mii_status = mii_read (dev, i, 1); in find_miiphy() 1352 miidata->val_out = mii_read (dev, phy_addr, miidata->reg_num); in rio_ioctl() 1427 mii_read (struct net_device *dev, int phy_addr, int reg_num) in mii_read() function 1480 bmsr = mii_read (dev, phy_addr, MII_BMSR); in mii_wait_link() 1500 bmsr = mii_read (dev, phy_addr, MII_BMSR); in mii_get_media() 1506 negotiate = mii_read (dev, phy_addr, MII_ADVERTISE) & in mii_get_media() 1507 mii_read (dev, phy_addr, MII_LPA); in mii_get_media() 1508 mscr = mii_read (dev, phy_addr, MII_CTRL1000); in mii_get_media() 1509 mssr = mii_read (dev, phy_addr, MII_STAT1000); in mii_get_media() [all …]
|
/openbmc/u-boot/drivers/net/ |
H A D | mtk_eth.c | 155 int (*mii_read)(struct mtk_eth_priv *priv, u8 phy, u8 reg); member 321 return priv->mii_read(priv, addr, MII_MMD_ADDR_DATA_REG); in mtk_mmd_ind_read() 354 return priv->mii_read(priv, addr, reg); in mtk_mdio_read() 382 priv->mii_read = mtk_mii_read; in mtk_mdio_register() 388 priv->mii_read = mtk_mii_read; in mtk_mdio_register() 577 phy_val = priv->mii_read(priv, phy_addr, MII_BMCR); in mt7530_setup() 628 phy_val = priv->mii_read(priv, phy_addr, MII_BMCR); in mt7530_setup()
|
/openbmc/linux/arch/mips/include/asm/mach-bcm63xx/ |
H A D | bcm63xx_dev_enet.h | 39 int (*mii_read)(struct net_device *dev,
|
/openbmc/u-boot/doc/ |
H A D | README.drivers.eth | 207 And then define the mii_read and mii_write functions if you haven't already. 209 int mii_read(struct mii_dev *bus, int addr, int devad, int reg);
|
/openbmc/linux/drivers/net/ethernet/sun/ |
H A D | niu.c | 362 static int mii_read(struct niu *np, int port, int reg) in mii_read() function 1119 err = mii_read(np, np->phy_addr, MII_BMCR); in link_status_mii() 1124 err = mii_read(np, np->phy_addr, MII_BMSR); in link_status_mii() 1129 err = mii_read(np, np->phy_addr, MII_ADVERTISE); in link_status_mii() 1134 err = mii_read(np, np->phy_addr, MII_LPA); in link_status_mii() 1140 err = mii_read(np, np->phy_addr, MII_ESTATUS); in link_status_mii() 1145 err = mii_read(np, np->phy_addr, MII_CTRL1000); in link_status_mii() 1150 err = mii_read(np, np->phy_addr, MII_STAT1000); in link_status_mii() 1239 err = mii_read(np, np->phy_addr, MII_BMSR); in link_status_1g_rgmii() 1657 err = mii_read(np, np->phy_addr, MII_BMCR); in mii_reset() [all …]
|