Home
last modified time | relevance | path

Searched refs:BMCR_RESET (Results 1 – 25 of 57) sorted by relevance

123

/linux/drivers/net/phy/
H A Dste10Xp.c39 value |= BMCR_RESET; in ste10Xp_config_init()
46 } while (value & BMCR_RESET); in ste10Xp_config_init()
H A Det1011c.c56 phy_write(phydev, MII_BMCR, ctl | BMCR_RESET); in et1011c_config_aneg()
H A Dmicrochip_t1.c1387 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 Dicplus.c125 MII_BMCR, BMCR_RESET); in ip175c_config_init()
H A Dmarvell-88x2222.c101 BMCR_ANENABLE | BMCR_RESET); in mv2222_enable_aneg()
/linux/drivers/net/ethernet/ibm/emac/
H A Dphy.c62 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 Dqca83xx.c167 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 Dsungem_phy.c74 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 Dbgmac-bcma-mdio.c187 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 Dmii.h51 #define BMCR_RESET 0x8000 /* Reset to default state */ macro
H A Dmdio.h104 #define MDIO_CTRL1_RESET BMCR_RESET
/linux/drivers/net/ethernet/chelsio/cxgb/
H A Dmv88e1xxx.c53 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 Dmedia.c271 (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 Dmdio-moxart.c102 data |= BMCR_RESET; in moxart_mdio_reset()
/linux/drivers/net/ethernet/atheros/atl1e/
H A Datl1e_hw.c380 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 Ddl2k.c1611 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 Dmpc85xx_mds.c72 err = phy_write(phydev, MII_BMCR, BMCR_RESET); in mpc8568_fixup_125_clock()
/linux/drivers/net/ethernet/sun/
H A Dsunbmac.c502 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 Dpch_gbe_phy.c310 pch_gbe_phy_write_reg_miic(hw, MII_BMCR, BMCR_RESET); in pch_gbe_phy_init_setting()
H A Dpch_gbe_ethtool.c119 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 Datl1c_hw.c595 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 Dasix_devices.c216 & 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 Dsr9700.c379 sr_mdio_write(netdev, mii->phy_id, MII_BMCR, BMCR_RESET); in sr9700_bind()
/linux/drivers/net/ethernet/adaptec/
H A Dstarfire.c783 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 Dsmc91x.c958 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()

123