Searched refs:mii_control (Results 1 – 4 of 4) sorted by relevance
/drivers/net/ethernet/amd/ |
D | au1000_eth.c | 272 u32 *const mii_control_reg = &aup->mac->mii_control; in au1000_mdio_read() 275 u32 mii_control; in au1000_mdio_read() local 285 mii_control = MAC_SET_MII_SELECT_REG(reg) | in au1000_mdio_read() 288 writel(mii_control, mii_control_reg); in au1000_mdio_read() 305 u32 *const mii_control_reg = &aup->mac->mii_control; in au1000_mdio_write() 308 u32 mii_control; in au1000_mdio_write() local 318 mii_control = MAC_SET_MII_SELECT_REG(reg) | in au1000_mdio_write() 322 writel(mii_control, mii_control_reg); in au1000_mdio_write()
|
D | au1000_eth.h | 62 u32 mii_control; member
|
/drivers/net/ethernet/nvidia/ |
D | forcedeth.c | 1391 u32 mii_status, mii_control, mii_control_1000, reg; in phy_init() local 1461 mii_control = mii_rw(dev, np->phyaddr, MII_BMCR, MII_READ); in phy_init() 1462 mii_control |= BMCR_ANENABLE; in phy_init() 1468 mii_control |= BMCR_ANRESTART; in phy_init() 1469 if (mii_rw(dev, np->phyaddr, MII_BMCR, mii_control)) { in phy_init() 1478 if (phy_reset(dev, mii_control)) { in phy_init() 1521 mii_control = mii_rw(dev, np->phyaddr, MII_BMCR, MII_READ); in phy_init() 1522 mii_control |= (BMCR_ANRESTART | BMCR_ANENABLE); in phy_init() 1524 mii_control |= BMCR_PDOWN; in phy_init() 1525 if (mii_rw(dev, np->phyaddr, MII_BMCR, mii_control)) in phy_init() [all …]
|
/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_link.c | 4897 u16 mii_control; in bnx2x_reset_unicore() local 4901 MDIO_COMBO_IEEE0_MII_CONTROL, &mii_control); in bnx2x_reset_unicore() 4907 (mii_control | in bnx2x_reset_unicore() 4920 &mii_control); in bnx2x_reset_unicore() 4922 if (!(mii_control & MDIO_COMBO_IEEO_MII_CONTROL_RESET)) { in bnx2x_reset_unicore() 5230 u16 mii_control; in bnx2x_restart_autoneg() local 5239 &mii_control); in bnx2x_restart_autoneg() 5244 (mii_control | in bnx2x_restart_autoneg() 5252 &mii_control); in bnx2x_restart_autoneg() 5255 mii_control); in bnx2x_restart_autoneg() [all …]
|