Home
last modified time | relevance | path

Searched refs:msg_fifo (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/media/platform/amphion/
H A Dvpu_msgs.c257 if (kfifo_len(&inst->msg_fifo) < bytes) in vpu_inst_receive_msg()
260 ret = kfifo_out(&inst->msg_fifo, pkt, bytes); in vpu_inst_receive_msg()
266 ret = kfifo_out(&inst->msg_fifo, pkt->data, bytes); in vpu_inst_receive_msg()
293 ret = kfifo_in(&inst->msg_fifo, pkt, bytes); in vpu_inst_handle_msg()
355 while (kfifo_len(&core->msg_fifo) >= SIZE) { in vpu_core_run_msg_work()
358 if (kfifo_out(&core->msg_fifo, &data, SIZE) == SIZE) in vpu_core_run_msg_work()
384 if (kfifo_len(&core->msg_fifo) >= bytes) in vpu_msg_delayed_work()
394 if (inst->workqueue && kfifo_len(&inst->msg_fifo) >= bytes) in vpu_msg_delayed_work()
416 if (kfifo_in(&core->msg_fifo, &irq, sizeof(irq)) != sizeof(irq)) in vpu_isr()
H A Dvpu.h163 struct kfifo msg_fifo; member
246 struct kfifo msg_fifo; member
H A Dvpu_dbg.c198 num = scnprintf(str, sizeof(str), "kfifo len = 0x%x\n", kfifo_len(&inst->msg_fifo)); in vpu_dbg_instance()
280 num = scnprintf(str, sizeof(str), "kfifo len = 0x%x\n", kfifo_len(&core->msg_fifo)); in vpu_dbg_core()
H A Dvpu_core.c273 ret = kfifo_init(&core->msg_fifo, core->msg_buffer, core->msg_buffer_size); in vpu_core_register()
H A Dvpu_v4l2.c769 ret = kfifo_init(&inst->msg_fifo, in vpu_v4l2_open()
/linux/sound/pci/mixart/
H A Dmixart.h69 u32 msg_fifo[MSG_FIFO_SIZE]; member
H A Dmixart_core.c336 msg = mgr->msg_fifo[mgr->msg_fifo_readptr]; in snd_mixart_process_msg()
540 mgr->msg_fifo[mgr->msg_fifo_writeptr] = msg; in snd_mixart_threaded_irq()