Home
last modified time | relevance | path

Searched refs:dma_core_sts0 (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.1/drivers/misc/habanalabs/include/gaudi/
Dgaudi_masks.h332 #define IS_DMA_IDLE(dma_core_sts0) \ argument
333 !(dma_core_sts0 & DMA0_CORE_STS0_BUSY_MASK)
/Linux-v6.1/drivers/misc/habanalabs/goya/
Dgoya.c113 #define IS_DMA_IDLE(dma_core_sts0) \ argument
114 !((dma_core_sts0) & DMA_CH_0_STS0_DMA_BUSY_MASK)
5132 u32 qm_glbl_sts0, cmdq_glbl_sts0, dma_core_sts0, tpc_cfg_sts, in goya_is_device_idle() local
5146 dma_core_sts0 = RREG32(mmDMA_CH_0_STS0 + i * offset); in goya_is_device_idle()
5148 IS_DMA_IDLE(dma_core_sts0); in goya_is_device_idle()
5155 qm_glbl_sts0, dma_core_sts0); in goya_is_device_idle()
/Linux-v6.1/drivers/misc/habanalabs/gaudi/
Dgaudi.c5998 u32 dma_core_sts0, err_cause, cfg1, size_left, pos, size_to_dma; in gaudi_debugfs_read_dma() local
6016 dma_core_sts0 = RREG32(mmDMA0_CORE_STS0 + dma_offset); in gaudi_debugfs_read_dma()
6020 IS_DMA_IDLE(dma_core_sts0); in gaudi_debugfs_read_dma()
6026 dma_core_sts0 = RREG32(mmDMA0_CORE_STS0 + dma_offset); in gaudi_debugfs_read_dma()
6030 IS_DMA_IDLE(dma_core_sts0); in gaudi_debugfs_read_dma()
8091 u32 qm_glbl_sts0, qm_cgm_sts, dma_core_sts0, tpc_cfg_sts, mme_arch_sts; in gaudi_is_device_idle() local
8107 dma_core_sts0 = RREG32(mmDMA0_CORE_STS0 + offset); in gaudi_is_device_idle()
8109 IS_DMA_IDLE(dma_core_sts0); in gaudi_is_device_idle()
8117 qm_cgm_sts, dma_core_sts0); in gaudi_is_device_idle()