Lines Matching refs:speed_mask
1851 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()
2069 *speed_mask |= NVM_CFG1_PORT_DRV_SPEED_CAPABILITY_MASK_20G; in qed_lp_caps_to_speed_mask()
2071 *speed_mask |= NVM_CFG1_PORT_DRV_SPEED_CAPABILITY_MASK_25G; in qed_lp_caps_to_speed_mask()
2073 *speed_mask |= NVM_CFG1_PORT_DRV_SPEED_CAPABILITY_MASK_40G; in qed_lp_caps_to_speed_mask()
2075 *speed_mask |= NVM_CFG1_PORT_DRV_SPEED_CAPABILITY_MASK_50G; in qed_lp_caps_to_speed_mask()
2077 *speed_mask |= NVM_CFG1_PORT_DRV_SPEED_CAPABILITY_MASK_BB_100G; in qed_lp_caps_to_speed_mask()
2087 u32 media_type, speed_mask; in qed_fill_link() local
2146 qed_lp_caps_to_speed_mask(link.partner_adv_speed, &speed_mask); in qed_fill_link()
2147 qed_fill_link_capability(hwfn, ptt, speed_mask, if_link->lp_caps); in qed_fill_link()