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

Go to the source code of this file.

Data Structures

struct  dioname
 

Macros

#define CONFIG_DIO_CONSTANTS
 
#define DIONAME(x)   { DIO_ID_##x, DIO_DESC_##x }
 
#define DIOFBNAME(x)   { DIO_ENCODE_ID( DIO_ID_FBUFFER, DIO_ID2_##x), DIO_DESC2_##x }
 

Functions

int __init dio_find (int deviceid)
 
 subsys_initcall (dio_init)
 
unsigned long dio_scodetophysaddr (int scode)
 

Variables

struct dio_bus dio_bus
 

Macro Definition Documentation

#define CONFIG_DIO_CONSTANTS

Definition at line 48 of file dio.c.

#define DIOFBNAME (   x)    { DIO_ENCODE_ID( DIO_ID_FBUFFER, DIO_ID2_##x), DIO_DESC2_##x }

Definition at line 67 of file dio.c.

#define DIONAME (   x)    { DIO_ID_##x, DIO_DESC_##x }

Definition at line 66 of file dio.c.

Function Documentation

int __init dio_find ( int  deviceid)

Definition at line 112 of file dio.c.

unsigned long dio_scodetophysaddr ( int  scode)

Definition at line 278 of file dio.c.

subsys_initcall ( dio_init  )

Variable Documentation

struct dio_bus dio_bus
Initial value:
= {
.resources = {
{ .name = "DIO mem", .start = 0x00600000, .end = 0x007fffff },
{ .name = "DIO-II mem", .start = 0x01000000, .end = 0x1fffffff }
},
.name = "DIO bus"
}

Definition at line 37 of file dio.c.