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

Go to the source code of this file.

Data Structures

struct  ioc3_driver_data
 
struct  ioc3_submodule
 

Macros

#define IOC3_MAX_SUBMODULES   32
 
#define IOC3_CLASS_NONE   0
 
#define IOC3_CLASS_BASE_IP27   1
 
#define IOC3_CLASS_BASE_IP30   2
 
#define IOC3_CLASS_MENET_123   3
 
#define IOC3_CLASS_MENET_4   4
 
#define IOC3_CLASS_CADDUO   5
 
#define IOC3_CLASS_SERIAL   6
 
#define IOC3_W_IES   0
 
#define IOC3_W_IEC   1
 

Functions

int ioc3_register_submodule (struct ioc3_submodule *)
 
void ioc3_unregister_submodule (struct ioc3_submodule *)
 
void ioc3_enable (struct ioc3_submodule *, struct ioc3_driver_data *, unsigned int)
 
void ioc3_ack (struct ioc3_submodule *, struct ioc3_driver_data *, unsigned int)
 
void ioc3_disable (struct ioc3_submodule *, struct ioc3_driver_data *, unsigned int)
 
void ioc3_gpcr_set (struct ioc3_driver_data *, unsigned int)
 
void ioc3_write_ireg (struct ioc3_driver_data *idd, uint32_t value, int reg)
 

Macro Definition Documentation

#define IOC3_CLASS_BASE_IP27   1

Definition at line 17 of file ioc3.h.

#define IOC3_CLASS_BASE_IP30   2

Definition at line 18 of file ioc3.h.

#define IOC3_CLASS_CADDUO   5

Definition at line 21 of file ioc3.h.

#define IOC3_CLASS_MENET_123   3

Definition at line 19 of file ioc3.h.

#define IOC3_CLASS_MENET_4   4

Definition at line 20 of file ioc3.h.

#define IOC3_CLASS_NONE   0

Definition at line 16 of file ioc3.h.

#define IOC3_CLASS_SERIAL   6

Definition at line 22 of file ioc3.h.

#define IOC3_MAX_SUBMODULES   32

Definition at line 14 of file ioc3.h.

#define IOC3_W_IEC   1

Definition at line 76 of file ioc3.h.

#define IOC3_W_IES   0

Definition at line 75 of file ioc3.h.

Function Documentation

void ioc3_ack ( struct ioc3_submodule ,
struct ioc3_driver_data ,
unsigned  int 
)

Definition at line 467 of file ioc3.c.

void ioc3_disable ( struct ioc3_submodule ,
struct ioc3_driver_data ,
unsigned  int 
)

Definition at line 473 of file ioc3.c.

void ioc3_enable ( struct ioc3_submodule ,
struct ioc3_driver_data ,
unsigned  int 
)

Definition at line 461 of file ioc3.c.

void ioc3_gpcr_set ( struct ioc3_driver_data ,
unsigned  int 
)

Definition at line 479 of file ioc3.c.

int ioc3_register_submodule ( struct ioc3_submodule )

Definition at line 498 of file ioc3.c.

void ioc3_unregister_submodule ( struct ioc3_submodule )

Definition at line 541 of file ioc3.c.

void ioc3_write_ireg ( struct ioc3_driver_data idd,
uint32_t  value,
int  reg 
)