Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <asm/lasat/lasat.h>
#include <linux/delay.h>
#include <asm/lasat/ds1603.h>
#include <asm/time.h>
#include "ds1603.h"
Go to the source code of this file.
Macros | |
#define | READ_TIME_CMD 0x81 |
#define | SET_TIME_CMD 0x80 |
#define | TRIMMER_SET_CMD 0xC0 |
#define | TRIMMER_VALUE_MASK 0x38 |
#define | TRIMMER_SHIFT 3 |
Functions | |
void | read_persistent_clock (struct timespec *ts) |
int | rtc_mips_set_mmss (unsigned long time) |
void | ds1603_set_trimmer (unsigned int trimval) |
void | ds1603_disable (void) |
void | ds1603_enable (void) |
Variables | |
struct ds_defs * | ds1603 |