Home
last modified time | relevance | path

Searched refs:mii_nway_adv_reg (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/intel/igc/
Digc_mac.c461 u16 mii_status_reg, mii_nway_adv_reg, mii_nway_lp_ability_reg; in igc_config_fc_after_link_up() local
511 &mii_nway_adv_reg); in igc_config_fc_after_link_up()
551 if ((mii_nway_adv_reg & NWAY_AR_PAUSE) && in igc_config_fc_after_link_up()
575 else if (!(mii_nway_adv_reg & NWAY_AR_PAUSE) && in igc_config_fc_after_link_up()
576 (mii_nway_adv_reg & NWAY_AR_ASM_DIR) && in igc_config_fc_after_link_up()
589 else if ((mii_nway_adv_reg & NWAY_AR_PAUSE) && in igc_config_fc_after_link_up()
590 (mii_nway_adv_reg & NWAY_AR_ASM_DIR) && in igc_config_fc_after_link_up()
/Linux-v5.4/drivers/net/ethernet/intel/igb/
De1000_mac.c876 u16 mii_status_reg, mii_nway_adv_reg, mii_nway_lp_ability_reg; in igb_config_fc_after_link_up() local
927 &mii_nway_adv_reg); in igb_config_fc_after_link_up()
968 if ((mii_nway_adv_reg & NWAY_AR_PAUSE) && in igb_config_fc_after_link_up()
991 else if (!(mii_nway_adv_reg & NWAY_AR_PAUSE) && in igb_config_fc_after_link_up()
992 (mii_nway_adv_reg & NWAY_AR_ASM_DIR) && in igb_config_fc_after_link_up()
1005 else if ((mii_nway_adv_reg & NWAY_AR_PAUSE) && in igb_config_fc_after_link_up()
1006 (mii_nway_adv_reg & NWAY_AR_ASM_DIR) && in igb_config_fc_after_link_up()
/Linux-v5.4/drivers/net/ethernet/intel/e1000e/
Dmac.c1006 u16 mii_status_reg, mii_nway_adv_reg, mii_nway_lp_ability_reg; in e1000e_config_fc_after_link_up() local
1055 ret_val = e1e_rphy(hw, MII_ADVERTISE, &mii_nway_adv_reg); in e1000e_config_fc_after_link_up()
1095 if ((mii_nway_adv_reg & ADVERTISE_PAUSE_CAP) && in e1000e_config_fc_after_link_up()
1118 else if (!(mii_nway_adv_reg & ADVERTISE_PAUSE_CAP) && in e1000e_config_fc_after_link_up()
1119 (mii_nway_adv_reg & ADVERTISE_PAUSE_ASYM) && in e1000e_config_fc_after_link_up()
1132 else if ((mii_nway_adv_reg & ADVERTISE_PAUSE_CAP) && in e1000e_config_fc_after_link_up()
1133 (mii_nway_adv_reg & ADVERTISE_PAUSE_ASYM) && in e1000e_config_fc_after_link_up()
/Linux-v5.4/drivers/net/ethernet/intel/e1000/
De1000_hw.c2053 u16 mii_nway_adv_reg; in e1000_config_fc_after_link_up() local
2100 &mii_nway_adv_reg); in e1000_config_fc_after_link_up()
2143 if ((mii_nway_adv_reg & NWAY_AR_PAUSE) && in e1000_config_fc_after_link_up()
2169 else if (!(mii_nway_adv_reg & NWAY_AR_PAUSE) && in e1000_config_fc_after_link_up()
2170 (mii_nway_adv_reg & NWAY_AR_ASM_DIR) && in e1000_config_fc_after_link_up()
2185 else if ((mii_nway_adv_reg & NWAY_AR_PAUSE) && in e1000_config_fc_after_link_up()
2186 (mii_nway_adv_reg & NWAY_AR_ASM_DIR) && in e1000_config_fc_after_link_up()