Lines Matching refs:ptt

4092 static int qed_iov_copy_vf_msg(struct qed_hwfn *p_hwfn, struct qed_ptt *ptt,  in qed_iov_copy_vf_msg()  argument
4106 if (qed_dmae_host2host(p_hwfn, ptt, in qed_iov_copy_vf_msg()
4451 struct qed_ptt *ptt = qed_ptt_acquire(hwfn); in qed_sriov_disable() local
4456 if (!ptt) { in qed_sriov_disable()
4462 qed_clean_wfq_db(hwfn, ptt); in qed_sriov_disable()
4480 ptt, j); in qed_sriov_disable()
4486 qed_ptt_release(hwfn, ptt); in qed_sriov_disable()
4517 struct qed_ptt *ptt; in qed_sriov_enable() local
4531 ptt = qed_ptt_acquire(hwfn); in qed_sriov_enable()
4538 if (!ptt) { in qed_sriov_enable()
4549 rc = qed_iov_init_hw_for_vf(hwfn, ptt, &params); in qed_sriov_enable()
4552 qed_ptt_release(hwfn, ptt); in qed_sriov_enable()
4557 qed_ptt_release(hwfn, ptt); in qed_sriov_enable()
4568 ptt = qed_ptt_acquire(hwfn); in qed_sriov_enable()
4569 if (!ptt) { in qed_sriov_enable()
4575 rc = qed_mcp_ov_update_eswitch(hwfn, ptt, QED_OV_ESWITCH_VEB); in qed_sriov_enable()
4578 qed_ptt_release(hwfn, ptt); in qed_sriov_enable()
4757 struct qed_ptt *ptt; in qed_inform_vf_link_state() local
4762 ptt = qed_ptt_acquire(hwfn); in qed_inform_vf_link_state()
4763 if (!ptt) { in qed_inform_vf_link_state()
4768 if (!qed_iov_configure_tx_rate(hwfn, ptt, i, rate)) { in qed_inform_vf_link_state()
4773 qed_ptt_release(hwfn, ptt); in qed_inform_vf_link_state()
4901 struct qed_ptt *ptt; in qed_handle_vf_msg() local
4904 ptt = qed_ptt_acquire(hwfn); in qed_handle_vf_msg()
4905 if (!ptt) { in qed_handle_vf_msg()
4928 if (qed_iov_copy_vf_msg(hwfn, ptt, i)) in qed_handle_vf_msg()
4931 qed_iov_process_mbx_req(hwfn, ptt, i); in qed_handle_vf_msg()
4934 qed_ptt_release(hwfn, ptt); in qed_handle_vf_msg()
5015 struct qed_ptt *ptt; in qed_handle_bulletin_post() local
5018 ptt = qed_ptt_acquire(hwfn); in qed_handle_bulletin_post()
5019 if (!ptt) { in qed_handle_bulletin_post()
5026 qed_iov_post_vf_bulletin(hwfn, i, ptt); in qed_handle_bulletin_post()
5028 qed_ptt_release(hwfn, ptt); in qed_handle_bulletin_post()
5166 struct qed_ptt *ptt = qed_ptt_acquire(hwfn); in qed_iov_pf_task() local
5168 if (!ptt) { in qed_iov_pf_task()
5173 rc = qed_iov_vf_flr_cleanup(hwfn, ptt); in qed_iov_pf_task()
5177 qed_ptt_release(hwfn, ptt); in qed_iov_pf_task()