/linux/drivers/net/phy/ |
H A D | ste10Xp.c | 39 value |= BMCR_RESET; in ste10Xp_config_init() 46 } while (value & BMCR_RESET); in ste10Xp_config_init()
|
H A D | et1011c.c | 56 phy_write(phydev, MII_BMCR, ctl | BMCR_RESET); in et1011c_config_aneg()
|
H A D | microchip_t1.c | 1387 ret = phy_modify(phydev, MII_BMCR, BMCR_RESET, BMCR_RESET); in lan887x_phy_reset() 1392 return phy_read_poll_timeout(phydev, MII_BMCR, val, !(val & BMCR_RESET), in lan887x_phy_reset()
|
H A D | icplus.c | 125 MII_BMCR, BMCR_RESET); in ip175c_config_init()
|
H A D | marvell-88x2222.c | 101 BMCR_ANENABLE | BMCR_RESET); in mv2222_enable_aneg()
|
/linux/drivers/net/ethernet/ibm/emac/ |
H A D | phy.c | 62 val |= BMCR_RESET; in emac_mii_reset_phy() 69 if (val >= 0 && (val & BMCR_RESET) == 0) in emac_mii_reset_phy() 86 val |= BMCR_RESET; in emac_mii_reset_gpcs() 93 if (val >= 0 && (val & BMCR_RESET) == 0) in emac_mii_reset_gpcs() 184 phy_write(phy, MII_BMCR, ctl | BMCR_RESET); in genmii_setup_forced()
|
/linux/drivers/net/phy/qcom/ |
H A D | qca83xx.c | 167 phy_set_bits(phydev, MII_BMCR, BMCR_RESET | BMCR_ANENABLE); in qca83xx_resume() 172 ret = phy_read_poll_timeout(phydev, MII_BMCR, val, !(val & BMCR_RESET), in qca83xx_resume()
|
/linux/drivers/net/ |
H A D | sungem_phy.c | 74 val |= BMCR_RESET; in reset_one_mii_phy() 81 if ((val & BMCR_RESET) == 0) in reset_one_mii_phy() 295 sungem_phy_write(phy, MII_BMCR, BMCR_RESET); in bcm5411_init() 354 sungem_phy_write(phy, MII_BMCR, ctl | BMCR_RESET); in genmii_setup_forced() 523 sungem_phy_write(phy, MII_BMCR, ctl | BMCR_RESET); in bcm54xx_setup_forced() 804 ctl |= BMCR_RESET; in marvell_setup_forced()
|
/linux/drivers/net/ethernet/broadcom/ |
H A D | bgmac-bcma-mdio.c | 187 bcma_mdio_phy_write(bgmac, phyaddr, MII_BMCR, BMCR_RESET); in bcma_mdio_phy_reset() 189 if (bcma_mdio_phy_read(bgmac, phyaddr, MII_BMCR) & BMCR_RESET) in bcma_mdio_phy_reset()
|
/linux/include/uapi/linux/ |
H A D | mii.h | 51 #define BMCR_RESET 0x8000 /* Reset to default state */ macro
|
H A D | mdio.h | 104 #define MDIO_CTRL1_RESET BMCR_RESET
|
/linux/drivers/net/ethernet/chelsio/cxgb/ |
H A D | mv88e1xxx.c | 53 mdio_set_bit(cphy, MII_BMCR, BMCR_RESET); in mv88e1xxx_reset() 57 ctl &= BMCR_RESET; in mv88e1xxx_reset()
|
/linux/drivers/net/ethernet/dec/tulip/ |
H A D | media.c | 271 (tulip_mdio_read (dev, phy_num, MII_BMCR) & BMCR_RESET)) in tulip_select_media() 298 (tulip_mdio_read (dev, phy_num, MII_BMCR) & BMCR_RESET)) in tulip_select_media() 520 BMCR_RESET); in tulip_find_mii()
|
/linux/drivers/net/mdio/ |
H A D | mdio-moxart.c | 102 data |= BMCR_RESET; in moxart_mdio_reset()
|
/linux/drivers/net/ethernet/atheros/atl1e/ |
H A D | atl1e_hw.c | 380 phy_data = BMCR_RESET | BMCR_ANENABLE | BMCR_ANRESTART; in atl1e_phy_commit() 634 BMCR_RESET | BMCR_ANENABLE | BMCR_ANRESTART); in atl1e_restart_autoneg()
|
/linux/drivers/net/ethernet/dlink/ |
H A D | dl2k.c | 1611 mii_write (dev, phy_addr, MII_BMCR, BMCR_RESET); in mii_set_media() 1612 bmcr = BMCR_ANENABLE | BMCR_ANRESTART | BMCR_RESET; in mii_set_media() 1624 bmcr |= BMCR_RESET; in mii_set_media() 1743 mii_write (dev, phy_addr, MII_BMCR, BMCR_RESET); in mii_set_media_pcs() 1744 bmcr = BMCR_ANENABLE | BMCR_ANRESTART | BMCR_RESET; in mii_set_media_pcs() 1750 bmcr = BMCR_RESET; in mii_set_media_pcs()
|
/linux/arch/powerpc/platforms/85xx/ |
H A D | mpc85xx_mds.c | 72 err = phy_write(phydev, MII_BMCR, BMCR_RESET); in mpc8568_fixup_125_clock()
|
/linux/drivers/net/ethernet/sun/ |
H A D | sunbmac.c | 502 bp->sw_bmcr = (BMCR_RESET); in try_next_permutation() 508 if ((bp->sw_bmcr & BMCR_RESET) == 0) in try_next_permutation() 595 bp->sw_bmcr = (BMCR_RESET); in bigmac_begin_auto_negotiation() 601 if ((bp->sw_bmcr & BMCR_RESET) == 0) in bigmac_begin_auto_negotiation()
|
/linux/drivers/net/ethernet/oki-semi/pch_gbe/ |
H A D | pch_gbe_phy.c | 310 pch_gbe_phy_write_reg_miic(hw, MII_BMCR, BMCR_RESET); in pch_gbe_phy_init_setting()
|
H A D | pch_gbe_ethtool.c | 119 pch_gbe_phy_write_reg_miic(hw, MII_BMCR, BMCR_RESET); in pch_gbe_set_link_ksettings()
|
/linux/drivers/net/ethernet/atheros/atl1c/ |
H A D | atl1c_hw.c | 595 u16 mii_bmcr_data = BMCR_RESET; in atl1c_phy_init() 770 u16 mii_bmcr_data = BMCR_RESET; in atl1c_restart_autoneg()
|
/linux/drivers/net/usb/ |
H A D | asix_devices.c | 216 & BMCR_RESET) in asix_phy_reset() 275 asix_phy_reset(dev, BMCR_RESET); in ax88172_bind() 1126 asix_phy_reset(dev, BMCR_RESET | BMCR_ANENABLE); in ax88178_reset()
|
H A D | sr9700.c | 379 sr_mdio_write(netdev, mii->phy_id, MII_BMCR, BMCR_RESET); in sr9700_bind()
|
/linux/drivers/net/ethernet/adaptec/ |
H A D | starfire.c | 783 mdio_write(dev, phy, MII_BMCR, BMCR_RESET); in starfire_init_one() 787 if ((mdio_read(dev, phy, MII_BMCR) & BMCR_RESET) == 0) in starfire_init_one() 1061 mdio_write(dev, np->phys[0], MII_BMCR, BMCR_RESET); in check_duplex() 1063 while (--silly_count && mdio_read(dev, np->phys[0], MII_BMCR) & BMCR_RESET) in check_duplex()
|
/linux/drivers/net/ethernet/smsc/ |
H A D | smc91x.c | 958 smc_phy_write(dev, phy, MII_BMCR, BMCR_RESET); in smc_phy_reset() 966 if (!(bmcr & BMCR_RESET)) in smc_phy_reset() 970 return bmcr & BMCR_RESET; in smc_phy_reset()
|