Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/amd/
Dau1000_eth.c275 u32 *const mii_control_reg = &aup->mac->mii_control; in au1000_mdio_read()
278 u32 mii_control; in au1000_mdio_read() local
288 mii_control = MAC_SET_MII_SELECT_REG(reg) | in au1000_mdio_read()
291 writel(mii_control, mii_control_reg); in au1000_mdio_read()
308 u32 *const mii_control_reg = &aup->mac->mii_control; in au1000_mdio_write()
311 u32 mii_control; in au1000_mdio_write() local
321 mii_control = MAC_SET_MII_SELECT_REG(reg) | in au1000_mdio_write()
325 writel(mii_control, mii_control_reg); in au1000_mdio_write()
Dau1000_eth.h62 u32 mii_control; member
/Linux-v5.4/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 …]
/Linux-v5.4/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_link.c4893 u16 mii_control; in bnx2x_reset_unicore() local
4897 MDIO_COMBO_IEEE0_MII_CONTROL, &mii_control); in bnx2x_reset_unicore()
4903 (mii_control | in bnx2x_reset_unicore()
4916 &mii_control); in bnx2x_reset_unicore()
4918 if (!(mii_control & MDIO_COMBO_IEEO_MII_CONTROL_RESET)) { in bnx2x_reset_unicore()
5226 u16 mii_control; in bnx2x_restart_autoneg() local
5235 &mii_control); in bnx2x_restart_autoneg()
5240 (mii_control | in bnx2x_restart_autoneg()
5248 &mii_control); in bnx2x_restart_autoneg()
5251 mii_control); in bnx2x_restart_autoneg()
[all …]