Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
beat.c File Reference
#include <linux/export.h>
#include <linux/init.h>
#include <linux/err.h>
#include <linux/rtc.h>
#include <linux/interrupt.h>
#include <linux/irqreturn.h>
#include <linux/reboot.h>
#include <asm/hvconsole.h>
#include <asm/time.h>
#include <asm/machdep.h>
#include <asm/firmware.h>
#include "beat_wrapper.h"
#include "beat.h"
#include "beat_interrupt.h"

Go to the source code of this file.

Data Structures

struct  beat_event_list


#define BEAT_NVRAM_SIZE   4096


void beat_restart (char *cmd)
void beat_power_off (void)
 EXPORT_SYMBOL (beat_halt_code)
void beat_halt (void)
int beat_set_rtc_time (struct rtc_time *rtc_time)
void beat_get_rtc_time (struct rtc_time *rtc_time)
ssize_t beat_nvram_read (char *buf, size_t count, loff_t *index)
ssize_t beat_nvram_write (char *buf, size_t count, loff_t *index)
ssize_t beat_nvram_get_size (void)
int beat_set_xdabr (unsigned long dabr, unsigned long dabrx)
int64_t beat_get_term_char (u64 vterm, u64 *len, u64 *t1, u64 *t2)
 EXPORT_SYMBOL (beat_get_term_char)
int64_t beat_put_term_char (u64 vterm, u64 len, u64 t1, u64 t2)
 EXPORT_SYMBOL (beat_put_term_char)
void beat_power_save (void)
 device_initcall (beat_event_init)


u64 beat_halt_code = 0x1000000000000000UL

Macro Definition Documentation

#define BEAT_NVRAM_SIZE   4096

Definition at line 80 of file beat.c.

Function Documentation

void beat_get_rtc_time ( struct rtc_time rtc_time)

Definition at line 69 of file beat.c.

int64_t beat_get_term_char ( u64  vterm,
u64 len,
u64 t1,
u64 t2 

Definition at line 146 of file beat.c.

void beat_halt ( void  )

Definition at line 53 of file beat.c.

ssize_t beat_nvram_get_size ( void  )

Definition at line 134 of file beat.c.

ssize_t beat_nvram_read ( char buf,
size_t  count,
loff_t *  index 

Definition at line 82 of file beat.c.

ssize_t beat_nvram_write ( char buf,
size_t  count,
loff_t *  index 

Definition at line 108 of file beat.c.

void beat_power_off ( void  )

Definition at line 45 of file beat.c.

void beat_power_save ( void  )

Definition at line 170 of file beat.c.

int64_t beat_put_term_char ( u64  vterm,
u64  len,
u64  t1,
u64  t2 

Definition at line 160 of file beat.c.

void beat_restart ( char cmd)

Definition at line 40 of file beat.c.

int beat_set_rtc_time ( struct rtc_time rtc_time)

Definition at line 58 of file beat.c.

int beat_set_xdabr ( unsigned long  dabr,
unsigned long  dabrx 

Definition at line 139 of file beat.c.

device_initcall ( beat_event_init  )
EXPORT_SYMBOL ( beat_halt_code  )
EXPORT_SYMBOL ( beat_get_term_char  )
EXPORT_SYMBOL ( beat_put_term_char  )

Variable Documentation

u64 beat_halt_code = 0x1000000000000000UL

Definition at line 50 of file beat.c.