Lines Matching refs:vpu_buf
626 struct vpu_vb2_buffer *vpu_buf; in vdec_frame_decoded() local
635 vpu_buf = vdec->slots[info->id]; in vdec_frame_decoded()
636 if (!vpu_buf) { in vdec_frame_decoded()
641 vbuf = &vpu_buf->m2m_buf.vb; in vdec_frame_decoded()
681 struct vpu_vb2_buffer *vpu_buf; in vdec_buf_done() local
690 vpu_buf = vdec_find_buffer(inst, frame->luma); in vdec_buf_done()
692 if (!vpu_buf) { in vdec_buf_done()
702 vbuf = &vpu_buf->m2m_buf.vb; in vdec_buf_done()
937 struct vpu_vb2_buffer *vpu_buf; in vdec_response_frame() local
961 vpu_buf = to_vpu_vb2_buffer(vbuf); in vdec_response_frame()
976 vpu_buf->tag = info.tag; in vdec_response_frame()
977 vpu_buf->luma = info.luma_addr; in vdec_response_frame()
978 vpu_buf->chroma_u = info.chromau_size; in vdec_response_frame()
979 vpu_buf->chroma_v = 0; in vdec_response_frame()
981 vdec->slots[info.id] = vpu_buf; in vdec_response_frame()
1045 struct vpu_vb2_buffer *vpu_buf; in vdec_clear_slots() local
1053 vpu_buf = vdec->slots[i]; in vdec_clear_slots()
1054 vbuf = &vpu_buf->m2m_buf.vb; in vdec_clear_slots()
1057 vdec_response_fs_release(inst, i, vpu_buf->tag); in vdec_clear_slots()
1160 struct vpu_vb2_buffer *vpu_buf; in vdec_evnet_rel_fs() local
1174 vpu_buf = vdec->slots[fs->id]; in vdec_evnet_rel_fs()
1177 if (!vpu_buf) { in vdec_evnet_rel_fs()
1182 vbuf = &vpu_buf->m2m_buf.vb; in vdec_evnet_rel_fs()
1188 vdec_response_fs_release(inst, fs->id, vpu_buf->tag); in vdec_evnet_rel_fs()