Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
gpio-mc33880.c File Reference
#include <linux/init.h>
#include <linux/mutex.h>
#include <linux/spi/spi.h>
#include <linux/spi/mc33880.h>
#include <linux/gpio.h>
#include <linux/slab.h>
#include <linux/module.h>

Go to the source code of this file.

Data Structures

struct  mc33880
 

Macros

#define DRIVER_NAME   "mc33880"
 
#define PIN_CONFIG_MASK   0x03
 
#define PIN_CONFIG_IN_PULLUP   0x03
 
#define PIN_CONFIG_IN_WO_PULLUP   0x02
 
#define PIN_CONFIG_OUT   0x01
 
#define PIN_NUMBER   8
 

Functions

 subsys_initcall (mc33880_init)
 
 module_exit (mc33880_exit)
 
 MODULE_AUTHOR ("Mocean Laboratories <info@mocean-labs.com>")
 
 MODULE_LICENSE ("GPL v2")
 

Macro Definition Documentation

#define DRIVER_NAME   "mc33880"

Definition at line 31 of file gpio-mc33880.c.

#define PIN_CONFIG_IN_PULLUP   0x03

Definition at line 37 of file gpio-mc33880.c.

#define PIN_CONFIG_IN_WO_PULLUP   0x02

Definition at line 38 of file gpio-mc33880.c.

#define PIN_CONFIG_MASK   0x03

Definition at line 36 of file gpio-mc33880.c.

#define PIN_CONFIG_OUT   0x01

Definition at line 39 of file gpio-mc33880.c.

#define PIN_NUMBER   8

Definition at line 41 of file gpio-mc33880.c.

Function Documentation

MODULE_AUTHOR ( "Mocean Laboratories <info@mocean-labs.com>"  )
module_exit ( mc33880_exit  )
MODULE_LICENSE ( "GPL v2 )
subsys_initcall ( mc33880_init  )