Lines Matching refs:link_temp
3943 u32 port_cfg_addr, link_temp, nvm_cfg_addr, device_capabilities; in qed_hw_get_nvm_info() local
4011 link_temp = qed_rd(p_hwfn, p_ptt, in qed_hw_get_nvm_info()
4014 link_temp &= NVM_CFG1_PORT_DRV_SPEED_CAPABILITY_MASK_MASK; in qed_hw_get_nvm_info()
4015 link->speed.advertised_speeds = link_temp; in qed_hw_get_nvm_info()
4017 link_temp = link->speed.advertised_speeds; in qed_hw_get_nvm_info()
4018 p_hwfn->mcp_info->link_capabilities.speed_capabilities = link_temp; in qed_hw_get_nvm_info()
4020 link_temp = qed_rd(p_hwfn, p_ptt, in qed_hw_get_nvm_info()
4023 switch ((link_temp & NVM_CFG1_PORT_DRV_LINK_SPEED_MASK) >> in qed_hw_get_nvm_info()
4050 DP_NOTICE(p_hwfn, "Unknown Speed in 0x%08x\n", link_temp); in qed_hw_get_nvm_info()
4056 link_temp &= NVM_CFG1_PORT_DRV_FLOW_CONTROL_MASK; in qed_hw_get_nvm_info()
4057 link_temp >>= NVM_CFG1_PORT_DRV_FLOW_CONTROL_OFFSET; in qed_hw_get_nvm_info()
4058 link->pause.autoneg = !!(link_temp & in qed_hw_get_nvm_info()
4060 link->pause.forced_rx = !!(link_temp & in qed_hw_get_nvm_info()
4062 link->pause.forced_tx = !!(link_temp & in qed_hw_get_nvm_info()
4067 link_temp = qed_rd(p_hwfn, p_ptt, port_cfg_addr + in qed_hw_get_nvm_info()
4069 link_temp &= NVM_CFG1_PORT_EEE_POWER_SAVING_MODE_MASK; in qed_hw_get_nvm_info()
4070 link_temp >>= NVM_CFG1_PORT_EEE_POWER_SAVING_MODE_OFFSET; in qed_hw_get_nvm_info()
4073 switch (link_temp) { in qed_hw_get_nvm_info()