Lines Matching refs:bmfifo
162 ov->bmfifo.messages = mem; in acc_init_bm_ptr()
163 ov->bmfifo.irq_cnt = mem + (ov->total_cores + 1U) * ACC_CORE_DMABUF_SIZE; in acc_init_bm_ptr()
168 core->bmfifo.messages = mem + (u + 1U) * ACC_CORE_DMABUF_SIZE; in acc_init_bm_ptr()
169 core->bmfifo.irq_cnt = ov->bmfifo.irq_cnt + (u + 1U); in acc_init_bm_ptr()
642 u32 msg_fifo_head = core->bmfifo.local_irq_cnt & 0xff; in handle_core_interrupt()
644 while (core->bmfifo.msg_fifo_tail != msg_fifo_head) { in handle_core_interrupt()
646 &core->bmfifo.messages[core->bmfifo.msg_fifo_tail]; in handle_core_interrupt()
676 core->bmfifo.msg_fifo_tail = in handle_core_interrupt()
677 (core->bmfifo.msg_fifo_tail + 1) & 0xff; in handle_core_interrupt()
727 if (READ_ONCE(*ov->bmfifo.irq_cnt) != ov->bmfifo.local_irq_cnt) { in acc_card_interrupt()
729 ov->bmfifo.local_irq_cnt = READ_ONCE(*ov->bmfifo.irq_cnt); in acc_card_interrupt()
735 if (READ_ONCE(*core->bmfifo.irq_cnt) != core->bmfifo.local_irq_cnt) { in acc_card_interrupt()
737 core->bmfifo.local_irq_cnt = READ_ONCE(*core->bmfifo.irq_cnt); in acc_card_interrupt()
753 ov->bmfifo.local_irq_cnt); in acc_card_interrupt()
762 core->bmfifo.local_irq_cnt); in acc_card_interrupt()