/linux-6.1.9/drivers/misc/habanalabs/common/ |
D | hw_queue.c | 95 hdev->asic_funcs->ring_doorbell(hdev, q->hw_queue_id, q->pi); in hl_hw_queue_submit_bd() 129 q->hw_queue_id, num_of_entries); in ext_queue_sanity_checks() 143 num_of_entries, q->hw_queue_id); in ext_queue_sanity_checks() 174 q->hw_queue_id, num_of_entries); in int_queue_sanity_checks() 183 q->hw_queue_id, num_of_entries); in int_queue_sanity_checks() 210 q->hw_queue_id, num_of_entries); in hw_queue_sanity_checks() 228 int hl_hw_queue_send_cb_no_cmpl(struct hl_device *hdev, u32 hw_queue_id, in hl_hw_queue_send_cb_no_cmpl() argument 231 struct hl_hw_queue *q = &hdev->kernel_queues[hw_queue_id]; in hl_hw_queue_send_cb_no_cmpl() 271 struct hl_hw_queue *q = &hdev->kernel_queues[job->hw_queue_id]; in ext_queue_schedule_job() 336 struct hl_hw_queue *q = &hdev->kernel_queues[job->hw_queue_id]; in int_queue_schedule_job() [all …]
|
D | irq.c | 82 queue = &hdev->kernel_queues[cq->hw_queue_id]; in job_finish() 112 queue = &hdev->kernel_queues[job->hw_queue_id]; in cs_finish() 137 irq, cq->hw_queue_id); in hl_irq_handler_cq() 468 int hl_cq_init(struct hl_device *hdev, struct hl_cq *q, u32 hw_queue_id) in hl_cq_init() argument 479 q->hw_queue_id = hw_queue_id; in hl_cq_init()
|
D | habanalabs.h | 1041 u32 hw_queue_id; member 1065 u32 hw_queue_id; member 1551 void (*ring_doorbell)(struct hl_device *hdev, u32 hw_queue_id, u32 pi); 2011 u32 hw_queue_id; member 2051 u32 hw_queue_id; member 3503 int hl_hw_queue_send_cb_no_cmpl(struct hl_device *hdev, u32 hw_queue_id, 3509 void hl_hw_queue_inc_ci_kernel(struct hl_device *hdev, u32 hw_queue_id); 3516 int hl_cq_init(struct hl_device *hdev, struct hl_cq *q, u32 hw_queue_id); 3686 int hl_fw_send_cpu_message(struct hl_device *hdev, u32 hw_queue_id, u32 *msg,
|
D | command_submission.c | 313 parser.hw_queue_id = job->hw_queue_id; in cs_parser() 1503 job->hw_queue_id = chunk->queue_index; in cs_ioctl_default() 1505 cs->jobs_in_queue_cnt[job->hw_queue_id]++; in cs_ioctl_default() 1881 job->hw_queue_id = q_idx; in cs_ioctl_signal_wait_create_jobs() 1899 cs->jobs_in_queue_cnt[job->hw_queue_id]++; in cs_ioctl_signal_wait_create_jobs()
|
D | firmware_if.c | 247 int hl_fw_send_cpu_message(struct hl_device *hdev, u32 hw_queue_id, u32 *msg, in hl_fw_send_cpu_message() argument 250 struct hl_hw_queue *queue = &hdev->kernel_queues[hw_queue_id]; in hl_fw_send_cpu_message() 303 hl_hw_queue_inc_ci_kernel(hdev, hw_queue_id); in hl_fw_send_cpu_message()
|
D | debugfs.c | 194 job->hw_queue_id); in command_submission_jobs_show() 199 kref_read(&job->refcount), job->hw_queue_id); in command_submission_jobs_show()
|
/linux-6.1.9/drivers/misc/habanalabs/goya/ |
D | goyaP.h | 191 void goya_ring_doorbell(struct hl_device *hdev, u32 hw_queue_id, u32 pi); 203 int goya_test_queue(struct hl_device *hdev, u32 hw_queue_id);
|
D | goya.c | 2894 void goya_ring_doorbell(struct hl_device *hdev, u32 hw_queue_id, u32 pi) in goya_ring_doorbell() argument 2898 switch (hw_queue_id) { in goya_ring_doorbell() 2962 hw_queue_id); in goya_ring_doorbell() 2971 if (hw_queue_id == GOYA_QUEUE_ID_CPU_PQ) { in goya_ring_doorbell() 3155 int goya_test_queue(struct hl_device *hdev, u32 hw_queue_id) in goya_test_queue() argument 3170 hw_queue_id); in goya_test_queue() 3181 hw_queue_id); in goya_test_queue() 3193 rc = hl_hw_queue_send_cb_no_cmpl(hdev, hw_queue_id, in goya_test_queue() 3199 hw_queue_id); in goya_test_queue() 3206 hl_hw_queue_inc_ci_kernel(hdev, hw_queue_id); in goya_test_queue() [all …]
|
/linux-6.1.9/drivers/misc/habanalabs/gaudi/ |
D | gaudi.c | 1004 job->hw_queue_id = GAUDI_QUEUE_ID_DMA_0_0; in _gaudi_init_tpc_mem() 1212 queue_id = job->hw_queue_id; in gaudi_collective_master_init_job() 1259 queue_id = job->hw_queue_id; in gaudi_collective_slave_init_job() 1359 stream = job->hw_queue_id % 4; in gaudi_collective_wait_init_cs() 1364 queue_id = job->hw_queue_id; in gaudi_collective_wait_init_cs() 1481 job->hw_queue_id = queue_id; in gaudi_collective_wait_create_job() 1508 cs->jobs_in_queue_cnt[job->hw_queue_id]++; in gaudi_collective_wait_create_job() 4250 static void gaudi_ring_doorbell(struct hl_device *hdev, u32 hw_queue_id, u32 pi) in gaudi_ring_doorbell() argument 4259 switch (hw_queue_id) { in gaudi_ring_doorbell() 4263 q_off = dma_qm_offset + (hw_queue_id & 0x3) * 4; in gaudi_ring_doorbell() [all …]
|
/linux-6.1.9/drivers/misc/habanalabs/gaudi2/ |
D | gaudi2.c | 1725 static bool gaudi2_is_queue_enabled(struct hl_device *hdev, u32 hw_queue_id); 5624 static bool gaudi2_is_queue_enabled(struct hl_device *hdev, u32 hw_queue_id) in gaudi2_is_queue_enabled() argument 5632 switch (hw_queue_id) { in gaudi2_is_queue_enabled() 5640 ((hw_queue_id - GAUDI2_QUEUE_ID_DCORE0_EDMA_0_0) >> 2); in gaudi2_is_queue_enabled() 5644 ((hw_queue_id - GAUDI2_QUEUE_ID_DCORE1_EDMA_0_0) >> 2); in gaudi2_is_queue_enabled() 5648 ((hw_queue_id - GAUDI2_QUEUE_ID_DCORE2_EDMA_0_0) >> 2); in gaudi2_is_queue_enabled() 5652 ((hw_queue_id - GAUDI2_QUEUE_ID_DCORE3_EDMA_0_0) >> 2); in gaudi2_is_queue_enabled() 5673 ((hw_queue_id - GAUDI2_QUEUE_ID_DCORE0_TPC_0_0) >> 2); in gaudi2_is_queue_enabled() 5682 ((hw_queue_id - GAUDI2_QUEUE_ID_DCORE1_TPC_0_0) >> 2); in gaudi2_is_queue_enabled() 5687 ((hw_queue_id - GAUDI2_QUEUE_ID_DCORE2_TPC_0_0) >> 2); in gaudi2_is_queue_enabled() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_ring.h | 280 uint32_t hw_queue_id; member
|
D | amdgpu_mes.c | 1052 ring->hw_queue_id = queue_id; in amdgpu_mes_add_ring() 1083 amdgpu_mes_remove_hw_queue(adev, ring->hw_queue_id); in amdgpu_mes_remove_ring()
|
D | sdma_v6_0.c | 385 (ring->hw_queue_id | AMDGPU_FENCE_MES_QUEUE_FLAG) : 0; in sdma_v6_0_ring_emit_fence()
|
D | sdma_v5_2.c | 400 (ring->hw_queue_id | AMDGPU_FENCE_MES_QUEUE_FLAG) : 0; in sdma_v5_2_ring_emit_fence()
|
D | sdma_v5_0.c | 570 (ring->hw_queue_id | AMDGPU_FENCE_MES_QUEUE_FLAG) : 0; in sdma_v5_0_ring_emit_fence()
|
D | gfx_v11_0.c | 5420 (ring->hw_queue_id | AMDGPU_FENCE_MES_QUEUE_FLAG) : 0); in gfx_v11_0_ring_emit_fence()
|
D | gfx_v10_0.c | 8588 (ring->hw_queue_id | AMDGPU_FENCE_MES_QUEUE_FLAG) : 0); in gfx_v10_0_ring_emit_fence()
|