Lines Matching refs:hw_queue_id
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()
4270 q_off = dma_qm_offset + (hw_queue_id & 0x3) * 4; in gaudi_ring_doorbell()
4277 q_off = dma_qm_offset + ((hw_queue_id - 1) & 0x3) * 4; in gaudi_ring_doorbell()
4284 q_off = dma_qm_offset + ((hw_queue_id - 1) & 0x3) * 4; in gaudi_ring_doorbell()
4291 q_off = dma_qm_offset + ((hw_queue_id - 1) & 0x3) * 4; in gaudi_ring_doorbell()
4298 q_off = dma_qm_offset + ((hw_queue_id - 1) & 0x3) * 4; in gaudi_ring_doorbell()
4305 q_off = dma_qm_offset + ((hw_queue_id - 1) & 0x3) * 4; in gaudi_ring_doorbell()
4312 q_off = dma_qm_offset + ((hw_queue_id - 1) & 0x3) * 4; in gaudi_ring_doorbell()
4487 q_off = ((hw_queue_id - 1) & 0x3) * 4; in gaudi_ring_doorbell()
4495 q_off = ((hw_queue_id - 1) & 0x3) * 4; in gaudi_ring_doorbell()
4503 q_off = ((hw_queue_id - 1) & 0x3) * 4; in gaudi_ring_doorbell()
4511 q_off = ((hw_queue_id - 1) & 0x3) * 4; in gaudi_ring_doorbell()
4519 q_off = ((hw_queue_id - 1) & 0x3) * 4; in gaudi_ring_doorbell()
4527 q_off = ((hw_queue_id - 1) & 0x3) * 4; in gaudi_ring_doorbell()
4535 q_off = ((hw_queue_id - 1) & 0x3) * 4; in gaudi_ring_doorbell()
4543 q_off = ((hw_queue_id - 1) & 0x3) * 4; in gaudi_ring_doorbell()
4551 q_off = ((hw_queue_id - 1) & 0x3) * 4; in gaudi_ring_doorbell()
4559 q_off = ((hw_queue_id - 1) & 0x3) * 4; in gaudi_ring_doorbell()
4570 hw_queue_id); in gaudi_ring_doorbell()
4579 if (hw_queue_id == GAUDI_QUEUE_ID_CPU_PQ) { in gaudi_ring_doorbell()
4766 static int gaudi_test_queue(struct hl_device *hdev, u32 hw_queue_id) in gaudi_test_queue() argument
4786 hw_queue_id); in gaudi_test_queue()
4797 hw_queue_id); in gaudi_test_queue()
4810 rc = hl_hw_queue_send_cb_no_cmpl(hdev, hw_queue_id, in gaudi_test_queue()
4816 hw_queue_id); in gaudi_test_queue()
4823 hl_hw_queue_inc_ci_kernel(hdev, hw_queue_id); in gaudi_test_queue()
4828 hw_queue_id, (unsigned long long) fence_dma_addr, tmp); in gaudi_test_queue()
5059 if (parser->hw_queue_id <= GAUDI_QUEUE_ID_DMA_0_3) in gaudi_validate_dma_pkt_no_mmu()
5212 if (parser->hw_queue_id <= GAUDI_QUEUE_ID_DMA_0_3) in gaudi_patch_dma_packet()
5541 if ((parser->hw_queue_id >= GAUDI_QUEUE_ID_NIC_0_0) && in gaudi_parse_cb_no_ext_queue()
5542 (parser->hw_queue_id <= GAUDI_QUEUE_ID_NIC_9_3)) { in gaudi_parse_cb_no_ext_queue()
5543 nic_queue_offset = parser->hw_queue_id - GAUDI_QUEUE_ID_NIC_0_0; in gaudi_parse_cb_no_ext_queue()
5547 dev_err(hdev->dev, "h/w queue %d is disabled\n", parser->hw_queue_id); in gaudi_parse_cb_no_ext_queue()
5688 job->hw_queue_id = GAUDI_QUEUE_ID_DMA_0_0; in gaudi_memset_device_memory()
5764 job->hw_queue_id = GAUDI_QUEUE_ID_DMA_0_0; in gaudi_memset_registers()