Searched refs:hl_pi_2_offset (Results 1 – 4 of 4) sorted by relevance
83 job = queue->shadow_queue[hl_pi_2_offset(cs_seq)]; in job_finish()
89 bd += hl_pi_2_offset(q->pi); in hl_hw_queue_submit_bd()317 q->shadow_queue[hl_pi_2_offset(q->pi)] = job; in ext_queue_schedule_job()
368 sent_bd += hl_pi_2_offset(pi); in hl_fw_send_cpu_message()
3514 #define hl_pi_2_offset(pi) ((pi) & (HL_QUEUE_LENGTH - 1)) macro