Searched refs:cfg_idx (Results 1 – 2 of 2) sorted by relevance
169 int cfg_idx = bnx2x_get_link_cfg_idx(bp); in bnx2x_get_settings() local171 cmd->supported = bp->port.supported[cfg_idx] | in bnx2x_get_settings()172 (bp->port.supported[cfg_idx ^ 1] & in bnx2x_get_settings()174 cmd->advertising = bp->port.advertising[cfg_idx]; in bnx2x_get_settings()183 cmd->speed = bp->link_params.req_line_speed[cfg_idx]; in bnx2x_get_settings()184 cmd->duplex = bp->link_params.req_duplex[cfg_idx]; in bnx2x_get_settings()190 if (bp->port.supported[cfg_idx] & SUPPORTED_TP) in bnx2x_get_settings()192 else if (bp->port.supported[cfg_idx] & SUPPORTED_FIBRE) in bnx2x_get_settings()200 if (bp->link_params.req_line_speed[cfg_idx] == SPEED_AUTO_NEG) in bnx2x_get_settings()222 u32 advertising, cfg_idx, old_multi_phy_config, new_multi_phy_config; in bnx2x_set_settings() local[all …]
1776 u8 cfg_idx = bnx2x_get_link_cfg_idx(bp); in bnx2x_calc_fc_adv() local1780 bp->port.advertising[cfg_idx] &= ~(ADVERTISED_Asym_Pause | in bnx2x_calc_fc_adv()1785 bp->port.advertising[cfg_idx] |= (ADVERTISED_Asym_Pause | in bnx2x_calc_fc_adv()1790 bp->port.advertising[cfg_idx] |= ADVERTISED_Asym_Pause; in bnx2x_calc_fc_adv()1794 bp->port.advertising[cfg_idx] &= ~(ADVERTISED_Asym_Pause | in bnx2x_calc_fc_adv()