Lines Matching refs:p_caps

4071 	struct qed_mcp_link_capabilities *p_caps;  in qed_hw_get_nvm_info()  local
4119 p_caps = &p_hwfn->mcp_info->link_capabilities; in qed_hw_get_nvm_info()
4128 p_caps->speed_capabilities = link->speed.advertised_speeds; in qed_hw_get_nvm_info()
4163 p_caps->default_speed_autoneg = link->speed.autoneg; in qed_hw_get_nvm_info()
4176 p_caps->fec_default |= QED_FEC_MODE_NONE; in qed_hw_get_nvm_info()
4179 p_caps->fec_default |= QED_FEC_MODE_FIRECODE; in qed_hw_get_nvm_info()
4182 p_caps->fec_default |= QED_FEC_MODE_RS; in qed_hw_get_nvm_info()
4185 p_caps->fec_default |= QED_FEC_MODE_AUTO; in qed_hw_get_nvm_info()
4192 p_caps->fec_default = QED_FEC_MODE_UNSUPPORTED; in qed_hw_get_nvm_info()
4195 link->fec = p_caps->fec_default; in qed_hw_get_nvm_info()
4202 p_caps->default_eee = QED_MCP_EEE_ENABLED; in qed_hw_get_nvm_info()
4206 p_caps->default_eee = QED_MCP_EEE_DISABLED; in qed_hw_get_nvm_info()
4210 p_caps->eee_lpi_timer = EEE_TX_TIMER_USEC_BALANCED_TIME; in qed_hw_get_nvm_info()
4213 p_caps->eee_lpi_timer = in qed_hw_get_nvm_info()
4217 p_caps->eee_lpi_timer = EEE_TX_TIMER_USEC_LATENCY_TIME; in qed_hw_get_nvm_info()
4221 link->eee.tx_lpi_timer = p_caps->eee_lpi_timer; in qed_hw_get_nvm_info()
4225 p_caps->default_eee = QED_MCP_EEE_UNSUPPORTED; in qed_hw_get_nvm_info()
4301 p_caps->default_ext_speed_caps = ext_speed->advertised_speeds; in qed_hw_get_nvm_info()
4302 p_caps->default_ext_speed = ext_speed->forced_speed; in qed_hw_get_nvm_info()
4303 p_caps->default_ext_autoneg = ext_speed->autoneg; in qed_hw_get_nvm_info()
4304 p_caps->default_ext_fec = link->ext_fec_mode; in qed_hw_get_nvm_info()
4310 p_caps->default_ext_fec); in qed_hw_get_nvm_info()
4317 p_caps->default_eee, p_caps->eee_lpi_timer, in qed_hw_get_nvm_info()
4318 p_caps->fec_default); in qed_hw_get_nvm_info()
4513 struct qed_mcp_link_capabilities *p_caps; in qed_get_eee_caps() local
4516 p_caps = &p_hwfn->mcp_info->link_capabilities; in qed_get_eee_caps()
4517 if (p_caps->default_eee == QED_MCP_EEE_UNSUPPORTED) in qed_get_eee_caps()
4520 p_caps->eee_speed_caps = 0; in qed_get_eee_caps()
4527 p_caps->eee_speed_caps |= QED_EEE_1G_ADV; in qed_get_eee_caps()
4529 p_caps->eee_speed_caps |= QED_EEE_10G_ADV; in qed_get_eee_caps()