*参照元 [#j40abf9b] #backlinks *説明 [#b7c346e6] -パス: [[linux-4.4.1/drivers/media/v4l2-core/videobuf2-dma-sg.c]] -FIXME: これは何? --説明 **参考 [#z5666323] --[[linux-4.4.1/vb2_dma_contig_memops(global)]] --[[linux-4.4.1/vb2_dma_sg_memops(global)]] --[[linux-4.4.1/vb2_vmalloc_memops(global)]] *実装 [#rd0ebc35] const struct vb2_mem_ops vb2_dma_sg_memops = { - --[[linux-4.4.1/vb2_mem_ops]] .alloc = vb2_dma_sg_alloc, - --[[linux-4.4.1/vb2_dma_sg_alloc()]] .put = vb2_dma_sg_put, - --[[linux-4.4.1/vb2_dma_sg_put()]] .get_userptr = vb2_dma_sg_get_userptr, - --[[linux-4.4.1/vb2_dma_sg_get_userptr()]] .put_userptr = vb2_dma_sg_put_userptr, - --[[linux-4.4.1/vb2_dma_sg_put_userptr()]] .prepare = vb2_dma_sg_prepare, - --[[linux-4.4.1/vb2_dma_sg_prepare()]] .finish = vb2_dma_sg_finish, - --[[linux-4.4.1/vb2_dma_sg_finish()]] .vaddr = vb2_dma_sg_vaddr, - --[[linux-4.4.1/vb2_dma_sg_vaddr()]] .mmap = vb2_dma_sg_mmap, - --[[linux-4.4.1/vb2_dma_sg_mmap()]] .num_users = vb2_dma_sg_num_users, - --[[linux-4.4.1/vb2_dma_sg_num_users()]] .get_dmabuf = vb2_dma_sg_get_dmabuf, - --[[linux-4.4.1/vb2_dma_sg_get_dmabuf()]] .map_dmabuf = vb2_dma_sg_map_dmabuf, - --[[linux-4.4.1/vb2_dma_sg_map_dmabuf()]] .unmap_dmabuf = vb2_dma_sg_unmap_dmabuf, - --[[linux-4.4.1/vb2_dma_sg_unmap_dmabuf()]] .attach_dmabuf = vb2_dma_sg_attach_dmabuf, - --[[linux-4.4.1/vb2_dma_sg_attach_dmabuf()]] .detach_dmabuf = vb2_dma_sg_detach_dmabuf, - --[[linux-4.4.1/vb2_dma_sg_detach_dmabuf()]] .cookie = vb2_dma_sg_cookie, - --[[linux-4.4.1/vb2_dma_sg_cookie()]] }; EXPORT_SYMBOL_GPL(vb2_dma_sg_memops); - --[[linux-4.4.1/EXPORT_SYMBOL_GPL()]] *コメント [#h4ade4ec]