Home
last modified time | relevance | path

Searched refs:hw_queue_id (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.10/drivers/misc/habanalabs/common/
Dhw_queue.c85 hdev->asic_funcs->ring_doorbell(hdev, q->hw_queue_id, q->pi); in ext_and_hw_queue_submit_bd()
119 q->hw_queue_id, num_of_entries); in ext_queue_sanity_checks()
133 num_of_entries, q->hw_queue_id); in ext_queue_sanity_checks()
164 q->hw_queue_id, num_of_entries); in int_queue_sanity_checks()
173 q->hw_queue_id, num_of_entries); in int_queue_sanity_checks()
200 q->hw_queue_id, num_of_entries); in hw_queue_sanity_checks()
218 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
221 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()
330 struct hl_hw_queue *q = &hdev->kernel_queues[job->hw_queue_id]; in int_queue_schedule_job()
[all …]
Dirq.c89 irq, cq->hw_queue_id); in hl_irq_handler_cq()
118 queue = &hdev->kernel_queues[cq->hw_queue_id]; in hl_irq_handler_cq()
214 int hl_cq_init(struct hl_device *hdev, struct hl_cq *q, u32 hw_queue_id) in hl_cq_init() argument
225 q->hw_queue_id = hw_queue_id; in hl_cq_init()
Dhabanalabs.h522 u32 hw_queue_id; member
550 u32 hw_queue_id; member
732 void (*ring_doorbell)(struct hl_device *hdev, u32 hw_queue_id, u32 pi);
1024 u32 hw_queue_id; member
1062 u32 hw_queue_id; member
1804 int hl_hw_queue_send_cb_no_cmpl(struct hl_device *hdev, u32 hw_queue_id,
1808 void hl_hw_queue_inc_ci_kernel(struct hl_device *hdev, u32 hw_queue_id);
1815 int hl_cq_init(struct hl_device *hdev, struct hl_cq *q, u32 hw_queue_id);
1918 int hl_fw_send_cpu_message(struct hl_device *hdev, u32 hw_queue_id, u32 *msg,
Dcommand_submission.c156 parser.hw_queue_id = job->hw_queue_id; in cs_parser()
700 job->hw_queue_id = chunk->queue_index; in cs_ioctl_default()
702 cs->jobs_in_queue_cnt[job->hw_queue_id]++; in cs_ioctl_default()
947 job->hw_queue_id = q_idx; in cs_ioctl_signal_wait()
959 cs->jobs_in_queue_cnt[job->hw_queue_id]++; in cs_ioctl_signal_wait()
Dfirmware_if.c79 int hl_fw_send_cpu_message(struct hl_device *hdev, u32 hw_queue_id, u32 *msg, in hl_fw_send_cpu_message() argument
107 rc = hl_hw_queue_send_cb_no_cmpl(hdev, hw_queue_id, len, pkt_dma_addr); in hl_fw_send_cpu_message()
117 hl_hw_queue_inc_ci_kernel(hdev, hw_queue_id); in hl_fw_send_cpu_message()
Ddebugfs.c178 job->hw_queue_id); in command_submission_jobs_show()
182 job->id, HL_KERNEL_ASID_ID, job->hw_queue_id); in command_submission_jobs_show()
/Linux-v5.10/drivers/misc/habanalabs/goya/
DgoyaP.h179 void goya_ring_doorbell(struct hl_device *hdev, u32 hw_queue_id, u32 pi);
191 int goya_test_queue(struct hl_device *hdev, u32 hw_queue_id);
Dgoya.c2685 void goya_ring_doorbell(struct hl_device *hdev, u32 hw_queue_id, u32 pi) in goya_ring_doorbell() argument
2689 switch (hw_queue_id) { in goya_ring_doorbell()
2753 hw_queue_id); in goya_ring_doorbell()
2762 if (hw_queue_id == GOYA_QUEUE_ID_CPU_PQ) in goya_ring_doorbell()
2940 int goya_test_queue(struct hl_device *hdev, u32 hw_queue_id) in goya_test_queue() argument
2956 hw_queue_id); in goya_test_queue()
2968 hw_queue_id); in goya_test_queue()
2980 rc = hl_hw_queue_send_cb_no_cmpl(hdev, hw_queue_id, in goya_test_queue()
2986 hw_queue_id); in goya_test_queue()
2993 hl_hw_queue_inc_ci_kernel(hdev, hw_queue_id); in goya_test_queue()
[all …]
/Linux-v5.10/drivers/misc/habanalabs/gaudi/
Dgaudi.c713 job->hw_queue_id = GAUDI_QUEUE_ID_DMA_0_0; in _gaudi_init_tpc_mem()
3123 static void gaudi_ring_doorbell(struct hl_device *hdev, u32 hw_queue_id, u32 pi) in gaudi_ring_doorbell() argument
3130 switch (hw_queue_id) { in gaudi_ring_doorbell()
3134 q_off = dma_qm_offset + (hw_queue_id & 0x3) * 4; in gaudi_ring_doorbell()
3141 q_off = dma_qm_offset + (hw_queue_id & 0x3) * 4; in gaudi_ring_doorbell()
3148 q_off = dma_qm_offset + ((hw_queue_id - 1) & 0x3) * 4; in gaudi_ring_doorbell()
3155 q_off = dma_qm_offset + ((hw_queue_id - 1) & 0x3) * 4; in gaudi_ring_doorbell()
3162 q_off = dma_qm_offset + ((hw_queue_id - 1) & 0x3) * 4; in gaudi_ring_doorbell()
3169 q_off = dma_qm_offset + ((hw_queue_id - 1) & 0x3) * 4; in gaudi_ring_doorbell()
3176 q_off = dma_qm_offset + ((hw_queue_id - 1) & 0x3) * 4; in gaudi_ring_doorbell()
[all …]