Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
btcx-risc.c File Reference
#include <linux/module.h>
#include <linux/init.h>
#include <linux/pci.h>
#include <linux/interrupt.h>
#include <linux/videodev2.h>
#include <asm/page.h>
#include <asm/pgtable.h>
#include "btcx-risc.h"

Go to the source code of this file.

Functions

 MODULE_DESCRIPTION ("some code shared by bttv and cx88xx drivers")
 
 MODULE_AUTHOR ("Gerd Knorr")
 
 MODULE_LICENSE ("GPL")
 
 module_param (debug, int, 0644)
 
 MODULE_PARM_DESC (debug,"debug messages, default is 0 (no)")
 
void btcx_riscmem_free (struct pci_dev *pci, struct btcx_riscmem *risc)
 
int btcx_riscmem_alloc (struct pci_dev *pci, struct btcx_riscmem *risc, unsigned int size)
 
int btcx_screen_clips (int swidth, int sheight, struct v4l2_rect *win, struct v4l2_clip *clips, unsigned int n)
 
int btcx_align (struct v4l2_rect *win, struct v4l2_clip *clips, unsigned int n, int mask)
 
void btcx_sort_clips (struct v4l2_clip *clips, unsigned int nclips)
 
void btcx_calc_skips (int line, int width, int *maxy, struct btcx_skiplist *skips, unsigned int *nskips, const struct v4l2_clip *clips, unsigned int nclips)
 
 EXPORT_SYMBOL (btcx_riscmem_alloc)
 
 EXPORT_SYMBOL (btcx_riscmem_free)
 
 EXPORT_SYMBOL (btcx_screen_clips)
 
 EXPORT_SYMBOL (btcx_align)
 
 EXPORT_SYMBOL (btcx_sort_clips)
 
 EXPORT_SYMBOL (btcx_calc_skips)
 

Function Documentation

int btcx_align ( struct v4l2_rect win,
struct v4l2_clip clips,
unsigned int  n,
int  mask 
)

Definition at line 131 of file btcx-risc.c.

void btcx_calc_skips ( int  line,
int  width,
int maxy,
struct btcx_skiplist skips,
unsigned int nskips,
const struct v4l2_clip clips,
unsigned int  nclips 
)

Definition at line 187 of file btcx-risc.c.

int btcx_riscmem_alloc ( struct pci_dev pci,
struct btcx_riscmem risc,
unsigned int  size 
)

Definition at line 62 of file btcx-risc.c.

void btcx_riscmem_free ( struct pci_dev pci,
struct btcx_riscmem risc 
)

Definition at line 48 of file btcx-risc.c.

int btcx_screen_clips ( int  swidth,
int  sheight,
struct v4l2_rect win,
struct v4l2_clip clips,
unsigned int  n 
)

Definition at line 92 of file btcx-risc.c.

void btcx_sort_clips ( struct v4l2_clip clips,
unsigned int  nclips 
)

Definition at line 165 of file btcx-risc.c.

EXPORT_SYMBOL ( btcx_riscmem_alloc  )
EXPORT_SYMBOL ( btcx_riscmem_free  )
EXPORT_SYMBOL ( btcx_screen_clips  )
EXPORT_SYMBOL ( btcx_align  )
EXPORT_SYMBOL ( btcx_sort_clips  )
EXPORT_SYMBOL ( btcx_calc_skips  )
MODULE_AUTHOR ( "Gerd Knorr"  )
MODULE_DESCRIPTION ( "some code shared by bttv and cx88xx drivers"  )
MODULE_LICENSE ( "GPL"  )
module_param ( debug  ,
int  ,
0644   
)
MODULE_PARM_DESC ( debug  ,
"debug  messages,
default is 0(no)"   
)