参照元

説明

参考

実装

const struct vb2_mem_ops vb2_dma_contig_memops = {
        .alloc          = vb2_dc_alloc,
        .put            = vb2_dc_put,
        .get_dmabuf     = vb2_dc_get_dmabuf,
        .cookie         = vb2_dc_cookie,
        .vaddr          = vb2_dc_vaddr,
        .mmap           = vb2_dc_mmap,
        .get_userptr    = vb2_dc_get_userptr,
        .put_userptr    = vb2_dc_put_userptr,
        .prepare        = vb2_dc_prepare,
        .finish         = vb2_dc_finish,
        .map_dmabuf     = vb2_dc_map_dmabuf,
        .unmap_dmabuf   = vb2_dc_unmap_dmabuf,
        .attach_dmabuf  = vb2_dc_attach_dmabuf,
        .detach_dmabuf  = vb2_dc_detach_dmabuf,
        .num_users      = vb2_dc_num_users,
};
EXPORT_SYMBOL_GPL(vb2_dma_contig_memops);

コメント


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