Home
last modified time | relevance | path

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

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