/linux/include/uapi/linux/ |
A D | mii.h | 80 #define ADVERTISE_100FULL 0x0100 /* Try for 100mbps full-duplex */ macro 90 #define ADVERTISE_FULL (ADVERTISE_100FULL | ADVERTISE_10FULL | \ 93 ADVERTISE_100HALF | ADVERTISE_100FULL)
|
/linux/include/linux/ |
A D | mii.h | 126 result |= ADVERTISE_100FULL; in ethtool_adv_to_mii_adv_t() 154 result |= ADVERTISE_100FULL; in linkmode_adv_to_mii_adv_t() 180 if (adv & ADVERTISE_100FULL) in mii_adv_to_ethtool_adv_t() 428 advertising, adv & ADVERTISE_100FULL); in mii_adv_mod_linkmode_adv_t()
|
/linux/drivers/net/ |
A D | sungem_phy.c | 334 adv |= ADVERTISE_100FULL; in genmii_setup_aneg() 489 adv |= ADVERTISE_100FULL; in bcm54xx_setup_aneg() 765 adv |= ADVERTISE_100FULL; in marvell_setup_aneg()
|
A D | mdio.c | 160 if (reg & ADVERTISE_100FULL) in mdio45_get_an()
|
A D | mii.c | 559 media & (ADVERTISE_100FULL | ADVERTISE_100HALF) ? in mii_check_media()
|
/linux/drivers/net/ethernet/via/ |
A D | via-velocity.c | 726 if (ANAR & ADVERTISE_100FULL) in mii_check_media_mode() 738 if ((ANAR & (ADVERTISE_100FULL | ADVERTISE_100HALF | ADVERTISE_10FULL | ADVERTISE_10HALF)) in mii_check_media_mode() 739 == (ADVERTISE_100FULL | ADVERTISE_100HALF | ADVERTISE_10FULL | ADVERTISE_10HALF)) { in mii_check_media_mode() 860 if ((ANAR & (ADVERTISE_100FULL | ADVERTISE_100HALF | ADVERTISE_10FULL | ADVERTISE_10HALF)) in check_connection_type() 861 == (ADVERTISE_100FULL | ADVERTISE_100HALF | ADVERTISE_10FULL | ADVERTISE_10HALF)) { in check_connection_type() 899 …MII_REG_BITS_ON(ADVERTISE_100FULL | ADVERTISE_100HALF | ADVERTISE_10FULL | ADVERTISE_10HALF, MII_A… in velocity_set_media_mode() 958 ANAR &= (~(ADVERTISE_100FULL | ADVERTISE_100HALF | ADVERTISE_10FULL | ADVERTISE_10HALF)); in velocity_set_media_mode() 961 ANAR |= ADVERTISE_100FULL; in velocity_set_media_mode()
|
/linux/drivers/net/ethernet/chelsio/cxgb3/ |
A D | aq100x.c | 183 adv |= ADVERTISE_100FULL; in aq100x_advertise()
|
/linux/drivers/net/ethernet/atheros/atl1c/ |
A D | atl1c_hw.c | 469 mii_adv_data |= ADVERTISE_100FULL; in atl1c_phy_setup_adv() 473 ADVERTISE_100HALF | ADVERTISE_100FULL; in atl1c_phy_setup_adv()
|
/linux/drivers/net/ethernet/chelsio/cxgb/ |
A D | mv88e1xxx.c | 223 val |= ADVERTISE_100FULL; in mv88e1xxx_advertise()
|
/linux/drivers/net/ethernet/intel/ixgbe/ |
A D | ixgbe_phy.c | 1018 autoneg_reg &= ~(ADVERTISE_100FULL | ADVERTISE_100HALF); in ixgbe_setup_phy_link_generic() 1021 autoneg_reg |= ADVERTISE_100FULL; in ixgbe_setup_phy_link_generic() 1244 autoneg_reg &= ~(ADVERTISE_100FULL | in ixgbe_setup_phy_link_tnx() 1247 autoneg_reg |= ADVERTISE_100FULL; in ixgbe_setup_phy_link_tnx()
|
/linux/drivers/net/ethernet/atheros/atl1e/ |
A D | atl1e_ethtool.c | 103 adv4 |= ADVERTISE_100FULL; in atl1e_set_link_ksettings()
|
A D | atl1e_hw.c | 326 mii_autoneg_adv_reg |= ADVERTISE_100FULL; in atl1e_phy_setup_autoneg_adv()
|
/linux/drivers/net/ethernet/ibm/emac/ |
A D | phy.c | 141 adv |= ADVERTISE_100FULL; in genmii_setup_aneg()
|
/linux/drivers/net/ethernet/sun/ |
A D | sunhme.c | 1305 hp->sw_advertise |= (ADVERTISE_100FULL); in happy_meal_begin_auto_negotiation() 1307 hp->sw_advertise &= ~(ADVERTISE_100FULL); in happy_meal_begin_auto_negotiation() 1324 if (hp->sw_advertise & ADVERTISE_100FULL) in happy_meal_begin_auto_negotiation() 1733 hp->sw_advertise |= (ADVERTISE_100FULL); in happy_meal_set_initial_advertisement() 1735 hp->sw_advertise &= ~(ADVERTISE_100FULL); in happy_meal_set_initial_advertisement()
|
/linux/drivers/net/ethernet/dlink/ |
A D | dl2k.c | 1520 } else if (negotiate & ADVERTISE_100FULL) { in mii_get_media() 1592 ~(ADVERTISE_100FULL | ADVERTISE_10FULL | in mii_set_media() 1596 anar |= ADVERTISE_100FULL; in mii_set_media()
|
/linux/drivers/net/ethernet/smsc/ |
A D | smc911x.c | 930 my_ad_caps |= ADVERTISE_100FULL; in smc911x_phy_configure() 940 my_ad_caps &= ~(ADVERTISE_100BASE4|ADVERTISE_100FULL|ADVERTISE_100HALF); in smc911x_phy_configure() 943 my_ad_caps &= ~(ADVERTISE_100FULL|ADVERTISE_10FULL); in smc911x_phy_configure()
|
A D | smc91x.c | 1089 my_ad_caps |= ADVERTISE_100FULL; in smc_phy_configure() 1099 my_ad_caps &= ~(ADVERTISE_100BASE4|ADVERTISE_100FULL|ADVERTISE_100HALF); in smc_phy_configure() 1102 my_ad_caps &= ~(ADVERTISE_100FULL|ADVERTISE_10FULL); in smc_phy_configure()
|
/linux/drivers/net/usb/ |
A D | mcs7830.c | 58 #define MCS7830_MII_ADVERTISE (ADVERTISE_PAUSE_CAP | ADVERTISE_100FULL | \
|
A D | pegasus.c | 427 if (linkpart & (ADVERTISE_100FULL | ADVERTISE_10FULL)) in enable_net_traffic() 429 if (linkpart & (ADVERTISE_100FULL | ADVERTISE_100HALF)) in enable_net_traffic()
|
/linux/drivers/net/ethernet/natsemi/ |
A D | natsemi.c | 772 (ADVERTISE_100FULL|ADVERTISE_100HALF))? in natsemi_init_media() 775 (ADVERTISE_100FULL|ADVERTISE_10FULL))? in natsemi_init_media() 2850 if (np->advertising & ADVERTISE_100FULL) in netdev_get_ecmd() 2983 np->advertising |= ADVERTISE_100FULL; in netdev_set_ecmd()
|
/linux/drivers/net/dsa/microchip/ |
A D | ksz8795.c | 797 data |= ADVERTISE_100FULL; in ksz8_r_phy() 942 if (val & ADVERTISE_100FULL) in ksz8_w_phy()
|
/linux/drivers/net/ethernet/amd/ |
A D | amd8111e.c | 192 ADVERTISE_100HALF | ADVERTISE_100FULL); in amd8111e_set_ext_phy() 204 tmp |= ADVERTISE_100FULL; in amd8111e_set_ext_phy()
|
/linux/drivers/net/ethernet/intel/e1000e/ |
A D | phy.c | 949 mii_autoneg_adv_reg &= ~(ADVERTISE_100FULL | in e1000_phy_setup_autoneg() 977 mii_autoneg_adv_reg |= ADVERTISE_100FULL; in e1000_phy_setup_autoneg()
|
/linux/drivers/net/ethernet/nvidia/ |
A D | forcedeth.c | 1430 ADVERTISE_100HALF | ADVERTISE_100FULL | in phy_init() 4385 if (adv & ADVERTISE_100FULL) in nv_get_link_ksettings() 4492 adv |= ADVERTISE_100FULL; in nv_set_link_ksettings() 4536 adv |= ADVERTISE_100FULL; in nv_set_link_ksettings() 4557 if (np->fixed_mode & (ADVERTISE_10FULL|ADVERTISE_100FULL)) in nv_set_link_ksettings() 4559 if (np->fixed_mode & (ADVERTISE_100HALF|ADVERTISE_100FULL)) in nv_set_link_ksettings()
|
/linux/drivers/net/ethernet/tundra/ |
A D | tsi108_eth.c | 280 (media & (ADVERTISE_100FULL | ADVERTISE_100HALF) ? 100 : 10); in mii_speed()
|