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

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

Completed in 173 milliseconds