Searched refs:qm_glbl_sts0 (Results 1 – 4 of 4) sorted by relevance
/linux-6.6.21/drivers/accel/habanalabs/include/gaudi/ |
D | gaudi_masks.h | 328 #define IS_QM_IDLE(qm_glbl_sts0, qm_cgm_sts) \ argument 329 ((((qm_glbl_sts0) & QM_IDLE_MASK) == QM_IDLE_MASK) && \
|
/linux-6.6.21/drivers/accel/habanalabs/goya/ |
D | goya.c | 99 #define IS_QM_IDLE(engine, qm_glbl_sts0) \ argument 100 (((qm_glbl_sts0) & engine##_QM_IDLE_MASK) == engine##_QM_IDLE_MASK) 101 #define IS_DMA_QM_IDLE(qm_glbl_sts0) IS_QM_IDLE(DMA, qm_glbl_sts0) argument 102 #define IS_TPC_QM_IDLE(qm_glbl_sts0) IS_QM_IDLE(TPC, qm_glbl_sts0) argument 103 #define IS_MME_QM_IDLE(qm_glbl_sts0) IS_QM_IDLE(MME, qm_glbl_sts0) argument 5137 u32 qm_glbl_sts0, cmdq_glbl_sts0, dma_core_sts0, tpc_cfg_sts, in goya_is_device_idle() local 5150 qm_glbl_sts0 = RREG32(mmDMA_QM_0_GLBL_STS0 + i * offset); in goya_is_device_idle() 5152 is_eng_idle = IS_DMA_QM_IDLE(qm_glbl_sts0) && in goya_is_device_idle() 5160 qm_glbl_sts0, dma_core_sts0); in goya_is_device_idle() 5171 qm_glbl_sts0 = RREG32(mmTPC0_QM_GLBL_STS0 + i * offset); in goya_is_device_idle() [all …]
|
/linux-6.6.21/drivers/accel/habanalabs/gaudi/ |
D | gaudi.c | 5927 u32 qm_glbl_sts0, qm_cgm_sts; in gaudi_debugfs_read_dma() local 5945 qm_glbl_sts0 = RREG32(mmDMA0_QM_GLBL_STS0 + qm_offset); in gaudi_debugfs_read_dma() 5947 is_eng_idle = IS_QM_IDLE(qm_glbl_sts0, qm_cgm_sts) && in gaudi_debugfs_read_dma() 5955 qm_glbl_sts0 = RREG32(mmDMA0_QM_GLBL_STS0 + qm_offset); in gaudi_debugfs_read_dma() 5957 is_eng_idle = IS_QM_IDLE(qm_glbl_sts0, qm_cgm_sts) && in gaudi_debugfs_read_dma() 8021 u32 qm_glbl_sts0, qm_cgm_sts, dma_core_sts0, tpc_cfg_sts, mme_arch_sts; in gaudi_is_device_idle() local 8035 qm_glbl_sts0 = RREG32(mmDMA0_QM_GLBL_STS0 + offset); in gaudi_is_device_idle() 8038 is_eng_idle = IS_QM_IDLE(qm_glbl_sts0, qm_cgm_sts) && in gaudi_is_device_idle() 8046 is_eng_idle ? "Y" : "N", qm_glbl_sts0, in gaudi_is_device_idle() 8057 qm_glbl_sts0 = RREG32(mmTPC0_QM_GLBL_STS0 + offset); in gaudi_is_device_idle() [all …]
|
/linux-6.6.21/drivers/accel/habanalabs/gaudi2/ |
D | gaudi2.c | 100 #define IS_QM_IDLE(qm_glbl_sts0, qm_glbl_sts1, qm_cgm_sts) \ argument 101 ((((qm_glbl_sts0) & (QM_IDLE_MASK)) == (QM_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 7043 qm_glbl_sts0 = RREG32(mmDCORE0_EDMA0_QM_GLBL_STS0 + 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() 7056 qm_glbl_sts0, dma_core_sts0, dma_core_sts1); 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 7084 qm_glbl_sts0 = RREG32(mmPDMA0_QM_GLBL_STS0 + 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() 7097 qm_glbl_sts0, dma_core_sts0, dma_core_sts1); in gaudi2_get_pdma_idle_status() [all …]
|