Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
hfcpci.c File Reference
#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/delay.h>
#include <linux/mISDNhw.h>
#include <linux/slab.h>
#include "hfc_pci.h"

Go to the source code of this file.

Data Structures

struct  hfcPCI_hw
 
struct  hfc_pci
 
struct  _hfc_map
 

Macros

#define HFC_CFG_MASTER   1
 
#define HFC_CFG_SLAVE   2
 
#define HFC_CFG_PCM   3
 
#define HFC_CFG_2HFC   4
 
#define HFC_CFG_SLAVEHFC   5
 
#define HFC_CFG_NEG_F0   6
 
#define HFC_CFG_SW_DD_DU   7
 
#define FLG_HFC_TIMER_T1   16
 
#define FLG_HFC_TIMER_T3   17
 
#define NT_T1_COUNT   1120 /* number of 3.125ms interrupts (3.5s) */
 
#define NT_T3_COUNT   31 /* number of 3.125ms interrupts (97 ms) */
 
#define CLKDEL_TE   0x0e /* CLKDEL in TE mode */
 
#define CLKDEL_NT   0x6c /* CLKDEL in NT mode */
 

Enumerations

enum  {
  HFC_CCD_2BD0, HFC_CCD_B000, HFC_CCD_B006, HFC_CCD_B007,
  HFC_CCD_B008, HFC_CCD_B009, HFC_CCD_B00A, HFC_CCD_B00B,
  HFC_CCD_B00C, HFC_CCD_B100, HFC_CCD_B700, HFC_CCD_B701,
  HFC_ASUS_0675, HFC_BERKOM_A1T, HFC_BERKOM_TCONCEPT, HFC_ANIGMA_MC145575,
  HFC_ZOLTRIX_2BD0, HFC_DIGI_DF_M_IOM2_E, HFC_DIGI_DF_M_E, HFC_DIGI_DF_M_IOM2_A,
  HFC_DIGI_DF_M_A, HFC_ABOCOM_2BD1, HFC_SITECOM_DC105V2
}
 

Functions

 MODULE_AUTHOR ("Karsten Keil")
 
 MODULE_LICENSE ("GPL")
 
 module_param (debug, uint, S_IRUGO|S_IWUSR)
 
 module_param (poll, uint, S_IRUGO|S_IWUSR)
 
 module_init (HFC_init)
 
 module_exit (HFC_cleanup)
 
 MODULE_DEVICE_TABLE (pci, hfc_ids)
 

Macro Definition Documentation

#define CLKDEL_NT   0x6c /* CLKDEL in NT mode */

Definition at line 134 of file hfcpci.c.

#define CLKDEL_TE   0x0e /* CLKDEL in TE mode */

Definition at line 133 of file hfcpci.c.

#define FLG_HFC_TIMER_T1   16

Definition at line 128 of file hfcpci.c.

#define FLG_HFC_TIMER_T3   17

Definition at line 129 of file hfcpci.c.

#define HFC_CFG_2HFC   4

Definition at line 123 of file hfcpci.c.

#define HFC_CFG_MASTER   1

Definition at line 120 of file hfcpci.c.

#define HFC_CFG_NEG_F0   6

Definition at line 125 of file hfcpci.c.

#define HFC_CFG_PCM   3

Definition at line 122 of file hfcpci.c.

#define HFC_CFG_SLAVE   2

Definition at line 121 of file hfcpci.c.

#define HFC_CFG_SLAVEHFC   5

Definition at line 124 of file hfcpci.c.

#define HFC_CFG_SW_DD_DU   7

Definition at line 126 of file hfcpci.c.

#define NT_T1_COUNT   1120 /* number of 3.125ms interrupts (3.5s) */

Definition at line 131 of file hfcpci.c.

#define NT_T3_COUNT   31 /* number of 3.125ms interrupts (97 ms) */

Definition at line 132 of file hfcpci.c.

Enumeration Type Documentation

anonymous enum
Enumerator:
HFC_CCD_2BD0 
HFC_CCD_B000 
HFC_CCD_B006 
HFC_CCD_B007 
HFC_CCD_B008 
HFC_CCD_B009 
HFC_CCD_B00A 
HFC_CCD_B00B 
HFC_CCD_B00C 
HFC_CCD_B100 
HFC_CCD_B700 
HFC_CCD_B701 
HFC_ASUS_0675 
HFC_BERKOM_A1T 
HFC_BERKOM_TCONCEPT 
HFC_ANIGMA_MC145575 
HFC_ZOLTRIX_2BD0 
HFC_DIGI_DF_M_IOM2_E 
HFC_DIGI_DF_M_E 
HFC_DIGI_DF_M_IOM2_A 
HFC_DIGI_DF_M_A 
HFC_ABOCOM_2BD1 
HFC_SITECOM_DC105V2 

Definition at line 69 of file hfcpci.c.

Function Documentation

MODULE_AUTHOR ( "Karsten Keil"  )
MODULE_DEVICE_TABLE ( pci  ,
hfc_ids   
)
module_exit ( HFC_cleanup  )
module_init ( HFC_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( debug  ,
uint  ,
S_IRUGO S_IWUSR 
)
module_param ( poll  ,
uint  ,
S_IRUGO S_IWUSR 
)