/* * videobuf2-dma-contig.h - DMA contig memory allocator for videobuf2 * * Copyright (C) 2010 Samsung Electronics * * Author: Pawel Osciak <pawel@osciak.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation. */ #ifndef _MEDIA_VIDEOBUF2_DMA_CONTIG_H #define _MEDIA_VIDEOBUF2_DMA_CONTIG_H #include <media/videobuf2-v4l2.h> #include <linux/dma-mapping.h>
static inline dma_addr_t vb2_dma_contig_plane_dma_addr(struct vb2_buffer *vb, unsigned int plane_no) { dma_addr_t *addr = vb2_plane_cookie(vb, plane_no); return *addr; }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Pawel Osciak | 28 | 90.32% | 2 | 66.67% |
Marek Szyprowski | 3 | 9.68% | 1 | 33.33% |
Total | 31 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Pawel Osciak | 45 | 60.81% | 2 | 33.33% |
Marek Szyprowski | 25 | 33.78% | 2 | 33.33% |
Albert Wang | 3 | 4.05% | 1 | 16.67% |
Junghak Sung | 1 | 1.35% | 1 | 16.67% |
Total | 74 | 100.00% | 6 | 100.00% |