Home
last modified time | relevance | path

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

123

/linux-6.1.9/drivers/net/phy/
Dste10Xp.c39 value |= BMCR_RESET; in ste10Xp_config_init()
46 } while (value & BMCR_RESET); in ste10Xp_config_init()
Det1011c.c56 phy_write(phydev, MII_BMCR, ctl | BMCR_RESET); in et1011c_config_aneg()
Dicplus.c125 MII_BMCR, BMCR_RESET); in ip175c_config_init()
Dphy.c348 if ((val & (BMCR_RESET | BMCR_ANENABLE)) == 0) { in phy_mii_ioctl()
391 val & BMCR_RESET) in phy_mii_ioctl()
Dmarvell-88x2222.c104 BMCR_ANENABLE | BMCR_RESET); in mv2222_enable_aneg()
/linux-6.1.9/drivers/net/ethernet/ibm/emac/
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-6.1.9/drivers/net/pcs/
Dpcs-altera-tse.c68 bmcr |= BMCR_RESET; in tse_pcs_reset()
72 if (!(tse_pcs_read(tse_pcs, MII_BMCR) & BMCR_RESET)) in tse_pcs_reset()
/linux-6.1.9/drivers/net/
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-6.1.9/drivers/net/ethernet/broadcom/
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-6.1.9/include/uapi/linux/
Dmii.h51 #define BMCR_RESET 0x8000 /* Reset to default state */ macro
Dmdio.h99 #define MDIO_CTRL1_RESET BMCR_RESET
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb/
Dmv88e1xxx.c53 mdio_set_bit(cphy, MII_BMCR, BMCR_RESET); in mv88e1xxx_reset()
57 ctl &= BMCR_RESET; in mv88e1xxx_reset()
/linux-6.1.9/drivers/net/ethernet/dec/tulip/
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-6.1.9/drivers/net/mdio/
Dmdio-moxart.c102 data |= BMCR_RESET; in moxart_mdio_reset()
/linux-6.1.9/drivers/net/ethernet/atheros/atl1e/
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-6.1.9/drivers/net/ethernet/dlink/
Ddl2k.c1614 mii_write (dev, phy_addr, MII_BMCR, BMCR_RESET); in mii_set_media()
1615 bmcr = BMCR_ANENABLE | BMCR_ANRESTART | BMCR_RESET; in mii_set_media()
1627 bmcr |= BMCR_RESET; in mii_set_media()
1746 mii_write (dev, phy_addr, MII_BMCR, BMCR_RESET); in mii_set_media_pcs()
1747 bmcr = BMCR_ANENABLE | BMCR_ANRESTART | BMCR_RESET; in mii_set_media_pcs()
1753 bmcr = BMCR_RESET; in mii_set_media_pcs()
/linux-6.1.9/drivers/net/ethernet/sun/
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-6.1.9/arch/powerpc/platforms/85xx/
Dmpc85xx_mds.c79 err = phy_write(phydev, MII_BMCR, BMCR_RESET); in mpc8568_fixup_125_clock()
/linux-6.1.9/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_phy.c310 pch_gbe_phy_write_reg_miic(hw, MII_BMCR, BMCR_RESET); in pch_gbe_phy_init_setting()
Dpch_gbe_ethtool.c119 pch_gbe_phy_write_reg_miic(hw, MII_BMCR, BMCR_RESET); in pch_gbe_set_link_ksettings()
/linux-6.1.9/drivers/net/ethernet/atheros/atl1c/
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-6.1.9/drivers/net/usb/
Dasix_devices.c216 & BMCR_RESET) in asix_phy_reset()
275 asix_phy_reset(dev, BMCR_RESET); in ax88172_bind()
1105 asix_phy_reset(dev, BMCR_RESET | BMCR_ANENABLE); in ax88178_reset()
Dsr9700.c372 sr_mdio_write(netdev, mii->phy_id, MII_BMCR, BMCR_RESET); in sr9700_bind()
/linux-6.1.9/drivers/net/ethernet/adaptec/
Dstarfire.c791 mdio_write(dev, phy, MII_BMCR, BMCR_RESET); in starfire_init_one()
795 if ((mdio_read(dev, phy, MII_BMCR) & BMCR_RESET) == 0) in starfire_init_one()
1069 mdio_write(dev, np->phys[0], MII_BMCR, BMCR_RESET); in check_duplex()
1071 while (--silly_count && mdio_read(dev, np->phys[0], MII_BMCR) & BMCR_RESET) in check_duplex()
/linux-6.1.9/drivers/net/ethernet/smsc/
Dsmc91x.c957 smc_phy_write(dev, phy, MII_BMCR, BMCR_RESET); in smc_phy_reset()
965 if (!(bmcr & BMCR_RESET)) in smc_phy_reset()
969 return bmcr & BMCR_RESET; in smc_phy_reset()

123