Lines Matching refs:fence_ptr
3073 u32 *fence_ptr; in goya_send_job_on_qman0() local
3090 fence_ptr = hl_asic_dma_pool_zalloc(hdev, 4, GFP_KERNEL, &fence_dma_addr); in goya_send_job_on_qman0()
3091 if (!fence_ptr) { in goya_send_job_on_qman0()
3118 rc = hl_poll_timeout_memory(hdev, fence_ptr, tmp, in goya_send_job_on_qman0()
3130 hl_asic_dma_pool_free(hdev, (void *) fence_ptr, fence_dma_addr); in goya_send_job_on_qman0()
3161 u32 *fence_ptr; in goya_test_queue() local
3166 fence_ptr = hl_asic_dma_pool_zalloc(hdev, 4, GFP_KERNEL, &fence_dma_addr); in goya_test_queue()
3167 if (!fence_ptr) { in goya_test_queue()
3174 *fence_ptr = 0; in goya_test_queue()
3203 rc = hl_poll_timeout_memory(hdev, fence_ptr, tmp, (tmp == fence_val), in goya_test_queue()
3218 hl_asic_dma_pool_free(hdev, (void *) fence_ptr, fence_dma_addr); in goya_test_queue()