Searched refs:p_link (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.4/drivers/net/ethernet/qlogic/qed/ |
D | qed_mcp.c | 1248 struct qed_mcp_link_state *p_link) in qed_mcp_read_eee_config() argument 1252 p_link->eee_adv_caps = 0; in qed_mcp_read_eee_config() 1253 p_link->eee_lp_adv_caps = 0; in qed_mcp_read_eee_config() 1258 p_link->eee_active = !!(eee_status & EEE_ACTIVE_BIT); in qed_mcp_read_eee_config() 1261 p_link->eee_adv_caps |= QED_EEE_1G_ADV; in qed_mcp_read_eee_config() 1263 p_link->eee_adv_caps |= QED_EEE_10G_ADV; in qed_mcp_read_eee_config() 1266 p_link->eee_lp_adv_caps |= QED_EEE_1G_ADV; in qed_mcp_read_eee_config() 1268 p_link->eee_lp_adv_caps |= QED_EEE_10G_ADV; in qed_mcp_read_eee_config() 1320 struct qed_mcp_link_state *p_link; in qed_mcp_handle_link_change() local 1327 p_link = &p_hwfn->mcp_info->link_output; in qed_mcp_handle_link_change() [all …]
|
D | qed_vf.c | 1545 struct qed_mcp_link_state *p_link, in __qed_vf_get_link_state() argument 1548 memset(p_link, 0, sizeof(*p_link)); in __qed_vf_get_link_state() 1550 p_link->link_up = p_bulletin->link_up; in __qed_vf_get_link_state() 1551 p_link->speed = p_bulletin->speed; in __qed_vf_get_link_state() 1552 p_link->full_duplex = p_bulletin->full_duplex; in __qed_vf_get_link_state() 1553 p_link->an = p_bulletin->autoneg; in __qed_vf_get_link_state() 1554 p_link->an_complete = p_bulletin->autoneg_complete; in __qed_vf_get_link_state() 1555 p_link->parallel_detection = p_bulletin->parallel_detection; in __qed_vf_get_link_state() 1556 p_link->pfc_enabled = p_bulletin->pfc_enabled; in __qed_vf_get_link_state() 1557 p_link->partner_adv_speed = p_bulletin->partner_adv_speed; in __qed_vf_get_link_state() [all …]
|
D | qed_dev.c | 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() [all …]
|
D | qed_mcp.h | 994 struct qed_mcp_link_state *p_link, 998 struct qed_mcp_link_state *p_link,
|
D | qed_vf.h | 1038 struct qed_mcp_link_state *p_link, 1223 struct qed_mcp_link_state *p_link, in __qed_vf_get_link_state() argument
|
D | qed_sriov.c | 3806 struct qed_mcp_link_state *p_link, in qed_iov_get_link() argument 3821 if (p_link) in qed_iov_get_link() 3822 __qed_vf_get_link_state(p_hwfn, p_link, p_bulletin); in qed_iov_get_link() 4357 struct qed_mcp_link_state *p_link; in qed_iov_configure_tx_rate() local 4370 p_link = &QED_LEADING_HWFN(p_hwfn->cdev)->mcp_info->link_output; in qed_iov_configure_tx_rate() 4373 p_link->speed); in qed_iov_configure_tx_rate()
|
D | qed_cxt.c | 1502 struct qed_mcp_link_state *p_link; in qed_qm_init_pf() local 1508 p_link = &QED_LEADING_HWFN(p_hwfn->cdev)->mcp_info->link_output; in qed_qm_init_pf() 1525 params.link_speed = p_link->speed; in qed_qm_init_pf()
|