tag | line | file | source code |
mon | 110 | arch/alpha/kernel/time.c | static inline unsigned long mktime(unsigned int year, unsigned int mon, |
mon | 114 | arch/alpha/kernel/time.c | if (0 >= (int) (mon -= 2)) { /* 1..12 -> 11,12,1..10 */ |
mon | 115 | arch/alpha/kernel/time.c | mon += 12; /* Puts Feb last since it has leap day */ |
mon | 119 | arch/alpha/kernel/time.c | (unsigned long)(year/4 - year/100 + year/400 + 367*mon/12 + day) + |
mon | 128 | arch/alpha/kernel/time.c | unsigned int year, mon, day, hour, min, sec; |
mon | 148 | arch/alpha/kernel/time.c | mon = CMOS_READ(RTC_MONTH); |
mon | 157 | arch/alpha/kernel/time.c | BCD_TO_BIN(mon); |
mon | 170 | arch/alpha/kernel/time.c | xtime.tv_sec = mktime(year, mon, day, hour, min, sec); |
mon | 307 | arch/i386/kernel/time.c | static inline unsigned long mktime(unsigned int year, unsigned int mon, |
mon | 311 | arch/i386/kernel/time.c | if (0 >= (int) (mon -= 2)) { /* 1..12 -> 11,12,1..10 */ |
mon | 312 | arch/i386/kernel/time.c | mon += 12; /* Puts Feb last since it has leap day */ |
mon | 316 | arch/i386/kernel/time.c | (unsigned long)(year/4 - year/100 + year/400 + 367*mon/12 + day) + |
mon | 325 | arch/i386/kernel/time.c | unsigned int year, mon, day, hour, min, sec; |
mon | 345 | arch/i386/kernel/time.c | mon = CMOS_READ(RTC_MONTH); |
mon | 354 | arch/i386/kernel/time.c | BCD_TO_BIN(mon); |
mon | 359 | arch/i386/kernel/time.c | return mktime(year, mon, day, hour, min, sec); |
mon | 481 | arch/m68k/amiga/config.c | t->mon = tod->month1 * 10 + tod->month2 - 1; |
mon | 494 | arch/m68k/amiga/config.c | tod->month1 = (t->mon + 1) / 10; |
mon | 495 | arch/m68k/amiga/config.c | tod->month2 = (t->mon + 1) % 10; |
mon | 515 | arch/m68k/amiga/config.c | t->mon = tod->month1 * 10 + tod->month2 - 1; |
mon | 540 | arch/m68k/amiga/config.c | tod->month1 = (t->mon + 1) / 10; |
mon | 541 | arch/m68k/amiga/config.c | tod->month2 = (t->mon + 1) % 10; |
mon | 609 | arch/m68k/atari/config.c | val.mon_ones = (t->mon+1) % 10; |
mon | 610 | arch/m68k/atari/config.c | val.mon_tens = (t->mon+1) / 10; |
mon | 632 | arch/m68k/atari/config.c | t->mon = val.mon_ones + val.mon_tens * 10 - 1; |
mon | 641 | arch/m68k/atari/config.c | int sec=0, min=0, hour=0, day=0, mon=0, year=0, wday=0; |
mon | 660 | arch/m68k/atari/config.c | mon = t->mon + 1; |
mon | 674 | arch/m68k/atari/config.c | BIN_TO_BCD(mon); |
mon | 706 | arch/m68k/atari/config.c | mon = RTC_READ( RTC_MONTH ); |
mon | 715 | arch/m68k/atari/config.c | RTC_WRITE( RTC_MONTH, mon ); |
mon | 730 | arch/m68k/atari/config.c | BCD_TO_BIN(mon); |
mon | 746 | arch/m68k/atari/config.c | t->mon = mon - 1; |
mon | 322 | arch/m68k/kernel/setup.c | void arch_gettod(int *year, int *mon, int *day, int *hour, |
mon | 326 | arch/m68k/kernel/setup.c | mach_gettod(year, mon, day, hour, min, sec); |
mon | 328 | arch/m68k/kernel/setup.c | *year = *mon = *day = *hour = *min = *sec = 0; |
mon | 71 | arch/m68k/kernel/time.c | static inline unsigned long mktime(unsigned int year, unsigned int mon, |
mon | 75 | arch/m68k/kernel/time.c | if (0 >= (int) (mon -= 2)) { /* 1..12 -> 11,12,1..10 */ |
mon | 76 | arch/m68k/kernel/time.c | mon += 12; /* Puts Feb last since it has leap day */ |
mon | 80 | arch/m68k/kernel/time.c | (unsigned long)(year/4 - year/100 + year/400 + 367*mon/12 + day) + |
mon | 89 | arch/m68k/kernel/time.c | unsigned int year, mon, day, hour, min, sec; |
mon | 91 | arch/m68k/kernel/time.c | extern void arch_gettod(int *year, int *mon, int *day, int *hour, |
mon | 94 | arch/m68k/kernel/time.c | arch_gettod (&year, &mon, &day, &hour, &min, &sec); |
mon | 98 | arch/m68k/kernel/time.c | xtime.tv_sec = mktime(year, mon, day, hour, min, sec); |
mon | 225 | arch/mips/kernel/time.c | static inline unsigned long mktime(unsigned int year, unsigned int mon, |
mon | 229 | arch/mips/kernel/time.c | if (0 >= (int) (mon -= 2)) { /* 1..12 -> 11,12,1..10 */ |
mon | 230 | arch/mips/kernel/time.c | mon += 12; /* Puts Feb last since it has leap day */ |
mon | 234 | arch/mips/kernel/time.c | (unsigned long)(year/4 - year/100 + year/400 + 367*mon/12 + day) + |
mon | 244 | arch/mips/kernel/time.c | unsigned int year, mon, day, hour, min, sec; |
mon | 264 | arch/mips/kernel/time.c | mon = CMOS_READ(RTC_MONTH); |
mon | 273 | arch/mips/kernel/time.c | BCD_TO_BIN(mon); |
mon | 278 | arch/mips/kernel/time.c | xtime.tv_sec = mktime(year, mon, day, hour, min, sec); |
mon | 68 | arch/sparc/kernel/time.c | static inline unsigned long mktime(unsigned int year, unsigned int mon, |
mon | 72 | arch/sparc/kernel/time.c | if (0 >= (int) (mon -= 2)) { /* 1..12 -> 11,12,1..10 */ |
mon | 73 | arch/sparc/kernel/time.c | mon += 12; /* Puts Feb last since it has leap day */ |
mon | 77 | arch/sparc/kernel/time.c | (unsigned long)(year/4 - year/100 + year/400 + 367*mon/12 + day) + |
mon | 162 | arch/sparc/kernel/time.c | unsigned int year, mon, day, hour, min, sec; |
mon | 183 | arch/sparc/kernel/time.c | mon = BCD_TO_BIN(mregs->mnth); |
mon | 185 | arch/sparc/kernel/time.c | xtime.tv_sec = mktime(year, mon, day, hour, min, sec); |
mon | 796 | drivers/char/cyclades.c | ++info->mon.int_count; |
mon | 797 | drivers/char/cyclades.c | info->mon.char_count += char_count; |
mon | 798 | drivers/char/cyclades.c | if (char_count > info->mon.char_max) |
mon | 799 | drivers/char/cyclades.c | info->mon.char_max = char_count; |
mon | 800 | drivers/char/cyclades.c | info->mon.char_last = char_count; |
mon | 2032 | drivers/char/cyclades.c | get_mon_info(struct cyclades_port * info, struct cyclades_monitor * mon) |
mon | 2035 | drivers/char/cyclades.c | memcpy_tofs(mon, &info->mon, sizeof(struct cyclades_monitor)); |
mon | 2036 | drivers/char/cyclades.c | info->mon.int_count = 0; |
mon | 2037 | drivers/char/cyclades.c | info->mon.char_count = 0; |
mon | 2038 | drivers/char/cyclades.c | info->mon.char_max = 0; |
mon | 2039 | drivers/char/cyclades.c | info->mon.char_last = 0; |
mon | 325 | drivers/char/rtc.c | unsigned char mon, day, hrs, min, sec, leap_yr; |
mon | 340 | drivers/char/rtc.c | mon = rtc_tm.tm_mon + 1; /* tm_mon starts at zero */ |
mon | 351 | drivers/char/rtc.c | if ((mon > 12) || (day == 0)) |
mon | 354 | drivers/char/rtc.c | if (day > (days_in_mo[mon] + ((mon == 2) && leap_yr))) |
mon | 374 | drivers/char/rtc.c | BIN_TO_BCD(mon); |
mon | 384 | drivers/char/rtc.c | CMOS_WRITE(mon, RTC_MONTH); |
mon | 29 | include/asm-m68k/machdep.h | extern void (*mach_gettod)(int *year, int *mon, int *day, int *hour, |
mon | 97 | include/linux/cyclades.h | struct cyclades_monitor mon; |