Home
last modified time | relevance | path

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

/linux/drivers/media/platform/chips-media/wave5/
H A Dwave5-vdi.c88 int wave5_vdi_clear_memory(struct vpu_device *vpu_dev, struct vpu_buf *vb) in wave5_vdi_clear_memory()
99 int wave5_vdi_write_memory(struct vpu_device *vpu_dev, struct vpu_buf *vb, size_t offset, in wave5_vdi_write_memory()
117 int wave5_vdi_allocate_dma_memory(struct vpu_device *vpu_dev, struct vpu_buf *vb) in wave5_vdi_allocate_dma_memory()
136 int wave5_vdi_free_dma_memory(struct vpu_device *vpu_dev, struct vpu_buf *vb) in wave5_vdi_free_dma_memory()
151 int wave5_vdi_allocate_array(struct vpu_device *vpu_dev, struct vpu_buf *array, unsigned int count, in wave5_vdi_allocate_array()
154 struct vpu_buf vb_buf; in wave5_vdi_allocate_array()
180 struct vpu_buf *vb = &vpu_dev->sram_buf; in wave5_vdi_allocate_sram()
202 struct vpu_buf *vb = &vpu_dev->sram_buf; in wave5_vdi_free_sram()
H A Dwave5-vpu-dec.c170 struct vpu_src_buffer *vpu_buf; in wave5_last_src_buffer_consumed() local
175 vpu_buf = wave5_to_vpu_src_buf(m2m_ctx->last_src_buf); in wave5_last_src_buffer_consumed()
176 return vpu_buf->consumed; in wave5_last_src_buffer_consumed()
1010 struct vpu_buf *vframe = &inst->frame_vbuf[i]; in wave5_prepare_fb()
1130 struct vpu_buf *ring_buffer, dma_addr_t wr_ptr) in write_to_ringbuffer()
1178 struct vpu_src_buffer *vpu_buf; in fill_ringbuffer() local
1182 struct vpu_src_buffer *vpu_buf = wave5_to_vpu_src_buf(m2m_ctx->last_src_buf); in fill_ringbuffer() local
1184 if (vpu_buf->consumed) { in fill_ringbuffer()
1190 while ((vpu_buf = inst_src_buf_remove(inst)) != NULL) { in fill_ringbuffer()
1191 struct vb2_v4l2_buffer *vbuf = &vpu_buf->v4l2_m2m_buf.vb; in fill_ringbuffer()
[all …]
H A Dwave5-vdi.h26 struct vpu_buf { struct
/linux/drivers/media/platform/amphion/
H A Dvdec.c301 struct vpu_vb2_buffer *vpu_buf = to_vpu_vb2_buffer(vbuf); in vdec_attach_frame_store() local
310 if (vdec->slots[i].curr && vdec->slots[i].curr != vpu_buf) { in vdec_attach_frame_store()
312 vdec->slots[i].pend = vpu_buf; in vdec_attach_frame_store()
316 vpu_buf->fs_id = i; in vdec_attach_frame_store()
324 vpu_buf->fs_id = i; in vdec_attach_frame_store()
341 vpu_buf->fs_id = i; in vdec_attach_frame_store()
805 struct vpu_vb2_buffer *vpu_buf; in vdec_frame_decoded() local
814 vpu_buf = vdec->slots[info->id].curr; in vdec_frame_decoded()
815 if (!vpu_buf) { in vdec_frame_decoded()
820 vbuf = &vpu_buf->m2m_buf.vb; in vdec_frame_decoded()
[all …]