Lines Matching full:advertising

225 	u32 supported, advertising;  in bnx2x_get_vf_link_ksettings()  local
229 ethtool_convert_link_mode_to_legacy_u32(&advertising, in bnx2x_get_vf_link_ksettings()
230 cmd->link_modes.advertising); in bnx2x_get_vf_link_ksettings()
250 " supported 0x%x advertising 0x%x speed %u\n" in bnx2x_get_vf_link_ksettings()
253 cmd->base.cmd, supported, advertising, in bnx2x_get_vf_link_ksettings()
267 u32 supported, advertising, lp_advertising; in bnx2x_get_link_ksettings() local
276 advertising = bp->port.advertising[cfg_idx]; in bnx2x_get_link_ksettings()
280 advertising &= ~(ADVERTISED_10000baseT_Full); in bnx2x_get_link_ksettings()
351 ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.advertising, in bnx2x_get_link_ksettings()
352 advertising); in bnx2x_get_link_ksettings()
357 " supported 0x%x advertising 0x%x speed %u\n" in bnx2x_get_link_ksettings()
360 cmd->base.cmd, supported, advertising, in bnx2x_get_link_ksettings()
372 u32 advertising, cfg_idx, old_multi_phy_config, new_multi_phy_config; in bnx2x_set_link_ksettings() local
379 ethtool_convert_link_mode_to_legacy_u32(&advertising, in bnx2x_set_link_ksettings()
380 cmd->link_modes.advertising); in bnx2x_set_link_ksettings()
386 " supported 0x%x advertising 0x%x speed %u\n" in bnx2x_set_link_ksettings()
389 cmd->base.cmd, supported, advertising, in bnx2x_set_link_ksettings()
497 if (advertising & ~an_supported_speed) { in bnx2x_set_link_ksettings()
505 bp->port.advertising[cfg_idx] = (ADVERTISED_Autoneg | in bnx2x_set_link_ksettings()
506 advertising); in bnx2x_set_link_ksettings()
507 if (advertising) { in bnx2x_set_link_ksettings()
510 if (advertising & ADVERTISED_10baseT_Half) { in bnx2x_set_link_ksettings()
514 if (advertising & ADVERTISED_10baseT_Full) in bnx2x_set_link_ksettings()
518 if (advertising & ADVERTISED_100baseT_Full) in bnx2x_set_link_ksettings()
522 if (advertising & ADVERTISED_100baseT_Half) { in bnx2x_set_link_ksettings()
526 if (advertising & ADVERTISED_1000baseT_Half) { in bnx2x_set_link_ksettings()
530 if (advertising & (ADVERTISED_1000baseT_Full | in bnx2x_set_link_ksettings()
535 if (advertising & (ADVERTISED_10000baseT_Full | in bnx2x_set_link_ksettings()
541 if (advertising & ADVERTISED_20000baseKR2_Full) in bnx2x_set_link_ksettings()
557 advertising = (ADVERTISED_10baseT_Full | in bnx2x_set_link_ksettings()
567 advertising = (ADVERTISED_10baseT_Half | in bnx2x_set_link_ksettings()
581 advertising = (ADVERTISED_100baseT_Full | in bnx2x_set_link_ksettings()
591 advertising = (ADVERTISED_100baseT_Half | in bnx2x_set_link_ksettings()
605 advertising = (ADVERTISED_1000baseT_Full | in bnx2x_set_link_ksettings()
610 advertising = ADVERTISED_1000baseKX_Full; in bnx2x_set_link_ksettings()
633 advertising = (ADVERTISED_2500baseX_Full | in bnx2x_set_link_ksettings()
648 advertising = (ADVERTISED_10000baseT_Full | in bnx2x_set_link_ksettings()
652 advertising = (ADVERTISED_10000baseKR_Full | in bnx2x_set_link_ksettings()
669 bp->port.advertising[cfg_idx] = advertising; in bnx2x_set_link_ksettings()
673 " req_duplex %d advertising 0x%x\n", in bnx2x_set_link_ksettings()
676 bp->port.advertising[cfg_idx]); in bnx2x_set_link_ksettings()