Searched refs:HL_QUEUE_LENGTH (Results 1 – 4 of 4) sorted by relevance
23 ptr &= ((HL_QUEUE_LENGTH << 1) - 1); in hl_hw_queue_add_ptr()115 free_slots_cnt = queue_free_slots(q, HL_QUEUE_LENGTH); in ext_queue_sanity_checks()196 free_slots_cnt = queue_free_slots(q, HL_QUEUE_LENGTH); in hw_queue_sanity_checks()634 q->shadow_queue = kmalloc_array(HL_QUEUE_LENGTH, in ext_and_cpu_queue_init()
474 #define HL_QUEUE_LENGTH 4096 macro475 #define HL_QUEUE_SIZE_IN_BYTES (HL_QUEUE_LENGTH * HL_BD_SIZE)477 #if (HL_MAX_JOBS_PER_CS > HL_QUEUE_LENGTH)482 #define HL_CQ_LENGTH HL_QUEUE_LENGTH1813 #define hl_pi_2_offset(pi) ((pi) & (HL_QUEUE_LENGTH - 1))
924 WREG32(mmDMA_QM_0_PQ_SIZE + reg_off, ilog2(HL_QUEUE_LENGTH)); in goya_init_dma_qman()
1863 WREG32(mmDMA0_QM_PQ_SIZE_0 + q_off, ilog2(HL_QUEUE_LENGTH)); in gaudi_init_pci_dma_qman()