Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
rtc-at91sam9.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/platform_device.h>
#include <linux/time.h>
#include <linux/rtc.h>
#include <linux/interrupt.h>
#include <linux/ioctl.h>
#include <linux/slab.h>
#include <mach/board.h>
#include <mach/at91_rtt.h>
#include <mach/cpu.h>

Go to the source code of this file.

Data Structures

struct  sam9_rtc
 

Macros

#define ALARM_DISABLED   ((u32)~0)
 
#define rtt_readl(rtc, field)   __raw_readl((rtc)->rtt + AT91_RTT_ ## field)
 
#define rtt_writel(rtc, field, val)   __raw_writel((val), (rtc)->rtt + AT91_RTT_ ## field)
 
#define gpbr_readl(rtc)   __raw_readl((rtc)->gpbr)
 
#define gpbr_writel(rtc, val)   __raw_writel((val), (rtc)->gpbr)
 
#define at91_rtc_suspend   NULL
 
#define at91_rtc_resume   NULL
 

Functions

 module_platform_driver (at91_rtc_driver)
 
 MODULE_AUTHOR ("Michel Benoit")
 
 MODULE_DESCRIPTION ("RTC driver for Atmel AT91SAM9x")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define ALARM_DISABLED   ((u32)~0)

Definition at line 53 of file rtc-at91sam9.c.

#define at91_rtc_resume   NULL

Definition at line 461 of file rtc-at91sam9.c.

#define at91_rtc_suspend   NULL

Definition at line 460 of file rtc-at91sam9.c.

#define gpbr_readl (   rtc)    __raw_readl((rtc)->gpbr)

Definition at line 69 of file rtc-at91sam9.c.

#define gpbr_writel (   rtc,
  val 
)    __raw_writel((val), (rtc)->gpbr)

Definition at line 71 of file rtc-at91sam9.c.

#define rtt_readl (   rtc,
  field 
)    __raw_readl((rtc)->rtt + AT91_RTT_ ## field)

Definition at line 64 of file rtc-at91sam9.c.

#define rtt_writel (   rtc,
  field,
  val 
)    __raw_writel((val), (rtc)->rtt + AT91_RTT_ ## field)

Definition at line 66 of file rtc-at91sam9.c.

Function Documentation

MODULE_AUTHOR ( "Michel Benoit"  )
MODULE_DESCRIPTION ( "RTC driver for Atmel AT91SAM9x"  )
MODULE_LICENSE ( "GPL"  )
module_platform_driver ( at91_rtc_driver  )