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

Go to the source code of this file.

Macros

#define FC_LOG_PREFIX   "flexcop_usb"
 
#define DRIVER_VERSION   "0.1"
 
#define DRIVER_NAME   "Technisat/B2C2 FlexCop II/IIb/III Digital TV USB Driver"
 
#define DRIVER_AUTHOR   "Patrick Boettcher <[email protected]>"
 
#define dprintk(level, args...)
 
#define debug_dump(b, l, method)
 
#define DEBSTATUS   " (debugging is not enabled)"
 
#define deb_info(args...)   dprintk(0x01, args)
 
#define deb_ts(args...)   dprintk(0x02, args)
 
#define deb_ctrl(args...)   dprintk(0x04, args)
 
#define deb_i2c(args...)   dprintk(0x08, args)
 
#define deb_v8(args...)   dprintk(0x10, args)
 
#define B2C2_FLEX_PCIOFFSET_TO_INTERNALADDR(usPCI)
 
#define B2C2_FLEX_INTERNALADDR_TO_PCIOFFSET(ucAddr)
 
#define bytes_left_to_read_on_page(paddr, buflen)
 

Functions

 module_param (debug, int, 0644)
 
 MODULE_PARM_DESC (debug,"set debugging level (1=info,ts=2,""ctrl=4,i2c=8,v8mem=16 (or-able))."DEBSTATUS)
 
 MODULE_DEVICE_TABLE (usb, flexcop_usb_table)
 
 module_usb_driver (flexcop_usb_driver)
 
 MODULE_AUTHOR (DRIVER_AUTHOR)
 
 MODULE_DESCRIPTION (DRIVER_NAME)
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define B2C2_FLEX_INTERNALADDR_TO_PCIOFFSET (   ucAddr)
Value:
(u16) \
(((ucAddr & 0x07) << 2) + ((ucAddr & 0x70) << 4))

Definition at line 57 of file flexcop-usb.c.

#define B2C2_FLEX_PCIOFFSET_TO_INTERNALADDR (   usPCI)
Value:
(u8) \
(((usPCI >> 2) & 0x07) + ((usPCI >> 4) & 0x70))

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

#define bytes_left_to_read_on_page (   paddr,
  buflen 
)
#define deb_ctrl (   args...)    dprintk(0x04, args)

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

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

Definition at line 43 of file flexcop-usb.c.

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

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

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

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

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

Definition at line 44 of file flexcop-usb.c.

#define DEBSTATUS   " (debugging is not enabled)"

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

#define debug_dump (   b,
  l,
  method 
)

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

#define dprintk (   level,
  args... 
)

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

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

Definition at line 13 of file flexcop-usb.c.

#define DRIVER_NAME   "Technisat/B2C2 FlexCop II/IIb/III Digital TV USB Driver"

Definition at line 12 of file flexcop-usb.c.

#define DRIVER_VERSION   "0.1"

Definition at line 11 of file flexcop-usb.c.

#define FC_LOG_PREFIX   "flexcop_usb"

Definition at line 6 of file flexcop-usb.c.

Function Documentation

MODULE_AUTHOR ( DRIVER_AUTHOR  )
MODULE_DESCRIPTION ( DRIVER_NAME  )
MODULE_DEVICE_TABLE ( usb  ,
flexcop_usb_table   
)
MODULE_LICENSE ( "GPL"  )
module_param ( debug  ,
int  ,
0644   
)
MODULE_PARM_DESC ( debug  ,
"set debugging level (1=info,ts=2,""ctrl=4,i2c=8,v8mem=16 (or-able))."  DEBSTATUS 
)
module_usb_driver ( flexcop_usb_driver  )