Lines Matching refs:qm_glbl_sts1
100 #define IS_QM_IDLE(qm_glbl_sts0, qm_glbl_sts1, qm_cgm_sts) \ argument
102 (((qm_glbl_sts1) & (QM_ARC_IDLE_MASK)) == (QM_ARC_IDLE_MASK)) && \
7016 u32 qm_glbl_sts0, qm_glbl_sts1, qm_cgm_sts, dma_core_sts0, dma_core_sts1; in gaudi2_get_edma_idle_status() local
7044 qm_glbl_sts1 = RREG32(mmDCORE0_EDMA0_QM_GLBL_STS1 + offset); in gaudi2_get_edma_idle_status()
7047 is_eng_idle = IS_QM_IDLE(qm_glbl_sts0, qm_glbl_sts1, qm_cgm_sts) && in gaudi2_get_edma_idle_status()
7066 u32 qm_glbl_sts0, qm_glbl_sts1, qm_cgm_sts, dma_core_sts0, dma_core_sts1; in gaudi2_get_pdma_idle_status() local
7085 qm_glbl_sts1 = RREG32(mmPDMA0_QM_GLBL_STS1 + offset); in gaudi2_get_pdma_idle_status()
7088 is_eng_idle = IS_QM_IDLE(qm_glbl_sts0, qm_glbl_sts1, qm_cgm_sts) && in gaudi2_get_pdma_idle_status()
7108 u32 qm_glbl_sts0, qm_glbl_sts1, qm_cgm_sts; in gaudi2_get_nic_idle_status() local
7132 qm_glbl_sts1 = RREG32(mmNIC0_QM0_GLBL_STS1 + offset); in gaudi2_get_nic_idle_status()
7135 is_eng_idle = IS_QM_IDLE(qm_glbl_sts0, qm_glbl_sts1, qm_cgm_sts); in gaudi2_get_nic_idle_status()
7152 u32 qm_glbl_sts0, qm_glbl_sts1, qm_cgm_sts, mme_arch_sts; in gaudi2_get_mme_idle_status() local
7169 qm_glbl_sts1 = RREG32(mmDCORE0_MME_QM_GLBL_STS1 + offset); in gaudi2_get_mme_idle_status()
7172 is_eng_idle = IS_QM_IDLE(qm_glbl_sts0, qm_glbl_sts1, qm_cgm_sts); in gaudi2_get_mme_idle_status()
7196 u32 tpc_cfg_sts, qm_glbl_sts0, qm_glbl_sts1, qm_cgm_sts; in gaudi2_is_tpc_engine_idle() local
7208 qm_glbl_sts1 = RREG32(mmDCORE0_TPC0_QM_GLBL_STS1 + offset); in gaudi2_is_tpc_engine_idle()
7211 is_eng_idle = IS_QM_IDLE(qm_glbl_sts0, qm_glbl_sts1, qm_cgm_sts) && in gaudi2_is_tpc_engine_idle()
7327 u32 qm_glbl_sts0, qm_glbl_sts1, qm_cgm_sts; in gaudi2_get_rotator_idle_status() local
7343 qm_glbl_sts1 = RREG32(mmROT0_QM_GLBL_STS1 + offset); in gaudi2_get_rotator_idle_status()
7346 is_eng_idle = IS_QM_IDLE(qm_glbl_sts0, qm_glbl_sts1, qm_cgm_sts); in gaudi2_get_rotator_idle_status()
7354 qm_glbl_sts0, qm_glbl_sts1, qm_cgm_sts); in gaudi2_get_rotator_idle_status()