Lines Matching refs:err_cause
5847 u32 cb_size, ctl, err_cause; in gaudi_memset_device_memory() local
5879 err_cause = RREG32(mmDMA0_CORE_ERR_CAUSE); in gaudi_memset_device_memory()
5880 if (err_cause && !hdev->init_done) { in gaudi_memset_device_memory()
5883 err_cause); in gaudi_memset_device_memory()
5884 WREG32(mmDMA0_CORE_ERR_CAUSE, err_cause); in gaudi_memset_device_memory()
5903 err_cause = RREG32(mmDMA0_CORE_ERR_CAUSE); in gaudi_memset_device_memory()
5904 if (err_cause) { in gaudi_memset_device_memory()
5905 dev_err(hdev->dev, "DMA Failed, cause 0x%x\n", err_cause); in gaudi_memset_device_memory()
5910 err_cause); in gaudi_memset_device_memory()
5911 WREG32(mmDMA0_CORE_ERR_CAUSE, err_cause); in gaudi_memset_device_memory()
6366 u32 err_cause, val; in gaudi_dma_core_transfer() local
6396 err_cause = RREG32(mmDMA0_CORE_ERR_CAUSE + dma_offset); in gaudi_dma_core_transfer()
6397 if (err_cause) { in gaudi_dma_core_transfer()
6398 dev_err(hdev->dev, "DMA Failed, cause 0x%x\n", err_cause); in gaudi_dma_core_transfer()
6401 err_cause); in gaudi_dma_core_transfer()
6402 WREG32(mmDMA0_CORE_ERR_CAUSE + dma_offset, err_cause); in gaudi_dma_core_transfer()
6413 u32 dma_core_sts0, err_cause, cfg1, size_left, pos, size_to_dma; in gaudi_debugfs_read_dma() local
6467 err_cause = RREG32(mmDMA0_CORE_ERR_CAUSE + dma_offset); in gaudi_debugfs_read_dma()
6468 if (err_cause) { in gaudi_debugfs_read_dma()
6471 err_cause); in gaudi_debugfs_read_dma()
6472 WREG32(mmDMA0_CORE_ERR_CAUSE + dma_offset, err_cause); in gaudi_debugfs_read_dma()
6941 u32 dma_id[2], dma_offset, err_cause[2], mask, i; in gaudi_get_razwi_initiator_dma_name() local
6973 err_cause[i] = RREG32(mmDMA0_CORE_ERR_CAUSE + dma_offset); in gaudi_get_razwi_initiator_dma_name()
6979 if ((err_cause[0] & mask) && !(err_cause[1] & mask)) in gaudi_get_razwi_initiator_dma_name()
6981 else if (!(err_cause[0] & mask) && (err_cause[1] & mask)) in gaudi_get_razwi_initiator_dma_name()
6987 if ((err_cause[0] & mask) && !(err_cause[1] & mask)) in gaudi_get_razwi_initiator_dma_name()
6989 else if (!(err_cause[0] & mask) && (err_cause[1] & mask)) in gaudi_get_razwi_initiator_dma_name()
6995 if ((err_cause[0] & mask) && !(err_cause[1] & mask)) in gaudi_get_razwi_initiator_dma_name()
6997 else if (!(err_cause[0] & mask) && (err_cause[1] & mask)) in gaudi_get_razwi_initiator_dma_name()
7003 if ((err_cause[0] & mask) && !(err_cause[1] & mask)) in gaudi_get_razwi_initiator_dma_name()
7005 else if (!(err_cause[0] & mask) && (err_cause[1] & mask)) in gaudi_get_razwi_initiator_dma_name()