Searched refs:mvb (Results 1 – 1 of 1) sorted by relevance
929 struct mcam_vb_buffer *mvb = vb_to_mvb(vb); in mcam_vb_buf_queue() local936 list_add(&mvb->queue, &cam->buffers); in mcam_vb_buf_queue()1031 struct mcam_vb_buffer *mvb = vb_to_mvb(vb); in mcam_vb_sg_buf_init() local1035 mvb->dma_desc = dma_alloc_coherent(cam->dev, in mcam_vb_sg_buf_init()1037 &mvb->dma_desc_pa, GFP_KERNEL); in mcam_vb_sg_buf_init()1038 if (mvb->dma_desc == NULL) { in mcam_vb_sg_buf_init()1047 struct mcam_vb_buffer *mvb = vb_to_mvb(vb); in mcam_vb_sg_buf_prepare() local1050 struct mcam_dma_desc *desc = mvb->dma_desc; in mcam_vb_sg_buf_prepare()1054 mvb->dma_desc_nent = dma_map_sg(cam->dev, sgd->sglist, sgd->num_pages, in mcam_vb_sg_buf_prepare()1056 if (mvb->dma_desc_nent <= 0) in mcam_vb_sg_buf_prepare()[all …]