Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
time.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/profile.h>
#include <linux/timex.h>
#include <linux/sched.h>
#include <linux/clockchips.h>
#include <linux/platform_device.h>
#include <linux/smp.h>
#include <linux/rtc.h>
#include <asm/clock.h>
#include <asm/rtc.h>

Go to the source code of this file.

Functions

void read_persistent_clock (struct timespec *ts)
 
unsigned int get_rtc_time (struct rtc_time *tm)
 
 EXPORT_SYMBOL (get_rtc_time)
 
int set_rtc_time (struct rtc_time *tm)
 
 EXPORT_SYMBOL (set_rtc_time)
 
 module_init (rtc_generic_init)
 
void __init time_init (void)
 

Variables

void(* rtc_sh_get_time )(struct timespec *) = null_rtc_get_time
 
int(* rtc_sh_set_time )(const time_t) = null_rtc_set_time
 
void(* board_time_init )(void)
 

Function Documentation

EXPORT_SYMBOL ( get_rtc_time  )
EXPORT_SYMBOL ( set_rtc_time  )
unsigned int get_rtc_time ( struct rtc_time tm)

Definition at line 53 of file time.c.

module_init ( rtc_generic_init  )
void read_persistent_clock ( struct timespec ts)

Definition at line 41 of file time.c.

int set_rtc_time ( struct rtc_time tm)

Definition at line 66 of file time.c.

void __init time_init ( void  )

Definition at line 107 of file time.c.

Variable Documentation

void(* board_time_init)(void)

Definition at line 90 of file time.c.

void(* rtc_sh_get_time)(struct timespec *) = null_rtc_get_time

Definition at line 38 of file time.c.

int(* rtc_sh_set_time)(const time_t) = null_rtc_set_time

Definition at line 39 of file time.c.