Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
i2c-hydra.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/types.h>
#include <linux/i2c.h>
#include <linux/i2c-algo-bit.h>
#include <linux/init.h>
#include <linux/io.h>
#include <asm/hydra.h>

Go to the source code of this file.

Macros

#define HYDRA_CPD_PD0   0x00000001 /* CachePD lines */
 
#define HYDRA_CPD_PD1   0x00000002
 
#define HYDRA_CPD_PD2   0x00000004
 
#define HYDRA_CPD_PD3   0x00000008
 
#define HYDRA_SCLK   HYDRA_CPD_PD0
 
#define HYDRA_SDAT   HYDRA_CPD_PD1
 
#define HYDRA_SCLK_OE   0x00000010
 
#define HYDRA_SDAT_OE   0x00000020
 

Functions

 MODULE_DEVICE_TABLE (pci, hydra_ids)
 
 module_pci_driver (hydra_driver)
 
 MODULE_AUTHOR ("Geert Uytterhoeven <[email protected]>")
 
 MODULE_DESCRIPTION ("i2c for Apple Hydra Mac I/O")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define HYDRA_CPD_PD0   0x00000001 /* CachePD lines */

Definition at line 35 of file i2c-hydra.c.

#define HYDRA_CPD_PD1   0x00000002

Definition at line 36 of file i2c-hydra.c.

#define HYDRA_CPD_PD2   0x00000004

Definition at line 37 of file i2c-hydra.c.

#define HYDRA_CPD_PD3   0x00000008

Definition at line 38 of file i2c-hydra.c.

#define HYDRA_SCLK   HYDRA_CPD_PD0

Definition at line 40 of file i2c-hydra.c.

#define HYDRA_SCLK_OE   0x00000010

Definition at line 42 of file i2c-hydra.c.

#define HYDRA_SDAT   HYDRA_CPD_PD1

Definition at line 41 of file i2c-hydra.c.

#define HYDRA_SDAT_OE   0x00000020

Definition at line 43 of file i2c-hydra.c.

Function Documentation

MODULE_AUTHOR ( "Geert Uytterhoeven <[email protected]>"  )
MODULE_DESCRIPTION ( "i2c for Apple Hydra Mac I/O"  )
MODULE_DEVICE_TABLE ( pci  ,
hydra_ids   
)
MODULE_LICENSE ( "GPL"  )
module_pci_driver ( hydra_driver  )