Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
pt1.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/vmalloc.h>
#include <linux/pci.h>
#include <linux/kthread.h>
#include <linux/freezer.h>
#include <linux/ratelimit.h>
#include "dvbdev.h"
#include "dvb_demux.h"
#include "dmxdev.h"
#include "dvb_net.h"
#include "dvb_frontend.h"
#include "va1j5jf8007t.h"
#include "va1j5jf8007s.h"

Go to the source code of this file.

Data Structures

struct  pt1_buffer_page
 
struct  pt1_table_page
 
struct  pt1_buffer
 
struct  pt1_table
 
struct  pt1
 
struct  pt1_adapter
 
struct  pt1_config
 

Macros

#define DRIVER_NAME   "earth-pt1"
 
#define PT1_PAGE_SHIFT   12
 
#define PT1_PAGE_SIZE   (1 << PT1_PAGE_SHIFT)
 
#define PT1_NR_UPACKETS   1024
 
#define PT1_NR_BUFS   511
 
#define PT1_NR_ADAPS   4
 
#define pt1_printk(level, pt1, format, arg...)   dev_printk(level, &(pt1)->pdev->dev, format, ##arg)
 

Functions

 module_param_named (nr_tables, pt1_nr_tables, int, 0)
 
 DVB_DEFINE_MOD_OPT_ADAPTER_NR (adapter_nr)
 
 MODULE_DEVICE_TABLE (pci, pt1_id_table)
 
 module_init (pt1_init)
 
 module_exit (pt1_cleanup)
 
 MODULE_AUTHOR ("Takahito HIRANO <hiranotaka@zng.info>")
 
 MODULE_DESCRIPTION ("Earthsoft PT1/PT2 Driver")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define DRIVER_NAME   "earth-pt1"

Definition at line 42 of file pt1.c.

#define PT1_NR_ADAPS   4

Definition at line 69 of file pt1.c.

#define PT1_NR_BUFS   511

Definition at line 47 of file pt1.c.

#define PT1_NR_UPACKETS   1024

Definition at line 46 of file pt1.c.

#define PT1_PAGE_SHIFT   12

Definition at line 44 of file pt1.c.

#define PT1_PAGE_SIZE   (1 << PT1_PAGE_SHIFT)

Definition at line 45 of file pt1.c.

#define pt1_printk (   level,
  pt1,
  format,
  arg... 
)    dev_printk(level, &(pt1)->pdev->dev, format, ##arg)

Definition at line 112 of file pt1.c.

Function Documentation

DVB_DEFINE_MOD_OPT_ADAPTER_NR ( adapter_nr  )
MODULE_AUTHOR ( "Takahito HIRANO <hiranotaka@zng.info>"  )
MODULE_DESCRIPTION ( "Earthsoft PT1/PT2 Driver"  )
MODULE_DEVICE_TABLE ( pci  ,
pt1_id_table   
)
module_exit ( pt1_cleanup  )
module_init ( pt1_init  )
MODULE_LICENSE ( "GPL"  )
module_param_named ( nr_tables  ,
pt1_nr_tables  ,
int  ,
 
)