Home
last modified time | relevance | path

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

/Linux-v4.19/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.h412 u8 speed_mask; member
/Linux-v4.19/drivers/net/ethernet/stmicro/stmmac/
Ddwxgmac2_core.c35 tx &= ~hw->link.speed_mask; in dwxgmac2_core_init()
359 mac->link.speed_mask = XGMAC_CONFIG_SS_MASK; in dwxgmac2_setup()
Ddwmac100_core.c187 mac->link.speed_mask = MAC_CONTROL_PS; in dwmac100_setup()
Ddwmac1000_core.c59 value &= ~hw->link.speed_mask; in dwmac1000_core_init()
542 mac->link.speed_mask = GMAC_CONTROL_PS | GMAC_CONTROL_FES; in dwmac1000_setup()
Dcommon.h399 u32 speed_mask; member
Ddwmac4_core.c43 value &= hw->link.speed_mask; in dwmac4_core_init()
821 mac->link.speed_mask = GMAC_CONFIG_FES | GMAC_CONFIG_PS; in dwmac4_setup()
Ddwmac-sun8i.c1014 mac->link.speed_mask = GENMASK(3, 2) | EMAC_LOOPBACK; in sun8i_dwmac_setup()
Dstmmac_main.c868 ctrl &= ~priv->hw->link.speed_mask; in stmmac_adjust_link()
/Linux-v4.19/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c995 u32 speed_mask = 0; in _bnxt_fw_to_ethtool_adv_spds() local
1000 speed_mask |= ADVERTISED_100baseT_Full; in _bnxt_fw_to_ethtool_adv_spds()
1002 speed_mask |= ADVERTISED_1000baseT_Full; in _bnxt_fw_to_ethtool_adv_spds()
1004 speed_mask |= ADVERTISED_2500baseX_Full; in _bnxt_fw_to_ethtool_adv_spds()
1006 speed_mask |= ADVERTISED_10000baseT_Full; in _bnxt_fw_to_ethtool_adv_spds()
1008 speed_mask |= ADVERTISED_40000baseCR4_Full; in _bnxt_fw_to_ethtool_adv_spds()
1011 speed_mask |= ADVERTISED_Pause; in _bnxt_fw_to_ethtool_adv_spds()
1013 speed_mask |= ADVERTISED_Asym_Pause; in _bnxt_fw_to_ethtool_adv_spds()
1015 speed_mask |= ADVERTISED_Pause | ADVERTISED_Asym_Pause; in _bnxt_fw_to_ethtool_adv_spds()
1017 return speed_mask; in _bnxt_fw_to_ethtool_adv_spds()
/Linux-v4.19/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_link.c5531 u16 speed_mask, in bnx2x_get_link_speed_duplex() argument
5543 switch (speed_mask) { in bnx2x_get_link_speed_duplex()
5581 speed_mask); in bnx2x_get_link_speed_duplex()
5601 speed_mask); in bnx2x_get_link_speed_duplex()
5624 u16 gp_status, duplex = DUPLEX_HALF, link_up = 0, speed_mask; in bnx2x_link_settings_status() local
5636 speed_mask = gp_status & GP_STATUS_SPEED_MASK; in bnx2x_link_settings_status()
5638 gp_status, link_up, speed_mask); in bnx2x_link_settings_status()
5639 rc = bnx2x_get_link_speed_duplex(phy, params, vars, link_up, speed_mask, in bnx2x_link_settings_status()