Searched refs:rtc_base (Results 1 - 9 of 9) sorted by relevance
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/mach-integrator/ |
H A D | time.c | 35 static void __iomem *rtc_base; variable 39 __raw_writel(xtime.tv_sec, rtc_base + RTC_LR); 45 rtc_time_to_tm(readl(rtc_base + RTC_MR), &alrm->time); 61 writel(time, rtc_base + RTC_MR); 67 rtc_time_to_tm(readl(rtc_base + RTC_DR), tm); 86 writel(time + 1, rtc_base + RTC_LR); 101 writel(0, rtc_base + RTC_EOI); 109 if (rtc_base) 116 rtc_base = ioremap(dev->res.start, SZ_4K); 117 if (!rtc_base) { [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/mips/momentum/ocelot_c/ |
H A D | setup.c | 136 unsigned char *rtc_base = (unsigned char*)0xfffffffffc800000; local 138 unsigned char* rtc_base = (unsigned char*)0xfc800000; 145 rtc_base[0x7ff8] = 0x40; 147 year = BCD2BIN(rtc_base[0x7fff]); 148 year += BCD2BIN(rtc_base[0x7ff1]) * 100; 150 month = BCD2BIN(rtc_base[0x7ffe]); 152 day = BCD2BIN(rtc_base[0x7ffd]); 154 hour = BCD2BIN(rtc_base[0x7ffb]); 155 min = BCD2BIN(rtc_base[0x7ffa]); 156 sec = BCD2BIN(rtc_base[ 168 unsigned char* rtc_base = (unsigned char*)0xfffffffffc800000; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/mips/momentum/ocelot_3/ |
H A D | setup.c | 82 unsigned char* rtc_base = (unsigned char*)(signed)0xfc800000; variable 141 rtc_base[0x7ff8] = 0x40; 143 year = BCD2BIN(rtc_base[0x7fff]); 144 year += BCD2BIN(rtc_base[0x7ff1]) * 100; 146 month = BCD2BIN(rtc_base[0x7ffe]); 148 day = BCD2BIN(rtc_base[0x7ffd]); 150 hour = BCD2BIN(rtc_base[0x7ffb]); 151 min = BCD2BIN(rtc_base[0x7ffa]); 152 sec = BCD2BIN(rtc_base[0x7ff9]); 155 rtc_base[ [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/mach-footbridge/ |
H A D | time.c | 17 #define RTC_PORT(x) (rtc_base+(x)) 32 static int rtc_base; variable 123 rtc_base = 0; 125 rtc_base = 0x70; 127 if (rtc_base) { 163 rtc_base = 0;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sh64/kernel/ |
H A D | time.c | 91 #define R64CNT rtc_base+0x00 92 #define RSECCNT rtc_base+0x04 93 #define RMINCNT rtc_base+0x08 94 #define RHRCNT rtc_base+0x0c 95 #define RWKCNT rtc_base+0x10 96 #define RDAYCNT rtc_base+0x14 97 #define RMONCNT rtc_base+0x18 98 #define RYRCNT rtc_base+0x1c /* 16bit */ 99 #define RSECAR rtc_base+0x20 100 #define RMINAR rtc_base 110 static unsigned long tmu_base, rtc_base; variable [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/mips/ddb5xxx/ddb5477/ |
H A D | setup.c | 86 static unsigned int __init detect_bus_frequency(unsigned long rtc_base) argument 98 c= *(volatile unsigned char*)rtc_base; 99 for(i=0; (c == *(volatile unsigned char*)rtc_base) && (i<100000000); i++); 100 if (c == *(volatile unsigned char*)rtc_base) { 105 c= *(volatile unsigned char*)rtc_base; 106 while (c == *(volatile unsigned char*)rtc_base); 111 c= *(volatile unsigned char*)rtc_base; 112 while (c == *(volatile unsigned char*)rtc_base); 126 unsigned long rtc_base; local 132 rtc_base [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/mips/ddb5xxx/common/ |
H A D | rtc_ds1386.c | 33 #define READ_RTC(x) *(volatile unsigned char*)(rtc_base+x) 34 #define WRITE_RTC(x, y) *(volatile unsigned char*)(rtc_base+x) = y 36 static unsigned long rtc_base; variable 152 rtc_base = base; 153 db_assert((rtc_base & 0xe0000000) == KSEG1);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ppc/platforms/ |
H A D | ev64360.c | 390 volatile unsigned char * rtc_base = ioremap(EV64360_RTC_WINDOW_BASE,0x4000); local 393 rtc_base[0xf] = 0x80; 394 rtc_base[0xc] = 0x00; 395 rtc_base[0xd] = 0x01; 396 rtc_base[0xf] = 0x83;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/mips/emma2rh/markeins/ |
H A D | setup.c | 81 static unsigned int __init detect_bus_frequency(unsigned long rtc_base) argument
|
Completed in 97 milliseconds