Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/intel/igc/
Digc_mac.c454 u16 mii_status_reg, mii_nway_adv_reg, mii_nway_lp_ability_reg; in igc_config_fc_after_link_up() local
502 &mii_nway_adv_reg); in igc_config_fc_after_link_up()
542 if ((mii_nway_adv_reg & NWAY_AR_PAUSE) && in igc_config_fc_after_link_up()
566 else if (!(mii_nway_adv_reg & NWAY_AR_PAUSE) && in igc_config_fc_after_link_up()
567 (mii_nway_adv_reg & NWAY_AR_ASM_DIR) && in igc_config_fc_after_link_up()
580 else if ((mii_nway_adv_reg & NWAY_AR_PAUSE) && in igc_config_fc_after_link_up()
581 (mii_nway_adv_reg & NWAY_AR_ASM_DIR) && in igc_config_fc_after_link_up()
/Linux-v5.10/drivers/net/ethernet/intel/igb/
De1000_mac.c874 u16 mii_status_reg, mii_nway_adv_reg, mii_nway_lp_ability_reg; in igb_config_fc_after_link_up() local
925 &mii_nway_adv_reg); in igb_config_fc_after_link_up()
966 if ((mii_nway_adv_reg & NWAY_AR_PAUSE) && in igb_config_fc_after_link_up()
989 else if (!(mii_nway_adv_reg & NWAY_AR_PAUSE) && in igb_config_fc_after_link_up()
990 (mii_nway_adv_reg & NWAY_AR_ASM_DIR) && in igb_config_fc_after_link_up()
1003 else if ((mii_nway_adv_reg & NWAY_AR_PAUSE) && in igb_config_fc_after_link_up()
1004 (mii_nway_adv_reg & NWAY_AR_ASM_DIR) && in igb_config_fc_after_link_up()
/Linux-v5.10/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.10/drivers/net/ethernet/intel/e1000/
De1000_hw.c2050 u16 mii_nway_adv_reg; in e1000_config_fc_after_link_up() local
2097 &mii_nway_adv_reg); in e1000_config_fc_after_link_up()
2140 if ((mii_nway_adv_reg & NWAY_AR_PAUSE) && in e1000_config_fc_after_link_up()
2166 else if (!(mii_nway_adv_reg & NWAY_AR_PAUSE) && in e1000_config_fc_after_link_up()
2167 (mii_nway_adv_reg & NWAY_AR_ASM_DIR) && in e1000_config_fc_after_link_up()
2182 else if ((mii_nway_adv_reg & NWAY_AR_PAUSE) && in e1000_config_fc_after_link_up()
2183 (mii_nway_adv_reg & NWAY_AR_ASM_DIR) && in e1000_config_fc_after_link_up()