Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Enumerations | Functions | Variables
setup.c File Reference
#include <linux/spinlock.h>
#include <linux/mm.h>
#include <linux/bootmem.h>
#include <linux/blkdev.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/screen_info.h>
#include <linux/initrd.h>
#include <asm/irq.h>
#include <asm/io.h>
#include <asm/bootinfo.h>
#include <asm/mipsregs.h>
#include <asm/reboot.h>
#include <asm/time.h>
#include <asm/traps.h>
#include <asm/sibyte/sb1250.h>
#include <asm/sibyte/sb1250_genbus.h>
#include <asm/sibyte/board.h>

Go to the source code of this file.

Enumerations

enum  swarm_rtc_type { RTC_NONE, RTC_XICOR, RTC_M41T81 }
 

Functions

int xicor_probe (void)
 
int xicor_set_time (unsigned long)
 
unsigned long xicor_get_time (void)
 
int m41t81_probe (void)
 
int m41t81_set_time (unsigned long)
 
unsigned long m41t81_get_time (void)
 
const charget_system_type (void)
 
int swarm_be_handler (struct pt_regs *regs, int is_fixup)
 
void read_persistent_clock (struct timespec *ts)
 
int rtc_mips_set_time (unsigned long sec)
 
void __init plat_mem_setup (void)
 

Variables

enum swarm_rtc_type swarm_rtc_type
 

Enumeration Type Documentation

Enumerator:
RTC_NONE 
RTC_XICOR 
RTC_M41T81 

Definition at line 82 of file setup.c.

Function Documentation

const char* get_system_type ( void  )

Definition at line 67 of file setup.c.

unsigned long m41t81_get_time ( void  )

Definition at line 191 of file rtc_m41t81.c.

int m41t81_probe ( void  )

Definition at line 224 of file rtc_m41t81.c.

int m41t81_set_time ( unsigned  long)

Definition at line 144 of file rtc_m41t81.c.

void __init plat_mem_setup ( void  )

Definition at line 127 of file setup.c.

void read_persistent_clock ( struct timespec ts)

Definition at line 90 of file setup.c.

int rtc_mips_set_time ( unsigned long  sec)

Definition at line 112 of file setup.c.

int swarm_be_handler ( struct pt_regs regs,
int  is_fixup 
)

Definition at line 72 of file setup.c.

unsigned long xicor_get_time ( void  )

Definition at line 171 of file rtc_xicor1241.c.

int xicor_probe ( void  )

Definition at line 207 of file rtc_xicor1241.c.

int xicor_set_time ( unsigned  long)

Definition at line 112 of file rtc_xicor1241.c.

Variable Documentation

Definition at line 88 of file setup.c.