Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
saa7146_core.c File Reference
#include <media/saa7146.h>
#include <linux/module.h>

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 

Functions

 module_param (saa7146_debug, uint, 0644)
 
 MODULE_PARM_DESC (saa7146_debug,"debug level (default: 0)")
 
void saa7146_setgpio (struct saa7146_dev *dev, int port, u32 data)
 
int saa7146_wait_for_debi_done (struct saa7146_dev *dev, int nobusyloop)
 
voidsaa7146_vmalloc_build_pgtable (struct pci_dev *pci, long length, struct saa7146_pgtable *pt)
 
void saa7146_vfree_destroy_pgtable (struct pci_dev *pci, void *mem, struct saa7146_pgtable *pt)
 
void saa7146_pgtable_free (struct pci_dev *pci, struct saa7146_pgtable *pt)
 
int saa7146_pgtable_alloc (struct pci_dev *pci, struct saa7146_pgtable *pt)
 
int saa7146_pgtable_build_single (struct pci_dev *pci, struct saa7146_pgtable *pt, struct scatterlist *list, int sglen)
 
int saa7146_register_extension (struct saa7146_extension *ext)
 
int saa7146_unregister_extension (struct saa7146_extension *ext)
 
 EXPORT_SYMBOL_GPL (saa7146_register_extension)
 
 EXPORT_SYMBOL_GPL (saa7146_unregister_extension)
 
 EXPORT_SYMBOL_GPL (saa7146_pgtable_alloc)
 
 EXPORT_SYMBOL_GPL (saa7146_pgtable_free)
 
 EXPORT_SYMBOL_GPL (saa7146_pgtable_build_single)
 
 EXPORT_SYMBOL_GPL (saa7146_vmalloc_build_pgtable)
 
 EXPORT_SYMBOL_GPL (saa7146_vfree_destroy_pgtable)
 
 EXPORT_SYMBOL_GPL (saa7146_wait_for_debi_done)
 
 EXPORT_SYMBOL_GPL (saa7146_setgpio)
 
 EXPORT_SYMBOL_GPL (saa7146_i2c_adapter_prepare)
 
 EXPORT_SYMBOL_GPL (saa7146_debug)
 
 MODULE_AUTHOR ("Michael Hunold <[email protected]>")
 
 MODULE_DESCRIPTION ("driver for generic saa7146-based hardware")
 
 MODULE_LICENSE ("GPL")
 

Variables

unsigned int saa7146_debug
 

Macro Definition Documentation

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 21 of file saa7146_core.c.

Function Documentation

EXPORT_SYMBOL_GPL ( saa7146_register_extension  )
EXPORT_SYMBOL_GPL ( saa7146_unregister_extension  )
EXPORT_SYMBOL_GPL ( saa7146_pgtable_alloc  )
EXPORT_SYMBOL_GPL ( saa7146_pgtable_free  )
EXPORT_SYMBOL_GPL ( saa7146_pgtable_build_single  )
EXPORT_SYMBOL_GPL ( saa7146_vmalloc_build_pgtable  )
EXPORT_SYMBOL_GPL ( saa7146_vfree_destroy_pgtable  )
EXPORT_SYMBOL_GPL ( saa7146_wait_for_debi_done  )
EXPORT_SYMBOL_GPL ( saa7146_setgpio  )
EXPORT_SYMBOL_GPL ( saa7146_i2c_adapter_prepare  )
EXPORT_SYMBOL_GPL ( saa7146_debug  )
MODULE_AUTHOR ( "Michael Hunold <[email protected]>"  )
MODULE_DESCRIPTION ( "driver for generic saa7146-based hardware )
MODULE_LICENSE ( "GPL"  )
module_param ( saa7146_debug  ,
uint  ,
0644   
)
MODULE_PARM_DESC ( saa7146_debug  ,
"debug level (default: 0)"   
)
int saa7146_pgtable_alloc ( struct pci_dev pci,
struct saa7146_pgtable pt 
)

Definition at line 231 of file saa7146_core.c.

int saa7146_pgtable_build_single ( struct pci_dev pci,
struct saa7146_pgtable pt,
struct scatterlist list,
int  sglen 
)

Definition at line 247 of file saa7146_core.c.

void saa7146_pgtable_free ( struct pci_dev pci,
struct saa7146_pgtable pt 
)

Definition at line 223 of file saa7146_core.c.

int saa7146_register_extension ( struct saa7146_extension ext)

Definition at line 552 of file saa7146_core.c.

void saa7146_setgpio ( struct saa7146_dev dev,
int  port,
u32  data 
)

Definition at line 48 of file saa7146_core.c.

int saa7146_unregister_extension ( struct saa7146_extension ext)

Definition at line 565 of file saa7146_core.c.

void saa7146_vfree_destroy_pgtable ( struct pci_dev pci,
void mem,
struct saa7146_pgtable pt 
)

Definition at line 214 of file saa7146_core.c.

void* saa7146_vmalloc_build_pgtable ( struct pci_dev pci,
long  length,
struct saa7146_pgtable pt 
)

Definition at line 176 of file saa7146_core.c.

int saa7146_wait_for_debi_done ( struct saa7146_dev dev,
int  nobusyloop 
)

Definition at line 134 of file saa7146_core.c.

Variable Documentation

unsigned int saa7146_debug

Definition at line 28 of file saa7146_core.c.