Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
badge4.c File Reference
#include <linux/module.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/platform_device.h>
#include <linux/delay.h>
#include <linux/tty.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/partitions.h>
#include <linux/errno.h>
#include <linux/gpio.h>
#include <linux/leds.h>
#include <mach/hardware.h>
#include <asm/mach-types.h>
#include <asm/setup.h>
#include <mach/irqs.h>
#include <asm/mach/arch.h>
#include <asm/mach/flash.h>
#include <asm/mach/map.h>
#include <asm/hardware/sa1111.h>
#include <asm/mach/serial_sa1100.h>
#include <mach/badge4.h>
#include "generic.h"

Go to the source code of this file.


 __setup ("five_v_on", five_v_on_setup)
 arch_initcall (badge4_init)
void badge4_set_5V (unsigned subsystem, int on)
 EXPORT_SYMBOL (badge4_set_5V)


struct gpio_led badge4_gpio_leds []
 atag_offset = 0x100
 map_io = badge4_map_io
 nr_irqs = SA1100_NR_IRQS
 init_irq = sa1100_init_irq
 init_late = sa11x0_init_late
 timer = &sa1100_timer
 restart = sa11x0_restart

Function Documentation

__setup ( "five_v_on"  ,
arch_initcall ( badge4_init  )
void badge4_set_5V ( unsigned  subsystem,
int  on 

Definition at line 264 of file badge4.c.

EXPORT_SYMBOL ( badge4_set_5V  )

Variable Documentation

atag_offset = 0x100

Definition at line 334 of file badge4.c.

struct gpio_led badge4_gpio_leds[]
Initial value:
= {
.name = "badge4:red",
.default_trigger = "heartbeat",
.gpio = 7,
.name = "badge4:green",
.default_trigger = "cpu0",
.gpio = 9,

Definition at line 82 of file badge4.c.

init_irq = sa1100_init_irq

Definition at line 337 of file badge4.c.

init_late = sa11x0_init_late

Definition at line 338 of file badge4.c.

map_io = badge4_map_io

Definition at line 335 of file badge4.c.

nr_irqs = SA1100_NR_IRQS

Definition at line 336 of file badge4.c.

restart = sa11x0_restart

Definition at line 343 of file badge4.c.

Definition at line 339 of file badge4.c.