Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
flexcop-pci.c File Reference
#include "flexcop-common.h"

Go to the source code of this file.

Data Structures

struct  flexcop_pci
 

Macros

#define FC_LOG_PREFIX   "flexcop-pci"
 
#define dprintk(level, args...)
 
#define DEBSTATUS   " (debugging is not enabled)"
 
#define deb_info(args...)   dprintk(0x01, args)
 
#define deb_reg(args...)   dprintk(0x02, args)
 
#define deb_ts(args...)   dprintk(0x04, args)
 
#define deb_irq(args...)   dprintk(0x08, args)
 
#define deb_chk(args...)   dprintk(0x10, args)
 
#define DRIVER_VERSION   "0.1"
 
#define DRIVER_NAME   "flexcop-pci"
 
#define DRIVER_AUTHOR   "Patrick Boettcher <[email protected]>"
 
#define FC_PCI_INIT   0x01
 
#define FC_PCI_DMA_INIT   0x02
 
#define FC_DEFAULT_DMA1_BUFSIZE   (1280 * 188)
 
#define FC_DEFAULT_DMA2_BUFSIZE   (10 * 188)
 

Functions

 module_param (enable_pid_filtering, int, 0444)
 
 MODULE_PARM_DESC (enable_pid_filtering,"enable hardware pid filtering: supported values: 0 (fullts), 1")
 
 module_param (irq_chk_intv, int, 0644)
 
 MODULE_PARM_DESC (irq_chk_intv,"set the interval for IRQ streaming watchdog.")
 
 module_param (debug, int, 0644)
 
 MODULE_PARM_DESC (debug,"set debug level (1=info,2=regs,4=TS,8=irqdma,16=check (|-able))."DEBSTATUS)
 
 MODULE_DEVICE_TABLE (pci, flexcop_pci_tbl)
 
 module_init (flexcop_pci_module_init)
 
 module_exit (flexcop_pci_module_exit)
 
 MODULE_AUTHOR (DRIVER_AUTHOR)
 
 MODULE_DESCRIPTION (DRIVER_NAME)
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define deb_chk (   args...)    dprintk(0x10, args)

Definition at line 32 of file flexcop-pci.c.

#define deb_info (   args...)    dprintk(0x01, args)

Definition at line 28 of file flexcop-pci.c.

#define deb_irq (   args...)    dprintk(0x08, args)

Definition at line 31 of file flexcop-pci.c.

#define deb_reg (   args...)    dprintk(0x02, args)

Definition at line 29 of file flexcop-pci.c.

#define deb_ts (   args...)    dprintk(0x04, args)

Definition at line 30 of file flexcop-pci.c.

#define DEBSTATUS   " (debugging is not enabled)"

Definition at line 25 of file flexcop-pci.c.

#define dprintk (   level,
  args... 
)

Definition at line 24 of file flexcop-pci.c.

#define DRIVER_AUTHOR   "Patrick Boettcher <[email protected]>"

Definition at line 42 of file flexcop-pci.c.

#define DRIVER_NAME   "flexcop-pci"

Definition at line 41 of file flexcop-pci.c.

#define DRIVER_VERSION   "0.1"

Definition at line 40 of file flexcop-pci.c.

#define FC_DEFAULT_DMA1_BUFSIZE   (1280 * 188)

Definition at line 55 of file flexcop-pci.c.

#define FC_DEFAULT_DMA2_BUFSIZE   (10 * 188)

Definition at line 56 of file flexcop-pci.c.

#define FC_LOG_PREFIX   "flexcop-pci"

Definition at line 7 of file flexcop-pci.c.

#define FC_PCI_DMA_INIT   0x02

Definition at line 48 of file flexcop-pci.c.

#define FC_PCI_INIT   0x01

Definition at line 47 of file flexcop-pci.c.

Function Documentation

MODULE_AUTHOR ( DRIVER_AUTHOR  )
MODULE_DESCRIPTION ( DRIVER_NAME  )
MODULE_DEVICE_TABLE ( pci  ,
flexcop_pci_tbl   
)
module_exit ( flexcop_pci_module_exit  )
module_init ( flexcop_pci_module_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( enable_pid_filtering  ,
int  ,
0444   
)
module_param ( irq_chk_intv  ,
int  ,
0644   
)
module_param ( debug  ,
int  ,
0644   
)
MODULE_PARM_DESC ( enable_pid_filtering  ,
"enable hardware pid filtering: supported values: 0   fullts,
1"   
)
MODULE_PARM_DESC ( irq_chk_intv  ,
"set the interval for IRQ streaming watchdog."   
)
MODULE_PARM_DESC ( debug  ,
"set debug level (1=info,2=regs,4=TS,8=irqdma,16=check (|-able))."  DEBSTATUS 
)