Searched refs:p_link (Results 1 – 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/ |
D | qed_mcp.c | 1237 struct qed_mcp_link_state *p_link) in qed_mcp_read_eee_config() argument 1241 p_link->eee_adv_caps = 0; in qed_mcp_read_eee_config() 1242 p_link->eee_lp_adv_caps = 0; in qed_mcp_read_eee_config() 1247 p_link->eee_active = !!(eee_status & EEE_ACTIVE_BIT); in qed_mcp_read_eee_config() 1250 p_link->eee_adv_caps |= QED_EEE_1G_ADV; in qed_mcp_read_eee_config() 1252 p_link->eee_adv_caps |= QED_EEE_10G_ADV; in qed_mcp_read_eee_config() 1255 p_link->eee_lp_adv_caps |= QED_EEE_1G_ADV; in qed_mcp_read_eee_config() 1257 p_link->eee_lp_adv_caps |= QED_EEE_10G_ADV; in qed_mcp_read_eee_config() 1309 struct qed_mcp_link_state *p_link; in qed_mcp_handle_link_change() local 1316 p_link = &p_hwfn->mcp_info->link_output; in qed_mcp_handle_link_change() [all …]
|
D | qed_vf.c | 1532 struct qed_mcp_link_state *p_link, in __qed_vf_get_link_state() argument 1535 memset(p_link, 0, sizeof(*p_link)); in __qed_vf_get_link_state() 1537 p_link->link_up = p_bulletin->link_up; in __qed_vf_get_link_state() 1538 p_link->speed = p_bulletin->speed; in __qed_vf_get_link_state() 1539 p_link->full_duplex = p_bulletin->full_duplex; in __qed_vf_get_link_state() 1540 p_link->an = p_bulletin->autoneg; in __qed_vf_get_link_state() 1541 p_link->an_complete = p_bulletin->autoneg_complete; in __qed_vf_get_link_state() 1542 p_link->parallel_detection = p_bulletin->parallel_detection; in __qed_vf_get_link_state() 1543 p_link->pfc_enabled = p_bulletin->pfc_enabled; in __qed_vf_get_link_state() 1544 p_link->partner_adv_speed = p_bulletin->partner_adv_speed; in __qed_vf_get_link_state() [all …]
|
D | qed_dev.c | 5053 struct qed_mcp_link_state *p_link; in __qed_configure_vport_wfq() local 5056 p_link = &p_hwfn->cdev->hwfns[0].mcp_info->link_output; in __qed_configure_vport_wfq() 5058 if (!p_link->min_pf_rate) { in __qed_configure_vport_wfq() 5064 rc = qed_init_wfq_param(p_hwfn, vp_id, rate, p_link->min_pf_rate); in __qed_configure_vport_wfq() 5068 p_link->min_pf_rate); in __qed_configure_vport_wfq() 5169 struct qed_mcp_link_state *p_link, in __qed_configure_pf_max_bandwidth() argument 5176 if (!p_link->line_speed && (max_bw != 100)) in __qed_configure_pf_max_bandwidth() 5179 p_link->speed = (p_link->line_speed * max_bw) / 100; in __qed_configure_pf_max_bandwidth() 5180 p_hwfn->qm_info.pf_rl = p_link->speed; in __qed_configure_pf_max_bandwidth() 5194 p_link->speed); in __qed_configure_pf_max_bandwidth() [all …]
|
D | qed_mcp.h | 1031 struct qed_mcp_link_state *p_link, 1035 struct qed_mcp_link_state *p_link,
|
D | qed_vf.h | 1011 struct qed_mcp_link_state *p_link, 1196 struct qed_mcp_link_state *p_link, in __qed_vf_get_link_state() argument
|
D | qed_sriov.c | 3784 struct qed_mcp_link_state *p_link, in qed_iov_get_link() argument 3799 if (p_link) in qed_iov_get_link() 3800 __qed_vf_get_link_state(p_hwfn, p_link, p_bulletin); in qed_iov_get_link()
|