Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
tcic.c File Reference
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/init.h>
#include <linux/types.h>
#include <linux/fcntl.h>
#include <linux/string.h>
#include <linux/errno.h>
#include <linux/interrupt.h>
#include <linux/timer.h>
#include <linux/ioport.h>
#include <linux/delay.h>
#include <linux/workqueue.h>
#include <linux/platform_device.h>
#include <linux/bitops.h>
#include <asm/io.h>
#include <pcmcia/ss.h>
#include "tcic.h"

Go to the source code of this file.

Data Structures

struct  tcic_socket
 

Macros

#define TCIC_IRQ(x)   ((x) ? (((x) == 11) ? 1 : (x)) : 15)
 
#define tcic_getb(reg)   inb(tcic_base+reg)
 
#define tcic_getw(reg)   inw(tcic_base+reg)
 
#define tcic_setb(reg, data)   outb(data, tcic_base+reg)
 
#define tcic_setw(reg, data)   outw(data, tcic_base+reg)
 

Functions

 MODULE_AUTHOR ("David Hinds <[email protected]>")
 
 MODULE_DESCRIPTION ("Databook TCIC-2 PCMCIA socket driver")
 
 MODULE_LICENSE ("Dual MPL/GPL")
 
 module_param (tcic_base, ulong, 0444)
 
 module_param (ignore, int, 0444)
 
 module_param (do_scan, int, 0444)
 
 module_param (irq_mask, int, 0444)
 
 module_param_array (irq_list, int,&irq_list_count, 0444)
 
 module_param (cs_irq, int, 0444)
 
 module_param (poll_interval, int, 0444)
 
 module_param (poll_quick, int, 0444)
 
 module_param (cycle_time, int, 0444)
 
 module_init (init_tcic)
 
 module_exit (exit_tcic)
 

Macro Definition Documentation

#define tcic_getb (   reg)    inb(tcic_base+reg)

Definition at line 150 of file tcic.c.

#define tcic_getw (   reg)    inw(tcic_base+reg)

Definition at line 151 of file tcic.c.

#define TCIC_IRQ (   x)    ((x) ? (((x) == 11) ? 1 : (x)) : 15)

Definition at line 121 of file tcic.c.

#define tcic_setb (   reg,
  data 
)    outb(data, tcic_base+reg)

Definition at line 152 of file tcic.c.

#define tcic_setw (   reg,
  data 
)    outw(data, tcic_base+reg)

Definition at line 153 of file tcic.c.

Function Documentation

MODULE_AUTHOR ( "David Hinds <[email protected]>"  )
MODULE_DESCRIPTION ( "Databook TCIC-2 PCMCIA socket driver )
module_exit ( exit_tcic  )
module_init ( init_tcic  )
MODULE_LICENSE ( "Dual MPL/GPL"  )
module_param ( tcic_base  ,
ulong  ,
0444   
)
module_param ( ignore  ,
int  ,
0444   
)
module_param ( do_scan  ,
int  ,
0444   
)
module_param ( irq_mask  ,
int  ,
0444   
)
module_param ( cs_irq  ,
int  ,
0444   
)
module_param ( poll_interval  ,
int  ,
0444   
)
module_param ( poll_quick  ,
int  ,
0444   
)
module_param ( cycle_time  ,
int  ,
0444   
)
module_param_array ( irq_list  ,
int  ,
irq_list_count,
0444   
)