Merge branches 'pm-cpufreq-fixes' and 'pm-cpuidle'
[deliverable/linux.git] / drivers / media / platform / omap / omap_vout_vrfb.h
CommitLineData
445e258f 1/*
2 * omap_vout_vrfb.h
3 *
4 * Copyright (C) 2010 Texas Instruments.
5 *
6 * This file is licensed under the terms of the GNU General Public License
7 * version 2. This program is licensed "as is" without any warranty of any
8 * kind, whether express or implied.
9 *
10 */
11
12#ifndef OMAP_VOUT_VRFB_H
13#define OMAP_VOUT_VRFB_H
14
15#ifdef CONFIG_VIDEO_OMAP2_VOUT_VRFB
16void omap_vout_free_vrfb_buffers(struct omap_vout_device *vout);
17int omap_vout_setup_vrfb_bufs(struct platform_device *pdev, int vid_num,
ac0b2b30 18 bool static_vrfb_allocation);
445e258f 19void omap_vout_release_vrfb(struct omap_vout_device *vout);
20int omap_vout_vrfb_buffer_setup(struct omap_vout_device *vout,
21 unsigned int *count, unsigned int startindex);
22int omap_vout_prepare_vrfb(struct omap_vout_device *vout,
23 struct videobuf_buffer *vb);
24void omap_vout_calculate_vrfb_offset(struct omap_vout_device *vout);
25#else
92e3919a
MCC
26static inline void omap_vout_free_vrfb_buffers(struct omap_vout_device *vout) { };
27static inline int omap_vout_setup_vrfb_bufs(struct platform_device *pdev, int vid_num,
ac0b2b30 28 bool static_vrfb_allocation)
92e3919a
MCC
29 { return 0; };
30static inline void omap_vout_release_vrfb(struct omap_vout_device *vout) { };
31static inline int omap_vout_vrfb_buffer_setup(struct omap_vout_device *vout,
445e258f 32 unsigned int *count, unsigned int startindex)
92e3919a
MCC
33 { return 0; };
34static inline int omap_vout_prepare_vrfb(struct omap_vout_device *vout,
445e258f 35 struct videobuf_buffer *vb)
92e3919a
MCC
36 { return 0; };
37static inline void omap_vout_calculate_vrfb_offset(struct omap_vout_device *vout) { };
445e258f 38#endif
39
40#endif
This page took 0.321598 seconds and 5 git commands to generate.