Home
last modified time | relevance | path

Searched refs:mii_control (Results 1 – 4 of 4) sorted by relevance

/drivers/net/ethernet/amd/
Dau1000_eth.c272 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()
Dau1000_eth.h62 u32 mii_control; member
/drivers/net/ethernet/nvidia/
Dforcedeth.c1392 u32 mii_status, mii_control, mii_control_1000, reg; in phy_init() local
1462 mii_control = mii_rw(dev, np->phyaddr, MII_BMCR, MII_READ); in phy_init()
1463 mii_control |= BMCR_ANENABLE; in phy_init()
1469 mii_control |= BMCR_ANRESTART; in phy_init()
1470 if (mii_rw(dev, np->phyaddr, MII_BMCR, mii_control)) { in phy_init()
1479 if (phy_reset(dev, mii_control)) { in phy_init()
1522 mii_control = mii_rw(dev, np->phyaddr, MII_BMCR, MII_READ); in phy_init()
1523 mii_control |= (BMCR_ANRESTART | BMCR_ANENABLE); in phy_init()
1525 mii_control |= BMCR_PDOWN; in phy_init()
1526 if (mii_rw(dev, np->phyaddr, MII_BMCR, mii_control)) in phy_init()
[all …]
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_link.c4897 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 …]