Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
ioc4.h File Reference
#include <linux/interrupt.h>

Go to the source code of this file.

Data Structures

struct  ioc4_misc_regs
 
union  ioc4_misc_regs::ioc4_pci_err_addr_l
 
union  ioc4_misc_regs::ioc4_sio_int
 
union  ioc4_misc_regs::ioc4_other_int
 
union  ioc4_misc_regs::ioc4_sio_cr
 
union  ioc4_misc_regs::ioc4_int_out
 
union  ioc4_misc_regs::ioc4_gpcr
 
union  ioc4_misc_regs::ioc4_gpdr
 
union  ioc4_misc_regs::ioc4_gppr
 
struct  ioc4_driver_data
 
struct  ioc4_submodule
 

Macros

#define IOC4_EXTINT_COUNT_DIVISOR   520 /* PCI clocks per COUNT tick */
 
#define IOC4_GPCR_DIR_0   0x01 /* External interrupt output */
 
#define IOC4_GPCR_DIR_1   0x02 /* External interrupt input */
 
#define IOC4_GPCR_DIR_2   0x04
 
#define IOC4_GPCR_DIR_3   0x08 /* Keyboard/mouse presence */
 
#define IOC4_GPCR_DIR_4   0x10 /* Ser. port 0 xcvr select (0=232, 1=422) */
 
#define IOC4_GPCR_DIR_5   0x20 /* Ser. port 1 xcvr select (0=232, 1=422) */
 
#define IOC4_GPCR_DIR_6   0x40 /* Ser. port 2 xcvr select (0=232, 1=422) */
 
#define IOC4_GPCR_DIR_7   0x80 /* Ser. port 3 xcvr select (0=232, 1=422) */
 
#define IOC4_GPCR_EDGE_0   0x01
 
#define IOC4_GPCR_EDGE_1   0x02 /* External interrupt input */
 
#define IOC4_GPCR_EDGE_2   0x04
 
#define IOC4_GPCR_EDGE_3   0x08
 
#define IOC4_GPCR_EDGE_4   0x10
 
#define IOC4_GPCR_EDGE_5   0x20
 
#define IOC4_GPCR_EDGE_6   0x40
 
#define IOC4_GPCR_EDGE_7   0x80
 
#define IOC4_VARIANT_IO9   0x0900
 
#define IOC4_VARIANT_PCI_RT   0x0901
 
#define IOC4_VARIANT_IO10   0x1000
 
#define IOC4_NUM_CARDS   8 /* max cards per partition */
 

Functions

int ioc4_register_submodule (struct ioc4_submodule *)
 
void ioc4_unregister_submodule (struct ioc4_submodule *)
 

Macro Definition Documentation

#define IOC4_EXTINT_COUNT_DIVISOR   520 /* PCI clocks per COUNT tick */

Definition at line 20 of file ioc4.h.

#define IOC4_GPCR_DIR_0   0x01 /* External interrupt output */

Definition at line 131 of file ioc4.h.

#define IOC4_GPCR_DIR_1   0x02 /* External interrupt input */

Definition at line 132 of file ioc4.h.

#define IOC4_GPCR_DIR_2   0x04

Definition at line 133 of file ioc4.h.

#define IOC4_GPCR_DIR_3   0x08 /* Keyboard/mouse presence */

Definition at line 134 of file ioc4.h.

#define IOC4_GPCR_DIR_4   0x10 /* Ser. port 0 xcvr select (0=232, 1=422) */

Definition at line 135 of file ioc4.h.

#define IOC4_GPCR_DIR_5   0x20 /* Ser. port 1 xcvr select (0=232, 1=422) */

Definition at line 136 of file ioc4.h.

#define IOC4_GPCR_DIR_6   0x40 /* Ser. port 2 xcvr select (0=232, 1=422) */

Definition at line 137 of file ioc4.h.

#define IOC4_GPCR_DIR_7   0x80 /* Ser. port 3 xcvr select (0=232, 1=422) */

Definition at line 138 of file ioc4.h.

#define IOC4_GPCR_EDGE_0   0x01

Definition at line 141 of file ioc4.h.

#define IOC4_GPCR_EDGE_1   0x02 /* External interrupt input */

Definition at line 142 of file ioc4.h.

#define IOC4_GPCR_EDGE_2   0x04

Definition at line 143 of file ioc4.h.

#define IOC4_GPCR_EDGE_3   0x08

Definition at line 144 of file ioc4.h.

#define IOC4_GPCR_EDGE_4   0x10

Definition at line 145 of file ioc4.h.

#define IOC4_GPCR_EDGE_5   0x20

Definition at line 146 of file ioc4.h.

#define IOC4_GPCR_EDGE_6   0x40

Definition at line 147 of file ioc4.h.

#define IOC4_GPCR_EDGE_7   0x80

Definition at line 148 of file ioc4.h.

#define IOC4_NUM_CARDS   8 /* max cards per partition */

Definition at line 175 of file ioc4.h.

#define IOC4_VARIANT_IO10   0x1000

Definition at line 152 of file ioc4.h.

#define IOC4_VARIANT_IO9   0x0900

Definition at line 150 of file ioc4.h.

#define IOC4_VARIANT_PCI_RT   0x0901

Definition at line 151 of file ioc4.h.

Function Documentation

int ioc4_register_submodule ( struct ioc4_submodule )

Definition at line 63 of file ioc4.c.

void ioc4_unregister_submodule ( struct ioc4_submodule )

Definition at line 90 of file ioc4.c.