Searched refs:hl_pi_2_offset (Results 1 – 4 of 4) sorted by relevance
91 bd += hl_pi_2_offset(q->pi); in hl_hw_queue_submit_bd()99 ((hl_pi_2_offset(q->pi) * sizeof(struct hl_bd)) + (i * sizeof(u64))); in hl_hw_queue_submit_bd()328 q->shadow_queue[hl_pi_2_offset(q->pi)] = job; in ext_queue_schedule_job()
84 job = queue->shadow_queue[hl_pi_2_offset(cs_seq)]; in job_finish()
469 bd += hl_pi_2_offset(pi); in hl_fw_send_cpu_message()531 sent_bd += hl_pi_2_offset(pi); in hl_fw_send_cpu_message()
3761 #define hl_pi_2_offset(pi) ((pi) & (HL_QUEUE_LENGTH - 1)) macro