Home
last modified time | relevance | path

Searched refs:BMCR_ANENABLE (Results 1 – 24 of 24) sorted by relevance

/linux-2.4.37.9/drivers/net/
Dmii.c68 if (bmcr & BMCR_ANENABLE) { in mii_ethtool_gset()
142 bmcr |= (BMCR_ANENABLE | BMCR_ANRESTART); in mii_ethtool_sset()
151 tmp = bmcr & ~(BMCR_ANENABLE | BMCR_SPEED100 | BMCR_FULLDPLX); in mii_ethtool_sset()
184 if (bmcr & BMCR_ANENABLE) { in mii_nway_restart()
304 if (val & (BMCR_RESET|BMCR_ANENABLE)) in generic_mii_ioctl()
Dsungem.c93 BMCR_ANENABLE, /* 0 : autoneg */
1082 gp->link_cntl = BMCR_ANENABLE; in gem_begin_auto_negotiation()
1100 ctl &= ~(BMCR_FULLDPLX|BMCR_SPEED100|BMCR_ANENABLE); in gem_begin_auto_negotiation()
1102 if (ctl & BMCR_ANENABLE) { in gem_begin_auto_negotiation()
1173 if (val & BMCR_ANENABLE) in gem_set_link_modes()
1287 val &= ~(BMCR_ANRESTART | BMCR_ANENABLE); in gem_mdio_link_not_up()
1370 if (cntl & BMCR_ANENABLE) in gem_link_timer()
1380 if (gp->lstate == link_force_try && (gp->link_cntl & BMCR_ANENABLE)) { in gem_link_timer()
1388 gp->link_fcntl | BMCR_ANENABLE | BMCR_ANRESTART); in gem_link_timer()
1663 (BMCR_ANENABLE | BMCR_FULLDPLX | in gem_init_bcm5411_phy()
[all …]
Dsunbmac.h233 #define BMCR_ANENABLE 0x1000 /* Enable auto negotiation */ macro
Dnatsemi.c1842 if (mdio_read(dev, 1, MII_BMCR) & BMCR_ANENABLE in netdev_error()
2076 if (tmp & BMCR_ANENABLE) { in netdev_ethtool_ioctl()
2287 if (tmp & BMCR_ANENABLE) { in netdev_get_ecmd()
2334 tmp |= BMCR_ANENABLE; in netdev_set_ecmd()
2338 tmp &= ~(BMCR_ANENABLE | BMCR_SPEED100 | BMCR_FULLDPLX); in netdev_set_ecmd()
Dstarfire.c1234 reg0 |= BMCR_ANENABLE | BMCR_ANRESTART; in check_duplex()
1236 reg0 &= ~(BMCR_ANENABLE | BMCR_ANRESTART); in check_duplex()
1693 if (reg0 & BMCR_ANENABLE) { in netdev_media_change()
Db44.c437 if ((err = b44_writephy(bp, MII_BMCR, (BMCR_ANENABLE | in b44_setup_phy()
445 bmcr &= ~(BMCR_FULLDPLX | BMCR_ANENABLE | BMCR_SPEED100); in b44_setup_phy()
1518 if (bmcr & BMCR_ANENABLE) { in b44_ethtool_ioctl()
Dforcedeth.c780 mii_control |= (BMCR_ANRESTART | BMCR_ANENABLE); in phy_init()
2152 bmcr |= (BMCR_ANENABLE | BMCR_ANRESTART); in nv_set_settings()
2180 bmcr |= ~(BMCR_ANENABLE|BMCR_SPEED100|BMCR_FULLDPLX); in nv_set_settings()
2230 bmcr |= (BMCR_ANENABLE | BMCR_ANRESTART); in nv_nway_reset()
Dioc3-eth.c1013 ip->sw_bmcr |= BMCR_ANENABLE; in ioc3_start_auto_negotiation()
1732 if (ip->sw_bmcr & BMCR_ANENABLE) { in ioc3_ioctl()
Dbig_sur_ge.c1084 if (!(reg_data & BMCR_ANENABLE)) { in big_sur_ge_get_phy_status()
Dsunhme.c1368 hp->sw_bmcr |= BMCR_ANENABLE; in happy_meal_begin_auto_negotiation()
2457 if (hp->sw_bmcr & BMCR_ANENABLE) { in happy_meal_ioctl()
Dtg3.c1451 BMCR_ANENABLE | BMCR_ANRESTART); in tg3_phy_copper_begin()
1655 if (bmcr & BMCR_ANENABLE) { in tg3_setup_copper_phy()
1667 if (!(bmcr & BMCR_ANENABLE) && in tg3_setup_copper_phy()
7059 (bmcr & BMCR_ANENABLE)) { in tg3_nway_reset()
8161 BMCR_ANENABLE | BMCR_ANRESTART); in tg3_phy_probe()
Depic100.c733 mdio_write(dev, ep->phys[0], MII_BMCR, BMCR_ANENABLE|BMCR_ANRESTART); in epic_open()
Dsb1250-mac.c336 #define BMCR_ANENABLE 0x1000 macro
Dsundance.c699 mdio_write (dev, np->phys[0], MII_BMCR, BMCR_ANENABLE|BMCR_ANRESTART); in sundance_probe1()
Damd8111e.c239 bmcr |= (BMCR_ANENABLE | BMCR_ANRESTART); in amd8111e_set_ext_phy()
/linux-2.4.37.9/drivers/net/ibm_emac/
Dibm_ocp_phy.c100 ctl |= (BMCR_ANENABLE | BMCR_ANRESTART); in genmii_setup_aneg()
116 ctl &= ~(BMCR_FULLDPLX|BMCR_SPEED100|BMCR_ANENABLE); in genmii_setup_forced()
/linux-2.4.37.9/drivers/net/e100/
De100_phy.c361 BMCR_ANENABLE | BMCR_ANRESTART); in e100_phy_fix_squelch()
634 control &= ~BMCR_ANENABLE; in e100_force_speed_duplex()
688 control &= ~BMCR_ANENABLE; in e100_force_speed_duplex_to_phy()
843 BMCR_ANENABLE | BMCR_ANRESTART); in e100_auto_neg()
891 ctrl_reg = BMCR_ANENABLE | BMCR_ANRESTART | BMCR_RESET; in e100_phy_autoneg()
De100_main.c4041 (data_ptr->val_in == (BMCR_ANENABLE | BMCR_ANRESTART) /* restart cmd */ in e100_mii_ioctl()
4045 if (data_ptr->val_in == (BMCR_ANENABLE | BMCR_ANRESTART) in e100_mii_ioctl()
/linux-2.4.37.9/include/linux/
Dmii.h41 #define BMCR_ANENABLE 0x1000 /* Enable auto negotiation */ macro
/linux-2.4.37.9/drivers/net/tulip/
Dmedia.c521 new_bmcr = mii_reg0 | BMCR_ANENABLE; in tulip_find_mii()
529 new_bmcr = mii_reg0 & ~BMCR_ANENABLE; in tulip_find_mii()
/linux-2.4.37.9/drivers/net/pcmcia/
Dxircom_tulip_cb.c990 if (reg0 & BMCR_ANENABLE) { in xircom_media_change()
1047 reg0 |= BMCR_ANENABLE | BMCR_ANRESTART; in check_duplex()
1049 reg0 &= ~(BMCR_ANENABLE | BMCR_ANRESTART); in check_duplex()
1503 if (value & (BMCR_RESET | BMCR_ANENABLE)) in xircom_ioctl()
/linux-2.4.37.9/drivers/usb/
Drtl8150.c610 if (bmcr & BMCR_ANENABLE) { in rtl8150_ethtool_ioctl()
Dpegasus.c937 if (bmcr & BMCR_ANENABLE) { in pegasus_ethtool_ioctl()
Dusbnet.c673 *buf16 = cpu_to_le16(BMCR_ANENABLE | BMCR_ANRESTART); in ax8817x_bind()