Home
last modified time | relevance | path

Searched refs:curr_pa (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/drivers/mailbox/
Dmtk-cmdq-mailbox.c243 u32 curr_pa, irq_flag, task_end_pa; in cmdq_thread_irq_handler() local
265 curr_pa = readl(thread->base + CMDQ_THR_CURR_ADDR) << cmdq->pdata->shift; in cmdq_thread_irq_handler()
270 if (curr_pa >= task->pa_base && curr_pa < task_end_pa) in cmdq_thread_irq_handler()
273 if (!curr_task || curr_pa == task_end_pa - CMDQ_INST_SIZE) { in cmdq_thread_irq_handler()
371 unsigned long curr_pa, end_pa; in cmdq_mbox_send_data() local
407 curr_pa = readl(thread->base + CMDQ_THR_CURR_ADDR) << in cmdq_mbox_send_data()
412 if (curr_pa == end_pa - CMDQ_INST_SIZE || in cmdq_mbox_send_data()
413 curr_pa == end_pa) { in cmdq_mbox_send_data()
/linux-6.6.21/drivers/accel/habanalabs/common/mmu/
Dmmu.c386 u64 curr_va, curr_pa; in hl_mmu_map_contiguous() local
405 curr_pa = phys_addr + off; in hl_mmu_map_contiguous()
407 rc = hl_mmu_map_page(ctx, curr_va, curr_pa, page_size, in hl_mmu_map_contiguous()
412 curr_va, curr_pa); in hl_mmu_map_contiguous()