Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/clk.h>
#include <linux/err.h>
#include <linux/io.h>
#include <linux/clocksource.h>
#include <asm/mach/time.h>
#include <asm/sched_clock.h>
#include <plat/common.h>
#include <plat/clock.h>
Go to the source code of this file.
Macros | |
#define | OMAP2_32KSYNCNT_REV_OFF 0x0 |
#define | OMAP2_32KSYNCNT_REV_SCHEME (0x3 << 30) |
#define | OMAP2_32KSYNCNT_CR_OFF_LOW 0x10 |
#define | OMAP2_32KSYNCNT_CR_OFF_HIGH 0x30 |
Functions | |
int __init | omap_init_clocksource_32k (void __iomem *vbase) |
#define OMAP2_32KSYNCNT_CR_OFF_HIGH 0x30 |
Definition at line 32 of file counter_32k.c.
#define OMAP2_32KSYNCNT_CR_OFF_LOW 0x10 |
Definition at line 31 of file counter_32k.c.
#define OMAP2_32KSYNCNT_REV_OFF 0x0 |
Definition at line 29 of file counter_32k.c.
#define OMAP2_32KSYNCNT_REV_SCHEME (0x3 << 30) |
Definition at line 30 of file counter_32k.c.
omap_init_clocksource_32k - setup and register counter 32k as a kernel clocksource : base addr of counter_32k module : size of counter_32k to map
Returns 0 upon success or negative error code upon failure.
Definition at line 89 of file counter_32k.c.