Lines Matching refs:vpu_buf
712 struct vpu_vb2_buffer *vpu_buf; in vdec_frame_decoded() local
721 vpu_buf = vdec->slots[info->id]; in vdec_frame_decoded()
722 if (!vpu_buf) { in vdec_frame_decoded()
727 vbuf = &vpu_buf->m2m_buf.vb; in vdec_frame_decoded()
783 struct vpu_vb2_buffer *vpu_buf; in vdec_buf_done() local
793 vpu_buf = vdec_find_buffer(inst, frame->luma); in vdec_buf_done()
795 if (!vpu_buf) { in vdec_buf_done()
806 vbuf = &vpu_buf->m2m_buf.vb; in vdec_buf_done()
1039 struct vpu_vb2_buffer *vpu_buf; in vdec_response_frame() local
1063 vpu_buf = to_vpu_vb2_buffer(vbuf); in vdec_response_frame()
1081 vpu_buf->tag = info.tag; in vdec_response_frame()
1082 vpu_buf->luma = info.luma_addr; in vdec_response_frame()
1083 vpu_buf->chroma_u = info.chroma_addr; in vdec_response_frame()
1084 vpu_buf->chroma_v = 0; in vdec_response_frame()
1086 vdec->slots[info.id] = vpu_buf; in vdec_response_frame()
1150 struct vpu_vb2_buffer *vpu_buf; in vdec_clear_slots() local
1158 vpu_buf = vdec->slots[i]; in vdec_clear_slots()
1159 vbuf = &vpu_buf->m2m_buf.vb; in vdec_clear_slots()
1162 vdec_response_fs_release(inst, i, vpu_buf->tag); in vdec_clear_slots()
1266 struct vpu_vb2_buffer *vpu_buf; in vdec_evnet_rel_fs() local
1280 vpu_buf = vdec->slots[fs->id]; in vdec_evnet_rel_fs()
1283 if (!vpu_buf) { in vdec_evnet_rel_fs()
1288 vbuf = &vpu_buf->m2m_buf.vb; in vdec_evnet_rel_fs()
1294 vdec_response_fs_release(inst, fs->id, vpu_buf->tag); in vdec_evnet_rel_fs()