#include <linux/sched.h>
#include <linux/platform_device.h>
#include <linux/videodev2.h>
#include <linux/slab.h>
#include <media/v4l2-device.h>
#include <video/omapvrfb.h>
#include "omap_voutdef.h"
#include "omap_voutlib.h"
#include "omap_vout_vrfb.h"
#define OMAP_DMA_NO_DEVICE …
static int omap_vout_allocate_vrfb_buffers(struct omap_vout_device *vout,
unsigned int *count, int startindex)
{ … }
static void omap_vout_vrfb_dma_tx_callback(void *data)
{ … }
void omap_vout_free_vrfb_buffers(struct omap_vout_device *vout)
{ … }
int omap_vout_setup_vrfb_bufs(struct platform_device *pdev, int vid_num,
bool static_vrfb_allocation)
{ … }
void omap_vout_release_vrfb(struct omap_vout_device *vout)
{ … }
int omap_vout_vrfb_buffer_setup(struct omap_vout_device *vout,
unsigned int *count, unsigned int startindex)
{ … }
int omap_vout_prepare_vrfb(struct omap_vout_device *vout,
struct vb2_buffer *vb)
{ … }
void omap_vout_calculate_vrfb_offset(struct omap_vout_device *vout)
{ … }