Home
last modified time | relevance | path

Searched refs:HL_QUEUE_LENGTH (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/drivers/misc/habanalabs/common/
Dhw_queue.c23 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()
Dhabanalabs.h474 #define HL_QUEUE_LENGTH 4096 macro
475 #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_LENGTH
1813 #define hl_pi_2_offset(pi) ((pi) & (HL_QUEUE_LENGTH - 1))
/Linux-v5.10/drivers/misc/habanalabs/goya/
Dgoya.c924 WREG32(mmDMA_QM_0_PQ_SIZE + reg_off, ilog2(HL_QUEUE_LENGTH)); in goya_init_dma_qman()
/Linux-v5.10/drivers/misc/habanalabs/gaudi/
Dgaudi.c1863 WREG32(mmDMA0_QM_PQ_SIZE_0 + q_off, ilog2(HL_QUEUE_LENGTH)); in gaudi_init_pci_dma_qman()