Home
last modified time | relevance | path

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

/linux-6.12.1/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.c1529 struct qed_mcp_link_state *p_link, in __qed_vf_get_link_state() argument
1532 memset(p_link, 0, sizeof(*p_link)); in __qed_vf_get_link_state()
1534 p_link->link_up = p_bulletin->link_up; in __qed_vf_get_link_state()
1535 p_link->speed = p_bulletin->speed; in __qed_vf_get_link_state()
1536 p_link->full_duplex = p_bulletin->full_duplex; in __qed_vf_get_link_state()
1537 p_link->an = p_bulletin->autoneg; in __qed_vf_get_link_state()
1538 p_link->an_complete = p_bulletin->autoneg_complete; in __qed_vf_get_link_state()
1539 p_link->parallel_detection = p_bulletin->parallel_detection; in __qed_vf_get_link_state()
1540 p_link->pfc_enabled = p_bulletin->pfc_enabled; in __qed_vf_get_link_state()
1541 p_link->partner_adv_speed = p_bulletin->partner_adv_speed; in __qed_vf_get_link_state()
[all …]
Dqed_dev.c5155 struct qed_mcp_link_state *p_link; in __qed_configure_vport_wfq() local
5158 p_link = &p_hwfn->cdev->hwfns[0].mcp_info->link_output; in __qed_configure_vport_wfq()
5160 if (!p_link->min_pf_rate) { in __qed_configure_vport_wfq()
5166 rc = qed_init_wfq_param(p_hwfn, vp_id, rate, p_link->min_pf_rate); in __qed_configure_vport_wfq()
5170 p_link->min_pf_rate); in __qed_configure_vport_wfq()
5271 struct qed_mcp_link_state *p_link, in __qed_configure_pf_max_bandwidth() argument
5278 if (!p_link->line_speed && (max_bw != 100)) in __qed_configure_pf_max_bandwidth()
5281 p_link->speed = (p_link->line_speed * max_bw) / 100; in __qed_configure_pf_max_bandwidth()
5282 p_hwfn->qm_info.pf_rl = p_link->speed; in __qed_configure_pf_max_bandwidth()
5296 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()