/linux/include/linux/ |
H A D | mii.h | 128 result |= ADVERTISE_PAUSE_CAP; in ethtool_adv_to_mii_adv_t() 156 result |= ADVERTISE_PAUSE_CAP; in linkmode_adv_to_mii_adv_t() 182 if (adv & ADVERTISE_PAUSE_CAP) in mii_adv_to_ethtool_adv_t() 382 adv & ADVERTISE_PAUSE_CAP); in mii_adv_mod_linkmode_adv_t() 463 lcl_adv |= ADVERTISE_PAUSE_CAP; in linkmode_adv_to_lcl_adv_t() 519 adv = ADVERTISE_PAUSE_CAP | ADVERTISE_PAUSE_ASYM; in mii_advertise_flowctrl() 537 if (lcladv & rmtadv & ADVERTISE_PAUSE_CAP) { in mii_resolve_flowctrl_fdx() 540 if (lcladv & ADVERTISE_PAUSE_CAP) in mii_resolve_flowctrl_fdx() 542 else if (rmtadv & ADVERTISE_PAUSE_CAP) in mii_resolve_flowctrl_fdx()
|
/linux/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | vsc8211.c | 186 if (lpa & adv & ADVERTISE_PAUSE_CAP) in vsc8211_get_link_status() 188 else if ((lpa & ADVERTISE_PAUSE_CAP) && in vsc8211_get_link_status() 193 (adv & ADVERTISE_PAUSE_CAP)) in vsc8211_get_link_status()
|
H A D | aq100x.c | 185 adv |= ADVERTISE_PAUSE_CAP; in aq100x_advertise()
|
/linux/include/uapi/linux/ |
H A D | mii.h | 83 #define ADVERTISE_PAUSE_CAP 0x0400 /* Try for pause */ macro
|
H A D | mdio.h | 345 #define MDIO_AN_T1_ADV_L_PAUSE_CAP ADVERTISE_PAUSE_CAP
|
/linux/drivers/net/ethernet/ibm/emac/ |
H A D | phy.c | 132 adv &= ~(ADVERTISE_ALL | ADVERTISE_100BASE4 | ADVERTISE_PAUSE_CAP | in genmii_setup_aneg() 143 adv |= ADVERTISE_PAUSE_CAP; in genmii_setup_aneg()
|
/linux/drivers/net/ethernet/smsc/ |
H A D | smsc911x.h | 393 #define ADVERTISE_PAUSE_ALL (ADVERTISE_PAUSE_CAP | \
|
/linux/drivers/net/ethernet/intel/e1000e/ |
H A D | mac.c | 1093 if ((mii_nway_adv_reg & ADVERTISE_PAUSE_CAP) && in e1000e_config_fc_after_link_up() 1116 else if (!(mii_nway_adv_reg & ADVERTISE_PAUSE_CAP) && in e1000e_config_fc_after_link_up() 1130 else if ((mii_nway_adv_reg & ADVERTISE_PAUSE_CAP) && in e1000e_config_fc_after_link_up()
|
H A D | phy.c | 1054 ~(ADVERTISE_PAUSE_ASYM | ADVERTISE_PAUSE_CAP); in e1000_phy_setup_autoneg() 1069 (ADVERTISE_PAUSE_ASYM | ADVERTISE_PAUSE_CAP); in e1000_phy_setup_autoneg() 1078 mii_autoneg_adv_reg &= ~ADVERTISE_PAUSE_CAP; in e1000_phy_setup_autoneg() 1087 (ADVERTISE_PAUSE_ASYM | ADVERTISE_PAUSE_CAP); in e1000_phy_setup_autoneg()
|
/linux/drivers/net/ethernet/sfc/falcon/ |
H A D | mdio_10g.c | 282 reg |= ADVERTISE_PAUSE_CAP; in ef4_mdio_an_reconfigure()
|
/linux/drivers/net/ |
H A D | sungem_phy.c | 488 adv |= ADVERTISE_PAUSE_CAP; in bcm54xx_setup_aneg() 764 adv |= ADVERTISE_PAUSE_CAP; in marvell_setup_aneg()
|
/linux/drivers/net/ethernet/atheros/atl1e/ |
H A D | atl1e_hw.c | 347 mii_autoneg_adv_reg |= (ADVERTISE_PAUSE_ASYM | ADVERTISE_PAUSE_CAP); in atl1e_phy_setup_autoneg_adv()
|
/linux/drivers/net/usb/ |
H A D | sr9700.c | 381 ADVERTISE_CSMA | ADVERTISE_PAUSE_CAP); in sr9700_bind()
|
H A D | mcs7830.c | 58 #define MCS7830_MII_ADVERTISE (ADVERTISE_PAUSE_CAP | ADVERTISE_100FULL | \
|
H A D | dm9601.c | 435 ADVERTISE_ALL | ADVERTISE_CSMA | ADVERTISE_PAUSE_CAP); in dm9601_bind()
|
H A D | asix_devices.c | 277 ADVERTISE_ALL | ADVERTISE_CSMA | ADVERTISE_PAUSE_CAP); in ax88172_bind() 1128 ADVERTISE_ALL | ADVERTISE_CSMA | ADVERTISE_PAUSE_CAP); in ax88178_reset()
|
/linux/drivers/net/ethernet/ |
H A D | jme.c | 107 ADVERTISE_PAUSE_CAP | ADVERTISE_PAUSE_ASYM); in jme_reset_phy_processor() 2471 (val & (ADVERTISE_PAUSE_CAP | ADVERTISE_PAUSE_ASYM)) != 0; in jme_get_pauseparam() 2507 if (((val & (ADVERTISE_PAUSE_CAP | ADVERTISE_PAUSE_ASYM)) != 0) ^ in jme_set_pauseparam() 2511 val |= (ADVERTISE_PAUSE_CAP | ADVERTISE_PAUSE_ASYM); in jme_set_pauseparam() 2513 val &= ~(ADVERTISE_PAUSE_CAP | ADVERTISE_PAUSE_ASYM); in jme_set_pauseparam()
|
/linux/drivers/net/ethernet/nvidia/ |
H A D | forcedeth.c | 1431 ADVERTISE_PAUSE_ASYM | ADVERTISE_PAUSE_CAP); in phy_init() 3562 adv_pause = adv & (ADVERTISE_PAUSE_CAP | ADVERTISE_PAUSE_ASYM); in nv_update_linkspeed() 3566 case ADVERTISE_PAUSE_CAP: in nv_update_linkspeed() 3577 case ADVERTISE_PAUSE_CAP | ADVERTISE_PAUSE_ASYM: in nv_update_linkspeed() 4484 adv &= ~(ADVERTISE_ALL | ADVERTISE_100BASE4 | ADVERTISE_PAUSE_CAP | ADVERTISE_PAUSE_ASYM); in nv_set_link_ksettings() 4494 adv |= ADVERTISE_PAUSE_CAP | ADVERTISE_PAUSE_ASYM; in nv_set_link_ksettings() 4528 adv &= ~(ADVERTISE_ALL | ADVERTISE_100BASE4 | ADVERTISE_PAUSE_CAP | ADVERTISE_PAUSE_ASYM); in nv_set_link_ksettings() 4539 adv |= ADVERTISE_PAUSE_CAP | ADVERTISE_PAUSE_ASYM; in nv_set_link_ksettings() 4842 adv &= ~(ADVERTISE_PAUSE_CAP | ADVERTISE_PAUSE_ASYM); in nv_set_pauseparam() 4844 adv |= ADVERTISE_PAUSE_CAP | ADVERTISE_PAUSE_ASYM; in nv_set_pauseparam()
|
/linux/drivers/net/ethernet/atheros/atl1c/ |
H A D | atl1c_hw.h | 810 (ADVERTISE_ALL | ADVERTISE_PAUSE_CAP | ADVERTISE_PAUSE_ASYM)
|
/linux/drivers/net/ethernet/broadcom/ |
H A D | bnx2.c | 1069 new_local_adv |= ADVERTISE_PAUSE_CAP; in bnx2_resolve_flow_ctrl() 1073 new_remote_adv |= ADVERTISE_PAUSE_CAP; in bnx2_resolve_flow_ctrl() 1082 if (local_adv & ADVERTISE_PAUSE_CAP) { in bnx2_resolve_flow_ctrl() 1084 if (remote_adv & ADVERTISE_PAUSE_CAP) { in bnx2_resolve_flow_ctrl() 1092 if (remote_adv & ADVERTISE_PAUSE_CAP) { in bnx2_resolve_flow_ctrl() 1098 if ((remote_adv & ADVERTISE_PAUSE_CAP) && in bnx2_resolve_flow_ctrl() 1671 adv = ADVERTISE_PAUSE_CAP; in bnx2_phy_get_pause_adv() 1687 adv = ADVERTISE_PAUSE_CAP | ADVERTISE_PAUSE_ASYM; in bnx2_phy_get_pause_adv() 1736 if (pause_adv & (ADVERTISE_1000XPAUSE | ADVERTISE_PAUSE_CAP)) in bnx2_setup_remote_phy() 2083 adv_reg &= (PHY_ALL_10_100_SPEED | ADVERTISE_PAUSE_CAP | in bnx2_setup_copper_phy()
|
H A D | b44.c | 369 if ((local & ADVERTISE_PAUSE_CAP) && in b44_set_flow_ctrl() 448 adv |= ADVERTISE_PAUSE_CAP | ADVERTISE_PAUSE_ASYM; in b44_setup_phy()
|
/linux/drivers/net/dsa/microchip/ |
H A D | ksz8.c | 990 data |= ADVERTISE_PAUSE_CAP; in ksz8_r_phy() 1232 if (val & ADVERTISE_PAUSE_CAP) in ksz8_w_phy()
|
/linux/drivers/net/ethernet/dlink/ |
H A D | dl2k.c | 1534 if (negotiate & ADVERTISE_PAUSE_CAP) { in mii_get_media() 1602 anar |= ADVERTISE_PAUSE_CAP | ADVERTISE_PAUSE_ASYM; in mii_set_media()
|
/linux/drivers/net/phy/ |
H A D | phy-c45.c | 288 ADVERTISE_PAUSE_CAP | ADVERTISE_PAUSE_ASYM, in genphy_c45_an_config_aneg()
|
/linux/drivers/net/ethernet/micrel/ |
H A D | ksz884x.c | 2871 if (local & ADVERTISE_PAUSE_CAP) { in determine_flow_ctrl() 2875 (ADVERTISE_PAUSE_CAP | ADVERTISE_PAUSE_ASYM)) == in determine_flow_ctrl() 2880 if ((local & (ADVERTISE_PAUSE_CAP | ADVERTISE_PAUSE_ASYM)) in determine_flow_ctrl() 2881 == (ADVERTISE_PAUSE_CAP | ADVERTISE_PAUSE_ASYM)) in determine_flow_ctrl()
|