Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
dst_ca.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/mutex.h>
#include <linux/string.h>
#include <linux/dvb/ca.h>
#include "dvbdev.h"
#include "dvb_frontend.h"
#include "dst_ca.h"
#include "dst_common.h"

Go to the source code of this file.

Macros

#define DST_CA_ERROR   0
 
#define DST_CA_NOTICE   1
 
#define DST_CA_INFO   2
 
#define DST_CA_DEBUG   3
 
#define dprintk(x, y, z, format, arg...)
 

Functions

 module_param (verbose, int, 0644)
 
 MODULE_PARM_DESC (verbose,"verbose startup messages, default is 1 (yes)")
 
struct dvb_devicedst_ca_attach (struct dst_state *dst, struct dvb_adapter *dvb_adapter)
 
 EXPORT_SYMBOL (dst_ca_attach)
 
 MODULE_DESCRIPTION ("DST DVB-S/T/C Combo CA driver")
 
 MODULE_AUTHOR ("Manu Abraham")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define dprintk (   x,
  y,
  z,
  format,
  arg... 
)
Value:
do { \
if (z) { \
if ((x > DST_CA_ERROR) && (x > y)) \
printk(KERN_ERR "%s: " format "\n", __func__ , ##arg); \
else if ((x > DST_CA_NOTICE) && (x > y)) \
printk(KERN_NOTICE "%s: " format "\n", __func__ , ##arg); \
else if ((x > DST_CA_INFO) && (x > y)) \
printk(KERN_INFO "%s: " format "\n", __func__ , ##arg); \
else if ((x > DST_CA_DEBUG) && (x > y)) \
printk(KERN_DEBUG "%s: " format "\n", __func__ , ##arg); \
} else { \
if (x > y) \
printk(format, ## arg); \
} \
} while(0)

Definition at line 38 of file dst_ca.c.

#define DST_CA_DEBUG   3

Definition at line 36 of file dst_ca.c.

#define DST_CA_ERROR   0

Definition at line 33 of file dst_ca.c.

#define DST_CA_INFO   2

Definition at line 35 of file dst_ca.c.

#define DST_CA_NOTICE   1

Definition at line 34 of file dst_ca.c.

Function Documentation

struct dvb_device* dst_ca_attach ( struct dst_state dst,
struct dvb_adapter dvb_adapter 
)
read

Definition at line 709 of file dst_ca.c.

EXPORT_SYMBOL ( dst_ca_attach  )
MODULE_AUTHOR ( "Manu Abraham"  )
MODULE_DESCRIPTION ( "DST DVB-S/T/C Combo CA driver )
MODULE_LICENSE ( "GPL"  )
module_param ( verbose  ,
int  ,
0644   
)
MODULE_PARM_DESC ( verbose  ,
"verbose startup  messages,
default is 1(yes)"   
)