Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
vpif.c File Reference
#include <linux/init.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/spinlock.h>
#include <linux/kernel.h>
#include <linux/io.h>
#include <linux/clk.h>
#include <linux/err.h>
#include <linux/v4l2-dv-timings.h>
#include <mach/hardware.h>
#include "vpif.h"

Go to the source code of this file.

Data Structures

struct  vpif_registers


#define VPIF_CH0_MAX_MODES   (22)
#define VPIF_CH1_MAX_MODES   (02)
#define VPIF_CH2_MAX_MODES   (15)
#define VPIF_CH3_MAX_MODES   (02)
#define vpif_pm_ops   NULL


 MODULE_DESCRIPTION ("TI DaVinci Video Port Interface driver")
int vpif_set_video_params (struct vpif_params *vpifparams, u8 channel_id)
 EXPORT_SYMBOL (vpif_set_video_params)
void vpif_set_vbi_display_params (struct vpif_vbi_params *vbiparams, u8 channel_id)
 EXPORT_SYMBOL (vpif_set_vbi_display_params)
int vpif_channel_getfid (u8 channel_id)
 EXPORT_SYMBOL (vpif_channel_getfid)
 subsys_initcall (vpif_init)
 module_exit (vpif_exit)


spinlock_t vpif_lock
void __iomemvpif_base
struct clkvpif_clk
struct vpif_channel_config_params ch_params []
const unsigned int vpif_ch_params_count = ARRAY_SIZE(ch_params)

Macro Definition Documentation

#define VPIF_CH0_MAX_MODES   (22)

Definition at line 37 of file vpif.c.

#define VPIF_CH1_MAX_MODES   (02)

Definition at line 38 of file vpif.c.

#define VPIF_CH2_MAX_MODES   (15)

Definition at line 39 of file vpif.c.

#define VPIF_CH3_MAX_MODES   (02)

Definition at line 40 of file vpif.c.

#define vpif_pm_ops   NULL

Definition at line 492 of file vpif.c.

Function Documentation

EXPORT_SYMBOL ( vpif_set_video_params  )
EXPORT_SYMBOL ( vpif_set_vbi_display_params  )
EXPORT_SYMBOL ( vpif_channel_getfid  )
MODULE_DESCRIPTION ( "TI DaVinci Video Port Interface driver )
module_exit ( vpif_exit  )
subsys_initcall ( vpif_init  )
int vpif_channel_getfid ( u8  channel_id)

Definition at line 415 of file vpif.c.

void vpif_set_vbi_display_params ( struct vpif_vbi_params vbiparams,
u8  channel_id 

Definition at line 391 of file vpif.c.

int vpif_set_video_params ( struct vpif_params vpifparams,
u8  channel_id 

Definition at line 370 of file vpif.c.

Variable Documentation

ch_params: video standard configuration parameters for vpif The table must include all presets from supported subdevices.

Definition at line 53 of file vpif.c.

void __iomem* vpif_base

Definition at line 46 of file vpif.c.

const unsigned int vpif_ch_params_count = ARRAY_SIZE(ch_params)

Definition at line 224 of file vpif.c.

struct clk* vpif_clk

Definition at line 47 of file vpif.c.

spinlock_t vpif_lock

Definition at line 44 of file vpif.c.