Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/qlogic/qed/
Dqed_mcp.c1274 struct qed_mcp_link_state *p_link) in qed_mcp_read_eee_config() argument
1278 p_link->eee_adv_caps = 0; in qed_mcp_read_eee_config()
1279 p_link->eee_lp_adv_caps = 0; in qed_mcp_read_eee_config()
1284 p_link->eee_active = !!(eee_status & EEE_ACTIVE_BIT); in qed_mcp_read_eee_config()
1287 p_link->eee_adv_caps |= QED_EEE_1G_ADV; in qed_mcp_read_eee_config()
1289 p_link->eee_adv_caps |= QED_EEE_10G_ADV; in qed_mcp_read_eee_config()
1292 p_link->eee_lp_adv_caps |= QED_EEE_1G_ADV; in qed_mcp_read_eee_config()
1294 p_link->eee_lp_adv_caps |= QED_EEE_10G_ADV; in qed_mcp_read_eee_config()
1346 struct qed_mcp_link_state *p_link; in qed_mcp_handle_link_change() local
1353 p_link = &p_hwfn->mcp_info->link_output; in qed_mcp_handle_link_change()
[all …]
Dqed_vf.c1540 struct qed_mcp_link_state *p_link, in __qed_vf_get_link_state() argument
1543 memset(p_link, 0, sizeof(*p_link)); in __qed_vf_get_link_state()
1545 p_link->link_up = p_bulletin->link_up; in __qed_vf_get_link_state()
1546 p_link->speed = p_bulletin->speed; in __qed_vf_get_link_state()
1547 p_link->full_duplex = p_bulletin->full_duplex; in __qed_vf_get_link_state()
1548 p_link->an = p_bulletin->autoneg; in __qed_vf_get_link_state()
1549 p_link->an_complete = p_bulletin->autoneg_complete; in __qed_vf_get_link_state()
1550 p_link->parallel_detection = p_bulletin->parallel_detection; in __qed_vf_get_link_state()
1551 p_link->pfc_enabled = p_bulletin->pfc_enabled; in __qed_vf_get_link_state()
1552 p_link->partner_adv_speed = p_bulletin->partner_adv_speed; in __qed_vf_get_link_state()
[all …]
Dqed_dev.c5150 struct qed_mcp_link_state *p_link; in __qed_configure_vport_wfq() local
5153 p_link = &p_hwfn->cdev->hwfns[0].mcp_info->link_output; in __qed_configure_vport_wfq()
5155 if (!p_link->min_pf_rate) { in __qed_configure_vport_wfq()
5161 rc = qed_init_wfq_param(p_hwfn, vp_id, rate, p_link->min_pf_rate); in __qed_configure_vport_wfq()
5165 p_link->min_pf_rate); in __qed_configure_vport_wfq()
5266 struct qed_mcp_link_state *p_link, in __qed_configure_pf_max_bandwidth() argument
5273 if (!p_link->line_speed && (max_bw != 100)) in __qed_configure_pf_max_bandwidth()
5276 p_link->speed = (p_link->line_speed * max_bw) / 100; in __qed_configure_pf_max_bandwidth()
5277 p_hwfn->qm_info.pf_rl = p_link->speed; in __qed_configure_pf_max_bandwidth()
5291 p_link->speed); in __qed_configure_pf_max_bandwidth()
[all …]
Dqed_mcp.h1083 struct qed_mcp_link_state *p_link,
1087 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.c3823 struct qed_mcp_link_state *p_link, in qed_iov_get_link() argument
3838 if (p_link) in qed_iov_get_link()
3839 __qed_vf_get_link_state(p_hwfn, p_link, p_bulletin); in qed_iov_get_link()