Searched refs:hl_pi_2_offset (Results 1 – 3 of 3) sorted by relevance
121 job = queue->shadow_queue[hl_pi_2_offset(shadow_index)]; in hl_irq_handler_cq()
79 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()
1813 #define hl_pi_2_offset(pi) ((pi) & (HL_QUEUE_LENGTH - 1)) macro