Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/scsi/aic94xx/
Daic94xx_scb.c702 static void set_speed_mask(u8 *speed_mask, struct asd_phy_desc *pd) in set_speed_mask() argument
705 *speed_mask = SAS_SPEED_60_DIS | SAS_SPEED_30_DIS | SAS_SPEED_15_DIS in set_speed_mask()
710 *speed_mask &= ~SAS_SPEED_60_DIS; in set_speed_mask()
714 *speed_mask &= ~SAS_SPEED_30_DIS; in set_speed_mask()
717 *speed_mask &= ~SAS_SPEED_15_DIS; in set_speed_mask()
722 *speed_mask |= SAS_SPEED_30_DIS; in set_speed_mask()
725 *speed_mask |= SAS_SPEED_15_DIS; in set_speed_mask()
735 *speed_mask &= ~SATA_SPEED_30_DIS; in set_speed_mask()
739 *speed_mask &= ~SATA_SPEED_15_DIS; in set_speed_mask()
744 *speed_mask |= SATA_SPEED_15_DIS; in set_speed_mask()
[all …]
Daic94xx_sas.h394 u8 speed_mask; member
/Linux-v6.1/drivers/net/ethernet/qlogic/qed/
Dqed_main.c1851 u32 speed_mask, board_cfg; in qed_fill_link_capability() local
1859 if (qed_mcp_trans_speed_mask(hwfn, ptt, &speed_mask)) in qed_fill_link_capability()
1860 speed_mask = 0xFFFFFFFF; in qed_fill_link_capability()
1867 media_type, tcvr_state, tcvr_type, speed_mask, board_cfg); in qed_fill_link_capability()
1877 capability |= speed_mask; in qed_fill_link_capability()
1945 capability |= speed_mask; in qed_fill_link_capability()
2059 static void qed_lp_caps_to_speed_mask(u32 caps, u32 *speed_mask) in qed_lp_caps_to_speed_mask() argument
2061 *speed_mask = 0; in qed_lp_caps_to_speed_mask()
2065 *speed_mask |= NVM_CFG1_PORT_DRV_SPEED_CAPABILITY_MASK_1G; in qed_lp_caps_to_speed_mask()
2067 *speed_mask |= NVM_CFG1_PORT_DRV_SPEED_CAPABILITY_MASK_10G; in qed_lp_caps_to_speed_mask()
[all …]
/Linux-v6.1/drivers/net/ethernet/stmicro/stmmac/
Ddwmac1000_core.c41 value &= ~hw->link.speed_mask; in dwmac1000_core_init()
545 mac->link.speed_mask = GMAC_CONTROL_PS | GMAC_CONTROL_FES; in dwmac1000_setup()
Ddwmac100_core.c182 mac->link.speed_mask = MAC_CONTROL_PS; in dwmac100_setup()
Dcommon.h482 u32 speed_mask; member
Ddwxgmac2_core.c29 tx &= ~hw->link.speed_mask; in dwxgmac2_core_init()
1587 mac->link.speed_mask = XGMAC_CONFIG_SS_MASK; in dwxgmac2_setup()
1624 mac->link.speed_mask = XLGMAC_CONFIG_SS; in dwxlgmac2_setup()
Ddwmac4_core.c34 value &= hw->link.speed_mask; in dwmac4_core_init()
1372 mac->link.speed_mask = GMAC_CONFIG_FES | GMAC_CONFIG_PS; in dwmac4_setup()
Ddwmac-sun8i.c1085 mac->link.speed_mask = GENMASK(3, 2) | EMAC_LOOPBACK; in sun8i_dwmac_setup()
Dstmmac_main.c992 ctrl = old_ctrl & ~priv->hw->link.speed_mask; in stmmac_mac_link_up()
/Linux-v6.1/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c1483 u32 speed_mask = 0; in _bnxt_fw_to_ethtool_adv_spds() local
1488 speed_mask |= ADVERTISED_100baseT_Full; in _bnxt_fw_to_ethtool_adv_spds()
1490 speed_mask |= ADVERTISED_1000baseT_Full; in _bnxt_fw_to_ethtool_adv_spds()
1492 speed_mask |= ADVERTISED_2500baseX_Full; in _bnxt_fw_to_ethtool_adv_spds()
1494 speed_mask |= ADVERTISED_10000baseT_Full; in _bnxt_fw_to_ethtool_adv_spds()
1496 speed_mask |= ADVERTISED_40000baseCR4_Full; in _bnxt_fw_to_ethtool_adv_spds()
1499 speed_mask |= ADVERTISED_Pause; in _bnxt_fw_to_ethtool_adv_spds()
1501 speed_mask |= ADVERTISED_Asym_Pause; in _bnxt_fw_to_ethtool_adv_spds()
1503 speed_mask |= ADVERTISED_Pause | ADVERTISED_Asym_Pause; in _bnxt_fw_to_ethtool_adv_spds()
1505 return speed_mask; in _bnxt_fw_to_ethtool_adv_spds()
/Linux-v6.1/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()