Lines Matching refs:p_link
5204 struct qed_mcp_link_state *p_link; in __qed_configure_vport_wfq() local
5207 p_link = &p_hwfn->cdev->hwfns[0].mcp_info->link_output; in __qed_configure_vport_wfq()
5209 if (!p_link->min_pf_rate) { in __qed_configure_vport_wfq()
5215 rc = qed_init_wfq_param(p_hwfn, vp_id, rate, p_link->min_pf_rate); in __qed_configure_vport_wfq()
5219 p_link->min_pf_rate); in __qed_configure_vport_wfq()
5320 struct qed_mcp_link_state *p_link, in __qed_configure_pf_max_bandwidth() argument
5327 if (!p_link->line_speed && (max_bw != 100)) in __qed_configure_pf_max_bandwidth()
5330 p_link->speed = (p_link->line_speed * max_bw) / 100; in __qed_configure_pf_max_bandwidth()
5331 p_hwfn->qm_info.pf_rl = p_link->speed; in __qed_configure_pf_max_bandwidth()
5345 p_link->speed); in __qed_configure_pf_max_bandwidth()
5363 struct qed_mcp_link_state *p_link; in qed_configure_pf_max_bandwidth() local
5366 p_link = &p_lead->mcp_info->link_output; in qed_configure_pf_max_bandwidth()
5373 p_link, max_bw); in qed_configure_pf_max_bandwidth()
5386 struct qed_mcp_link_state *p_link, in __qed_configure_pf_min_bandwidth() argument
5394 if (!p_link->line_speed) in __qed_configure_pf_min_bandwidth()
5397 p_link->min_pf_rate = (p_link->line_speed * min_bw) / 100; in __qed_configure_pf_min_bandwidth()
5403 p_link->min_pf_rate); in __qed_configure_pf_min_bandwidth()
5421 struct qed_mcp_link_state *p_link; in qed_configure_pf_min_bandwidth() local
5424 p_link = &p_lead->mcp_info->link_output; in qed_configure_pf_min_bandwidth()
5431 p_link, min_bw); in qed_configure_pf_min_bandwidth()
5437 if (p_link->min_pf_rate) { in qed_configure_pf_min_bandwidth()
5438 u32 min_rate = p_link->min_pf_rate; in qed_configure_pf_min_bandwidth()
5453 struct qed_mcp_link_state *p_link; in qed_clean_wfq_db() local
5455 p_link = &p_hwfn->mcp_info->link_output; in qed_clean_wfq_db()
5457 if (p_link->min_pf_rate) in qed_clean_wfq_db()
5459 p_link->min_pf_rate); in qed_clean_wfq_db()