Home
last modified time | relevance | path

Searched refs:p_link (Results 1 – 6 of 6) sorted by relevance

/drivers/net/ethernet/qlogic/qed/
Dqed_mcp.c1225 struct qed_mcp_link_state *p_link) in qed_mcp_read_eee_config() argument
1229 p_link->eee_adv_caps = 0; in qed_mcp_read_eee_config()
1230 p_link->eee_lp_adv_caps = 0; in qed_mcp_read_eee_config()
1235 p_link->eee_active = !!(eee_status & EEE_ACTIVE_BIT); in qed_mcp_read_eee_config()
1238 p_link->eee_adv_caps |= QED_EEE_1G_ADV; in qed_mcp_read_eee_config()
1240 p_link->eee_adv_caps |= QED_EEE_10G_ADV; in qed_mcp_read_eee_config()
1243 p_link->eee_lp_adv_caps |= QED_EEE_1G_ADV; in qed_mcp_read_eee_config()
1245 p_link->eee_lp_adv_caps |= QED_EEE_10G_ADV; in qed_mcp_read_eee_config()
1297 struct qed_mcp_link_state *p_link; in qed_mcp_handle_link_change() local
1304 p_link = &p_hwfn->mcp_info->link_output; in qed_mcp_handle_link_change()
[all …]
Dqed_vf.c1539 struct qed_mcp_link_state *p_link, in __qed_vf_get_link_state() argument
1542 memset(p_link, 0, sizeof(*p_link)); in __qed_vf_get_link_state()
1544 p_link->link_up = p_bulletin->link_up; in __qed_vf_get_link_state()
1545 p_link->speed = p_bulletin->speed; in __qed_vf_get_link_state()
1546 p_link->full_duplex = p_bulletin->full_duplex; in __qed_vf_get_link_state()
1547 p_link->an = p_bulletin->autoneg; in __qed_vf_get_link_state()
1548 p_link->an_complete = p_bulletin->autoneg_complete; in __qed_vf_get_link_state()
1549 p_link->parallel_detection = p_bulletin->parallel_detection; in __qed_vf_get_link_state()
1550 p_link->pfc_enabled = p_bulletin->pfc_enabled; in __qed_vf_get_link_state()
1551 p_link->partner_adv_speed = p_bulletin->partner_adv_speed; in __qed_vf_get_link_state()
[all …]
Dqed_dev.c5094 struct qed_mcp_link_state *p_link; in __qed_configure_vport_wfq() local
5097 p_link = &p_hwfn->cdev->hwfns[0].mcp_info->link_output; in __qed_configure_vport_wfq()
5099 if (!p_link->min_pf_rate) { in __qed_configure_vport_wfq()
5105 rc = qed_init_wfq_param(p_hwfn, vp_id, rate, p_link->min_pf_rate); in __qed_configure_vport_wfq()
5109 p_link->min_pf_rate); in __qed_configure_vport_wfq()
5210 struct qed_mcp_link_state *p_link, in __qed_configure_pf_max_bandwidth() argument
5217 if (!p_link->line_speed && (max_bw != 100)) in __qed_configure_pf_max_bandwidth()
5220 p_link->speed = (p_link->line_speed * max_bw) / 100; in __qed_configure_pf_max_bandwidth()
5221 p_hwfn->qm_info.pf_rl = p_link->speed; in __qed_configure_pf_max_bandwidth()
5235 p_link->speed); in __qed_configure_pf_max_bandwidth()
[all …]
Dqed_mcp.h1045 struct qed_mcp_link_state *p_link,
1049 struct qed_mcp_link_state *p_link,
Dqed_vf.h1041 struct qed_mcp_link_state *p_link,
1233 struct qed_mcp_link_state *p_link, in __qed_vf_get_link_state() argument
Dqed_sriov.c3795 struct qed_mcp_link_state *p_link, in qed_iov_get_link() argument
3810 if (p_link) in qed_iov_get_link()
3811 __qed_vf_get_link_state(p_hwfn, p_link, p_bulletin); in qed_iov_get_link()