Home
last modified time | relevance | path

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

/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c444 u32 speed_mask = 0; in bnxt_fw_to_ethtool_support_spds() local
447 speed_mask |= SUPPORTED_100baseT_Full; in bnxt_fw_to_ethtool_support_spds()
449 speed_mask |= SUPPORTED_1000baseT_Full; in bnxt_fw_to_ethtool_support_spds()
451 speed_mask |= SUPPORTED_2500baseX_Full; in bnxt_fw_to_ethtool_support_spds()
453 speed_mask |= SUPPORTED_10000baseT_Full; in bnxt_fw_to_ethtool_support_spds()
456 speed_mask |= SUPPORTED_20000baseMLD2_Full | in bnxt_fw_to_ethtool_support_spds()
459 speed_mask |= SUPPORTED_40000baseKR4_Full | in bnxt_fw_to_ethtool_support_spds()
464 return speed_mask; in bnxt_fw_to_ethtool_support_spds()
470 u32 speed_mask = 0; in bnxt_fw_to_ethtool_advertised_spds() local
475 speed_mask |= ADVERTISED_100baseT_Full; in bnxt_fw_to_ethtool_advertised_spds()
[all …]
/drivers/scsi/aic94xx/
Daic94xx_scb.c718 static void set_speed_mask(u8 *speed_mask, struct asd_phy_desc *pd) in set_speed_mask() argument
721 *speed_mask = SAS_SPEED_60_DIS | SAS_SPEED_30_DIS | SAS_SPEED_15_DIS in set_speed_mask()
726 *speed_mask &= ~SAS_SPEED_60_DIS; in set_speed_mask()
729 *speed_mask &= ~SAS_SPEED_30_DIS; in set_speed_mask()
731 *speed_mask &= ~SAS_SPEED_15_DIS; in set_speed_mask()
736 *speed_mask |= SAS_SPEED_30_DIS; in set_speed_mask()
738 *speed_mask |= SAS_SPEED_15_DIS; in set_speed_mask()
747 *speed_mask &= ~SATA_SPEED_30_DIS; in set_speed_mask()
750 *speed_mask &= ~SATA_SPEED_15_DIS; in set_speed_mask()
755 *speed_mask |= SATA_SPEED_15_DIS; in set_speed_mask()
[all …]
Daic94xx_sas.h449 u8 speed_mask; member
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_link.c5537 u16 speed_mask, in bnx2x_get_link_speed_duplex() argument
5549 switch (speed_mask) { in bnx2x_get_link_speed_duplex()
5587 speed_mask); in bnx2x_get_link_speed_duplex()
5607 speed_mask); in bnx2x_get_link_speed_duplex()
5630 u16 gp_status, duplex = DUPLEX_HALF, link_up = 0, speed_mask; in bnx2x_link_settings_status() local
5642 speed_mask = gp_status & GP_STATUS_SPEED_MASK; in bnx2x_link_settings_status()
5644 gp_status, link_up, speed_mask); in bnx2x_link_settings_status()
5645 rc = bnx2x_get_link_speed_duplex(phy, params, vars, link_up, speed_mask, in bnx2x_link_settings_status()