Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Variables
olpc_dcon_xo_1_5.c File Reference
#include <linux/acpi.h>
#include <linux/delay.h>
#include <linux/pci.h>
#include <linux/gpio.h>
#include <asm/olpc.h>
#include "olpc_dcon.h"

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 
#define NR_VX855_GPI   14
 
#define NR_VX855_GPO   13
 
#define NR_VX855_GPIO   15
 
#define VX855_GPI(n)   (n)
 
#define VX855_GPO(n)   (NR_VX855_GPI + (n))
 
#define VX855_GPIO(n)   (NR_VX855_GPI + NR_VX855_GPO + (n))
 
#define VX855_GENL_PURPOSE_OUTPUT   0x44c /* PMIO_Rx4c-4f */
 
#define VX855_GPI_STATUS_CHG   0x450 /* PMIO_Rx50 */
 
#define VX855_GPI_SCI_SMI   0x452 /* PMIO_Rx52 */
 
#define BIT_GPIO12   0x40
 
#define PREFIX   "OLPC DCON:"
 

Variables

struct dcon_platform_data dcon_pdata_xo_1_5
 

Macro Definition Documentation

#define BIT_GPIO12   0x40

Definition at line 41 of file olpc_dcon_xo_1_5.c.

#define NR_VX855_GPI   14

Definition at line 18 of file olpc_dcon_xo_1_5.c.

#define NR_VX855_GPIO   15

Definition at line 20 of file olpc_dcon_xo_1_5.c.

#define NR_VX855_GPO   13

Definition at line 19 of file olpc_dcon_xo_1_5.c.

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 9 of file olpc_dcon_xo_1_5.c.

#define PREFIX   "OLPC DCON:"

Definition at line 43 of file olpc_dcon_xo_1_5.c.

#define VX855_GENL_PURPOSE_OUTPUT   0x44c /* PMIO_Rx4c-4f */

Definition at line 38 of file olpc_dcon_xo_1_5.c.

#define VX855_GPI (   n)    (n)

Definition at line 22 of file olpc_dcon_xo_1_5.c.

#define VX855_GPI_SCI_SMI   0x452 /* PMIO_Rx52 */

Definition at line 40 of file olpc_dcon_xo_1_5.c.

#define VX855_GPI_STATUS_CHG   0x450 /* PMIO_Rx50 */

Definition at line 39 of file olpc_dcon_xo_1_5.c.

#define VX855_GPIO (   n)    (NR_VX855_GPI + NR_VX855_GPO + (n))

Definition at line 24 of file olpc_dcon_xo_1_5.c.

#define VX855_GPO (   n)    (NR_VX855_GPI + (n))

Definition at line 23 of file olpc_dcon_xo_1_5.c.

Variable Documentation

struct dcon_platform_data dcon_pdata_xo_1_5
Initial value:
= {
.init = dcon_init_xo_1_5,
.bus_stabilize_wiggle = dcon_wiggle_xo_1_5,
.set_dconload = dcon_set_dconload_xo_1_5,
.read_status = dcon_read_status_xo_1_5,
}

Definition at line 186 of file olpc_dcon_xo_1_5.c.