/linux-6.6.21/drivers/accel/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 | 83 queue = &hdev->kernel_queues[cq->hw_queue_id]; in job_finish() 115 queue = &hdev->kernel_queues[job->hw_queue_id]; in cs_finish() 142 irq, cq->hw_queue_id); in hl_irq_handler_cq() 508 int hl_cq_init(struct hl_device *hdev, struct hl_cq *q, u32 hw_queue_id) in hl_cq_init() argument 519 q->hw_queue_id = hw_queue_id; in hl_cq_init()
|
D | habanalabs.h | 1063 u32 hw_queue_id; member 1087 u32 hw_queue_id; member 1587 void (*ring_doorbell)(struct hl_device *hdev, u32 hw_queue_id, u32 pi); 2057 u32 hw_queue_id; member 2097 u32 hw_queue_id; member 3635 int hl_hw_queue_send_cb_no_cmpl(struct hl_device *hdev, u32 hw_queue_id, 3641 void hl_hw_queue_inc_ci_kernel(struct hl_device *hdev, u32 hw_queue_id); 3648 int hl_cq_init(struct hl_device *hdev, struct hl_cq *q, u32 hw_queue_id); 3818 int hl_fw_send_cpu_message(struct hl_device *hdev, u32 hw_queue_id, u32 *msg,
|
D | command_submission.c | 308 parser.hw_queue_id = job->hw_queue_id; in cs_parser() 1583 job->hw_queue_id = chunk->queue_index; in cs_ioctl_default() 1585 cs->jobs_in_queue_cnt[job->hw_queue_id]++; in cs_ioctl_default() 1960 job->hw_queue_id = q_idx; in cs_ioctl_signal_wait_create_jobs() 1978 cs->jobs_in_queue_cnt[job->hw_queue_id]++; in cs_ioctl_signal_wait_create_jobs()
|
D | firmware_if.c | 355 int hl_fw_send_cpu_message(struct hl_device *hdev, u32 hw_queue_id, u32 *msg, in hl_fw_send_cpu_message() argument 358 struct hl_hw_queue *queue = &hdev->kernel_queues[hw_queue_id]; in hl_fw_send_cpu_message() 411 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.6.21/drivers/accel/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 | 2899 void goya_ring_doorbell(struct hl_device *hdev, u32 hw_queue_id, u32 pi) in goya_ring_doorbell() argument 2903 switch (hw_queue_id) { in goya_ring_doorbell() 2967 hw_queue_id); in goya_ring_doorbell() 2976 if (hw_queue_id == GOYA_QUEUE_ID_CPU_PQ) { in goya_ring_doorbell() 3160 int goya_test_queue(struct hl_device *hdev, u32 hw_queue_id) in goya_test_queue() argument 3175 hw_queue_id); in goya_test_queue() 3186 hw_queue_id); in goya_test_queue() 3198 rc = hl_hw_queue_send_cb_no_cmpl(hdev, hw_queue_id, in goya_test_queue() 3204 hw_queue_id); in goya_test_queue() 3211 hl_hw_queue_inc_ci_kernel(hdev, hw_queue_id); in goya_test_queue() [all …]
|
/linux-6.6.21/drivers/accel/habanalabs/gaudi/ |
D | gaudi.c | 1009 job->hw_queue_id = GAUDI_QUEUE_ID_DMA_0_0; in _gaudi_init_tpc_mem() 1217 queue_id = job->hw_queue_id; in gaudi_collective_master_init_job() 1264 queue_id = job->hw_queue_id; in gaudi_collective_slave_init_job() 1364 stream = job->hw_queue_id % 4; in gaudi_collective_wait_init_cs() 1369 queue_id = job->hw_queue_id; in gaudi_collective_wait_init_cs() 1485 job->hw_queue_id = queue_id; in gaudi_collective_wait_create_job() 1512 cs->jobs_in_queue_cnt[job->hw_queue_id]++; in gaudi_collective_wait_create_job() 4184 static void gaudi_ring_doorbell(struct hl_device *hdev, u32 hw_queue_id, u32 pi) in gaudi_ring_doorbell() argument 4193 switch (hw_queue_id) { in gaudi_ring_doorbell() 4197 q_off = dma_qm_offset + (hw_queue_id & 0x3) * 4; in gaudi_ring_doorbell() [all …]
|
/linux-6.6.21/drivers/accel/habanalabs/gaudi2/ |
D | gaudi2.c | 2105 static bool gaudi2_is_queue_enabled(struct hl_device *hdev, u32 hw_queue_id); 6360 static bool gaudi2_is_queue_enabled(struct hl_device *hdev, u32 hw_queue_id) in gaudi2_is_queue_enabled() argument 6368 switch (hw_queue_id) { in gaudi2_is_queue_enabled() 6376 ((hw_queue_id - GAUDI2_QUEUE_ID_DCORE0_EDMA_0_0) >> 2); in gaudi2_is_queue_enabled() 6380 ((hw_queue_id - GAUDI2_QUEUE_ID_DCORE1_EDMA_0_0) >> 2); in gaudi2_is_queue_enabled() 6384 ((hw_queue_id - GAUDI2_QUEUE_ID_DCORE2_EDMA_0_0) >> 2); in gaudi2_is_queue_enabled() 6388 ((hw_queue_id - GAUDI2_QUEUE_ID_DCORE3_EDMA_0_0) >> 2); in gaudi2_is_queue_enabled() 6409 ((hw_queue_id - GAUDI2_QUEUE_ID_DCORE0_TPC_0_0) >> 2); in gaudi2_is_queue_enabled() 6418 ((hw_queue_id - GAUDI2_QUEUE_ID_DCORE1_TPC_0_0) >> 2); in gaudi2_is_queue_enabled() 6423 ((hw_queue_id - GAUDI2_QUEUE_ID_DCORE2_TPC_0_0) >> 2); in gaudi2_is_queue_enabled() [all …]
|
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_ring.h | 297 uint32_t hw_queue_id; member
|
D | amdgpu_mes.c | 1069 ring->hw_queue_id = queue_id; in amdgpu_mes_add_ring() 1100 amdgpu_mes_remove_hw_queue(adev, ring->hw_queue_id); in amdgpu_mes_remove_ring()
|
D | sdma_v5_2.c | 347 (ring->hw_queue_id | AMDGPU_FENCE_MES_QUEUE_FLAG) : 0; in sdma_v5_2_ring_emit_fence()
|
D | sdma_v6_0.c | 365 (ring->hw_queue_id | AMDGPU_FENCE_MES_QUEUE_FLAG) : 0; in sdma_v6_0_ring_emit_fence()
|
D | sdma_v5_0.c | 542 (ring->hw_queue_id | AMDGPU_FENCE_MES_QUEUE_FLAG) : 0; in sdma_v5_0_ring_emit_fence()
|
D | gfx_v11_0.c | 5400 (ring->hw_queue_id | AMDGPU_FENCE_MES_QUEUE_FLAG) : 0); in gfx_v11_0_ring_emit_fence()
|
D | gfx_v10_0.c | 8401 (ring->hw_queue_id | AMDGPU_FENCE_MES_QUEUE_FLAG) : 0); in gfx_v10_0_ring_emit_fence()
|