Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/accel/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.6/drivers/accel/habanalabs/goya/
Dgoya.c113 #define IS_DMA_IDLE(dma_core_sts0) \ argument
114 !((dma_core_sts0) & DMA_CH_0_STS0_DMA_BUSY_MASK)
5137 u32 qm_glbl_sts0, cmdq_glbl_sts0, dma_core_sts0, tpc_cfg_sts, in goya_is_device_idle() local
5151 dma_core_sts0 = RREG32(mmDMA_CH_0_STS0 + i * offset); in goya_is_device_idle()
5153 IS_DMA_IDLE(dma_core_sts0); in goya_is_device_idle()
5160 qm_glbl_sts0, dma_core_sts0); in goya_is_device_idle()
/Linux-v6.6/drivers/accel/habanalabs/gaudi/
Dgaudi.c5926 u32 dma_core_sts0, err_cause, cfg1, size_left, pos, size_to_dma; in gaudi_debugfs_read_dma() local
5944 dma_core_sts0 = RREG32(mmDMA0_CORE_STS0 + dma_offset); in gaudi_debugfs_read_dma()
5948 IS_DMA_IDLE(dma_core_sts0); in gaudi_debugfs_read_dma()
5954 dma_core_sts0 = RREG32(mmDMA0_CORE_STS0 + dma_offset); in gaudi_debugfs_read_dma()
5958 IS_DMA_IDLE(dma_core_sts0); 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
8037 dma_core_sts0 = RREG32(mmDMA0_CORE_STS0 + offset); in gaudi_is_device_idle()
8039 IS_DMA_IDLE(dma_core_sts0); in gaudi_is_device_idle()
8047 qm_cgm_sts, dma_core_sts0); in gaudi_is_device_idle()
/Linux-v6.6/drivers/accel/habanalabs/gaudi2/
Dgaudi2.c90 #define IS_DMA_IDLE(dma_core_sts0) \ argument
91 (!((dma_core_sts0) & (DCORE0_EDMA0_CORE_STS0_BUSY_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
7040 dma_core_sts0 = RREG32(mmDCORE0_EDMA0_CORE_STS0 + offset); in gaudi2_get_edma_idle_status()
7048 IS_DMA_IDLE(dma_core_sts0) && !IS_DMA_HALTED(dma_core_sts1); 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
7081 dma_core_sts0 = RREG32(mmPDMA0_CORE_STS0 + offset); in gaudi2_get_pdma_idle_status()
7089 IS_DMA_IDLE(dma_core_sts0) && !IS_DMA_HALTED(dma_core_sts1); in gaudi2_get_pdma_idle_status()
7097 qm_glbl_sts0, dma_core_sts0, dma_core_sts1); in gaudi2_get_pdma_idle_status()