Home
last modified time | relevance | path

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

/linux/drivers/accel/habanalabs/common/
H A Dhw_queue.c91 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()
H A Dirq.c84 job = queue->shadow_queue[hl_pi_2_offset(cs_seq)]; in job_finish()
H A Dfirmware_if.c469 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()
H A Dhabanalabs.h3761 #define hl_pi_2_offset(pi) ((pi) & (HL_QUEUE_LENGTH - 1)) macro