Lines Matching refs:p_ptt
362 struct qed_ptt *p_ptt, in qed_sp_fcoe_func_stop() argument
384 active_segs = qed_rd(p_hwfn, p_ptt, TM_REG_PF_ENABLE_TASK); in qed_sp_fcoe_func_stop()
386 qed_wr(p_hwfn, p_ptt, TM_REG_PF_ENABLE_TASK, active_segs); in qed_sp_fcoe_func_stop()
666 struct qed_ptt *p_ptt, in _qed_fcoe_get_tstats() argument
675 qed_memcpy_from(p_hwfn, p_ptt, &tstats, tstats_addr, sizeof(tstats)); in _qed_fcoe_get_tstats()
698 struct qed_ptt *p_ptt, in _qed_fcoe_get_pstats() argument
707 qed_memcpy_from(p_hwfn, p_ptt, &pstats, pstats_addr, sizeof(pstats)); in _qed_fcoe_get_pstats()
721 struct qed_ptt *p_ptt; in qed_fcoe_get_stats() local
725 p_ptt = qed_ptt_acquire(p_hwfn); in qed_fcoe_get_stats()
727 if (!p_ptt) { in qed_fcoe_get_stats()
732 _qed_fcoe_get_tstats(p_hwfn, p_ptt, p_stats); in qed_fcoe_get_stats()
733 _qed_fcoe_get_pstats(p_hwfn, p_ptt, p_stats); in qed_fcoe_get_stats()
735 qed_ptt_release(p_hwfn, p_ptt); in qed_fcoe_get_stats()
795 struct qed_ptt *p_ptt; in qed_fcoe_stop() local
809 p_ptt = qed_ptt_acquire(QED_AFFIN_HWFN(cdev)); in qed_fcoe_stop()
810 if (!p_ptt) in qed_fcoe_stop()
814 rc = qed_sp_fcoe_func_stop(QED_AFFIN_HWFN(cdev), p_ptt, in qed_fcoe_stop()
817 qed_ptt_release(QED_AFFIN_HWFN(cdev), p_ptt); in qed_fcoe_stop()