Searched refs:qm_glbl_sts0 (Results 1 – 3 of 3) sorted by relevance
/linux-5.19.10/drivers/misc/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-5.19.10/drivers/misc/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 5153 u32 qm_glbl_sts0, cmdq_glbl_sts0, dma_core_sts0, tpc_cfg_sts, in goya_is_device_idle() local 5166 qm_glbl_sts0 = RREG32(mmDMA_QM_0_GLBL_STS0 + i * offset); in goya_is_device_idle() 5168 is_eng_idle = IS_DMA_QM_IDLE(qm_glbl_sts0) && in goya_is_device_idle() 5176 qm_glbl_sts0, dma_core_sts0); in goya_is_device_idle() 5187 qm_glbl_sts0 = RREG32(mmTPC0_QM_GLBL_STS0 + i * offset); in goya_is_device_idle() [all …]
|
/linux-5.19.10/drivers/misc/habanalabs/gaudi/ |
D | gaudi.c | 6111 u32 qm_glbl_sts0, qm_cgm_sts; in gaudi_debugfs_read_dma() local 6132 qm_glbl_sts0 = RREG32(mmDMA0_QM_GLBL_STS0 + qm_offset); in gaudi_debugfs_read_dma() 6134 is_eng_idle = IS_QM_IDLE(qm_glbl_sts0, qm_cgm_sts) && in gaudi_debugfs_read_dma() 6142 qm_glbl_sts0 = RREG32(mmDMA0_QM_GLBL_STS0 + qm_offset); in gaudi_debugfs_read_dma() 6144 is_eng_idle = IS_QM_IDLE(qm_glbl_sts0, qm_cgm_sts) && in gaudi_debugfs_read_dma() 8138 u32 qm_glbl_sts0, qm_cgm_sts, dma_core_sts0, tpc_cfg_sts, mme_arch_sts; in gaudi_is_device_idle() local 8152 qm_glbl_sts0 = RREG32(mmDMA0_QM_GLBL_STS0 + offset); in gaudi_is_device_idle() 8155 is_eng_idle = IS_QM_IDLE(qm_glbl_sts0, qm_cgm_sts) && in gaudi_is_device_idle() 8163 is_eng_idle ? "Y" : "N", qm_glbl_sts0, in gaudi_is_device_idle() 8174 qm_glbl_sts0 = RREG32(mmTPC0_QM_GLBL_STS0 + offset); in gaudi_is_device_idle() [all …]
|