参照元

説明

参考

実装

const struct vb2_mem_ops vb2_dma_sg_memops = {
        .alloc          = vb2_dma_sg_alloc,
        .put            = vb2_dma_sg_put,
        .get_userptr    = vb2_dma_sg_get_userptr,
        .put_userptr    = vb2_dma_sg_put_userptr,
        .prepare        = vb2_dma_sg_prepare,
        .finish         = vb2_dma_sg_finish,
        .vaddr          = vb2_dma_sg_vaddr,
        .mmap           = vb2_dma_sg_mmap,
        .num_users      = vb2_dma_sg_num_users,
        .get_dmabuf     = vb2_dma_sg_get_dmabuf,
        .map_dmabuf     = vb2_dma_sg_map_dmabuf,
        .unmap_dmabuf   = vb2_dma_sg_unmap_dmabuf,
        .attach_dmabuf  = vb2_dma_sg_attach_dmabuf,
        .detach_dmabuf  = vb2_dma_sg_detach_dmabuf,
        .cookie         = vb2_dma_sg_cookie,
};
EXPORT_SYMBOL_GPL(vb2_dma_sg_memops);

コメント


トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS