Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
nsc_gpio.c File Reference
#include <linux/fs.h>
#include <linux/module.h>
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/nsc_gpio.h>
#include <linux/platform_device.h>
#include <asm/uaccess.h>
#include <asm/io.h>

Go to the source code of this file.

Macros

#define NAME   "nsc_gpio"
 

Functions

void nsc_gpio_dump (struct nsc_gpio_ops *amp, unsigned index)
 
ssize_t nsc_gpio_write (struct file *file, const char __user *data, size_t len, loff_t *ppos)
 
ssize_t nsc_gpio_read (struct file *file, char __user *buf, size_t len, loff_t *ppos)
 
 EXPORT_SYMBOL (nsc_gpio_write)
 
 EXPORT_SYMBOL (nsc_gpio_read)
 
 EXPORT_SYMBOL (nsc_gpio_dump)
 
 module_init (nsc_gpio_init)
 
 module_exit (nsc_gpio_cleanup)
 
 MODULE_AUTHOR ("Jim Cromie <[email protected]>")
 
 MODULE_DESCRIPTION ("NatSemi GPIO Common Methods")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define NAME   "nsc_gpio"

Definition at line 20 of file nsc_gpio.c.

Function Documentation

EXPORT_SYMBOL ( nsc_gpio_write  )
EXPORT_SYMBOL ( nsc_gpio_read  )
EXPORT_SYMBOL ( nsc_gpio_dump  )
MODULE_AUTHOR ( "Jim Cromie <[email protected]>"  )
MODULE_DESCRIPTION ( "NatSemi GPIO Common Methods"  )
module_exit ( nsc_gpio_cleanup  )
module_init ( nsc_gpio_init  )
MODULE_LICENSE ( "GPL"  )
void nsc_gpio_dump ( struct nsc_gpio_ops amp,
unsigned  index 
)

Definition at line 22 of file nsc_gpio.c.

ssize_t nsc_gpio_read ( struct file file,
char __user buf,
size_t  len,
loff_t *  ppos 
)

Definition at line 104 of file nsc_gpio.c.

ssize_t nsc_gpio_write ( struct file file,
const char __user data,
size_t  len,
loff_t *  ppos 
)

Definition at line 41 of file nsc_gpio.c.