Home
last modified time | relevance | path

Searched refs:hl_pi_2_offset (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/drivers/misc/habanalabs/common/
Dirq.c121 job = queue->shadow_queue[hl_pi_2_offset(shadow_index)]; in hl_irq_handler_cq()
Dhw_queue.c79 bd += hl_pi_2_offset(q->pi); in ext_and_hw_queue_submit_bd()
312 q->shadow_queue[hl_pi_2_offset(q->pi)] = job; in ext_queue_schedule_job()
Dhabanalabs.h1813 #define hl_pi_2_offset(pi) ((pi) & (HL_QUEUE_LENGTH - 1)) macro