Lines Matching refs:p_ptt
357 struct qed_ptt *p_ptt, in qed_sp_fcoe_func_stop() argument
379 active_segs = qed_rd(p_hwfn, p_ptt, TM_REG_PF_ENABLE_TASK); in qed_sp_fcoe_func_stop()
381 qed_wr(p_hwfn, p_ptt, TM_REG_PF_ENABLE_TASK, active_segs); in qed_sp_fcoe_func_stop()
661 struct qed_ptt *p_ptt, in _qed_fcoe_get_tstats() argument
670 qed_memcpy_from(p_hwfn, p_ptt, &tstats, tstats_addr, sizeof(tstats)); in _qed_fcoe_get_tstats()
693 struct qed_ptt *p_ptt, in _qed_fcoe_get_pstats() argument
702 qed_memcpy_from(p_hwfn, p_ptt, &pstats, pstats_addr, sizeof(pstats)); in _qed_fcoe_get_pstats()
716 struct qed_ptt *p_ptt; in qed_fcoe_get_stats() local
720 p_ptt = qed_ptt_acquire(p_hwfn); in qed_fcoe_get_stats()
722 if (!p_ptt) { in qed_fcoe_get_stats()
727 _qed_fcoe_get_tstats(p_hwfn, p_ptt, p_stats); in qed_fcoe_get_stats()
728 _qed_fcoe_get_pstats(p_hwfn, p_ptt, p_stats); in qed_fcoe_get_stats()
730 qed_ptt_release(p_hwfn, p_ptt); in qed_fcoe_get_stats()
790 struct qed_ptt *p_ptt; in qed_fcoe_stop() local
804 p_ptt = qed_ptt_acquire(QED_LEADING_HWFN(cdev)); in qed_fcoe_stop()
805 if (!p_ptt) in qed_fcoe_stop()
809 rc = qed_sp_fcoe_func_stop(QED_LEADING_HWFN(cdev), p_ptt, in qed_fcoe_stop()
812 qed_ptt_release(QED_LEADING_HWFN(cdev), p_ptt); in qed_fcoe_stop()