Home
last modified time | relevance | path

Searched refs:BMCR_PDOWN (Results 1 – 25 of 39) sorted by relevance

12

/openbmc/linux/drivers/net/ethernet/chelsio/cxgb3/
H A Dvsc8211.c119 BMCR_PDOWN | BMCR_ISOLATE, in vsc8211_autoneg_enable()
126 BMCR_PDOWN | BMCR_ISOLATE, in vsc8211_autoneg_restart()
318 return t3_mdio_change_bits(cphy, 0, MII_BMCR, BMCR_PDOWN, in vsc8211_power_down()
319 enable ? BMCR_PDOWN : 0); in vsc8211_power_down()
/openbmc/linux/drivers/net/phy/
H A Dnational.c125 phy_write(phydev, MII_BMCR, (bmcr | BMCR_PDOWN)); in ns_giga_speed_fallback()
131 phy_write(phydev, MII_BMCR, (bmcr & ~BMCR_PDOWN)); in ns_giga_speed_fallback()
H A Dbroadcom.c155 rc = phy_set_bits(phydev, MII_BMCR, BMCR_PDOWN); in bcm54616s_config_init()
169 rc = phy_clear_bits(phydev, MII_BMCR, BMCR_PDOWN); in bcm54616s_config_init()
180 return phy_clear_bits(phydev, MII_BMCR, BMCR_PDOWN); in bcm54616s_config_init()
500 ret = phy_write(phydev, MII_BMCR, BMCR_PDOWN); in bcm54xx_suspend()
832 err = phy_write(phydev, MII_BMCR, BMCR_PDOWN); in brcm_fet_suspend()
H A Dmotorcomm.c1534 return yt8521_modify_utp_fiber_bmcr(phydev, 0, BMCR_PDOWN); in yt8521_suspend()
1563 return yt8521_modify_utp_fiber_bmcr(phydev, BMCR_PDOWN, 0); in yt8521_resume()
1825 __phy_modify(phydev, MII_BMCR, 0, BMCR_PDOWN); in yt8521_fiber_config_aneg()
1827 __phy_modify(phydev, MII_BMCR, BMCR_PDOWN, 0); in yt8521_fiber_config_aneg()
1974 BMCR_ISOLATE | BMCR_PDOWN), ctl); in ytphy_utp_config_aneg()
H A Dbcm54140.c479 ret = phy_modify(phydev, MII_BMCR, 0, BMCR_PDOWN); in bcm54140_b0_workaround()
483 ret = phy_modify(phydev, MII_BMCR, BMCR_PDOWN, 0); in bcm54140_b0_workaround()
H A Dat803x.c590 value = BMCR_PDOWN; in at803x_suspend()
599 return phy_modify(phydev, MII_BMCR, BMCR_PDOWN | BMCR_ISOLATE, 0); in at803x_resume()
H A Dphy_device.c2108 ~(BMCR_LOOPBACK | BMCR_ISOLATE | BMCR_PDOWN), ctl); in genphy_setup_forced()
2699 return phy_set_bits(phydev, MII_BMCR, BMCR_PDOWN); in genphy_suspend()
2705 return phy_clear_bits(phydev, MII_BMCR, BMCR_PDOWN); in genphy_resume()
H A Dmicrel.c777 if (ret & BMCR_PDOWN) { in ksz8061_config_init()
778 ret = phy_write(phydev, MII_BMCR, ret & ~BMCR_PDOWN); in ksz8061_config_init()
2007 if (!(ret & BMCR_PDOWN)) in ksz9477_resume()
2043 if (!(ret & BMCR_PDOWN)) in ksz8061_resume()
/openbmc/linux/drivers/net/dsa/b53/
H A Db53_serdes.c151 reg &= ~BMCR_PDOWN; in b53_serdes_link_set()
153 reg |= BMCR_PDOWN; in b53_serdes_link_set()
/openbmc/linux/include/uapi/linux/
H A Dmii.h47 #define BMCR_PDOWN 0x0800 /* Enable low power state */ macro
H A Dmdio.h102 #define MDIO_CTRL1_LPOWER BMCR_PDOWN
/openbmc/linux/drivers/net/dsa/mv88e6xxx/
H A Dpcs-639x.c174 mask = BMCR_RESET | BMCR_LOOPBACK | BMCR_PDOWN; in mv88e639x_sgmii_pcs_control_pwr()
177 mask = val = BMCR_PDOWN; in mv88e639x_sgmii_pcs_control_pwr()
631 BMCR_PDOWN, BMCR_PDOWN); in mv88e6393x_erratum_4_6()
H A Dpcs-6352.c126 u16 val = on ? 0 : BMCR_PDOWN; in marvell_c22_pcs_power()
128 return marvell_c22_pcs_modify(mpcs, MII_BMCR, BMCR_PDOWN, val); in marvell_c22_pcs_power()
/openbmc/u-boot/include/linux/
H A Dmii.h44 #define BMCR_PDOWN 0x0800 /* Enable low power state */ macro
H A Dmdio.h78 #define MDIO_CTRL1_LPOWER BMCR_PDOWN
/openbmc/linux/drivers/net/
H A Dsungem_phy.c73 val &= ~(BMCR_ISOLATE | BMCR_PDOWN); in reset_one_mii_phy()
220 sungem_phy_write(phy, MII_BMCR, BMCR_PDOWN); in bcm5400_suspend()
276 sungem_phy_write(phy, MII_BMCR, BMCR_PDOWN); in bcm5401_suspend()
413 sungem_phy_write(phy, MII_BMCR, BMCR_PDOWN); in generic_suspend()
/openbmc/u-boot/drivers/net/phy/
H A Dmv88e61xx.c574 val &= ~(BMCR_PDOWN); in mv88e61xx_serdes_init()
814 val &= ~(BMCR_PDOWN); in mv88e61xx_phy_enable()
/openbmc/u-boot/drivers/usb/eth/
H A Dr8152.c605 if (data & BMCR_PDOWN) { in r8152b_hw_phy_cfg()
606 data &= ~BMCR_PDOWN; in r8152b_hw_phy_cfg()
736 if (data & BMCR_PDOWN) { in r8153_hw_phy_cfg()
737 data &= ~BMCR_PDOWN; in r8153_hw_phy_cfg()
/openbmc/u-boot/drivers/net/
H A Dmtk_eth.c578 phy_val |= BMCR_PDOWN; in mt7530_setup()
629 phy_val &= ~BMCR_PDOWN; in mt7530_setup()
/openbmc/linux/drivers/net/usb/
H A Dr8152.c5895 data &= ~BMCR_PDOWN; in r8153b_hw_phy_cfg()
7023 if (data & BMCR_PDOWN) { in r8152b_init()
7024 data &= ~BMCR_PDOWN; in r8152b_init()
7085 if (data & BMCR_PDOWN) { in r8153_init()
7086 data &= ~BMCR_PDOWN; in r8153_init()
7221 if (data & BMCR_PDOWN) { in r8153b_init()
7222 data &= ~BMCR_PDOWN; in r8153b_init()
7313 data &= ~BMCR_PDOWN; in r8153c_init()
7771 data &= ~BMCR_PDOWN; in r8156b_hw_phy_cfg()
8168 data &= ~BMCR_PDOWN; in r8156_init()
[all …]
/openbmc/linux/drivers/net/ethernet/dec/tulip/
H A Dmedia.c519 BMCR_PDOWN | BMCR_SPEED100 | BMCR_LOOPBACK | in tulip_find_mii()
/openbmc/linux/drivers/net/ethernet/sun/
H A Dsunbmac.c500 bp->sw_bmcr = (BMCR_ISOLATE | BMCR_PDOWN | BMCR_LOOPBACK); in try_next_permutation()
593 bp->sw_bmcr = (BMCR_ISOLATE | BMCR_PDOWN | BMCR_LOOPBACK); in bigmac_begin_auto_negotiation()
/openbmc/linux/drivers/net/dsa/microchip/
H A Dksz8795.c673 data |= BMCR_PDOWN; in ksz8_r_phy()
873 if (val & BMCR_PDOWN) in ksz8_w_phy()
/openbmc/linux/drivers/net/ethernet/intel/e1000e/
H A Dphy.c2757 mii_reg &= ~BMCR_PDOWN; in e1000_power_up_phy_copper()
2780 mii_reg |= BMCR_PDOWN; in e1000_power_down_phy_copper()
/openbmc/linux/drivers/net/ethernet/smsc/
H A Dsmsc911x.c1366 if (rc & BMCR_PDOWN) { in smsc911x_phy_general_power_up()
1367 rc = phy_write(phy_dev, MII_BMCR, rc & ~BMCR_PDOWN); in smsc911x_phy_general_power_up()

12