Home
last modified time | relevance | path

Searched refs:yr (Results 1 – 14 of 14) sorted by relevance

/linux-2.4.37.9/crypto/
Dblowfish.c324 u32 yr = src[1]; in encrypt_block() local
326 ROUND(yr, yl, 0); in encrypt_block()
327 ROUND(yl, yr, 1); in encrypt_block()
328 ROUND(yr, yl, 2); in encrypt_block()
329 ROUND(yl, yr, 3); in encrypt_block()
330 ROUND(yr, yl, 4); in encrypt_block()
331 ROUND(yl, yr, 5); in encrypt_block()
332 ROUND(yr, yl, 6); in encrypt_block()
333 ROUND(yl, yr, 7); in encrypt_block()
334 ROUND(yr, yl, 8); in encrypt_block()
[all …]
/linux-2.4.37.9/arch/sh/kernel/
Drtc.c26 unsigned int sec128, sec, min, hr, wk, day, mon, yr, yr100, badval; in sh_rtc_gettimeofday() local
39 yr = ctrl_inw(RYRCNT); in sh_rtc_gettimeofday()
40 yr100 = (yr >> 8); in sh_rtc_gettimeofday()
41 yr &= 0xff; in sh_rtc_gettimeofday()
43 yr = ctrl_inb(RYRCNT); in sh_rtc_gettimeofday()
44 yr100 = (yr == 0x99) ? 0x19 : 0x20; in sh_rtc_gettimeofday()
56 badval = ((yr & 15) > 9 || (mon & 15) > 9 || (day & 15) > 9 || in sh_rtc_gettimeofday()
61 BCD_TO_BIN(yr); in sh_rtc_gettimeofday()
69 if (badval || yr > 99 || mon < 1 || mon > 12 || day > 31 || day < 1 || in sh_rtc_gettimeofday()
94 tv->tv_sec = mktime(yr100 * 100 + yr, mon, day, hr, min, sec); in sh_rtc_gettimeofday()
Drtc-snapgear.c176 unsigned int sec, min, hr, day, mon, yr; in snapgear_rtc_gettimeofday() local
188 yr = bcd2int(ds1302_readbyte(RTC_ADDR_YEAR)); in snapgear_rtc_gettimeofday()
191 if (yr > 99 || mon < 1 || mon > 12 || day > 31 || day < 1 || in snapgear_rtc_gettimeofday()
200 ds1302_writebyte(RTC_ADDR_YEAR, yr = 0); in snapgear_rtc_gettimeofday()
204 tv->tv_sec = mktime(2000 + yr, mon, day, hr, min, sec); in snapgear_rtc_gettimeofday()
207 printk("BAD TIME %d %d %d %d %d %d\n", yr, mon, day, hr, min, sec); in snapgear_rtc_gettimeofday()
209 yr = 100; in snapgear_rtc_gettimeofday()
/linux-2.4.37.9/drivers/acorn/char/
Di2c.c56 unsigned char ctrl, yr[2]; in get_rtc_time() local
57 struct mem rtcmem = { CMOS_YEAR, sizeof(yr), yr }; in get_rtc_time()
84 *year = yr[1] * 100 + yr[0]; in get_rtc_time()
89 unsigned char yr[2], leap, chk; in set_rtc_time() local
90 struct mem cmos_year = { CMOS_YEAR, sizeof(yr), yr }; in set_rtc_time()
110 chk -= yr[1] + yr[0]; in set_rtc_time()
112 yr[1] = year / 100; in set_rtc_time()
113 yr[0] = year % 100; in set_rtc_time()
115 chk += yr[1] + yr[0]; in set_rtc_time()
/linux-2.4.37.9/drivers/acpi/
Dsystem.c780 u32 day, mo, yr; in acpi_system_read_alarm() local
803 yr = CMOS_READ(acpi_gbl_FADT->century) * 100 + CMOS_READ(RTC_YEAR); in acpi_system_read_alarm()
805 yr = CMOS_READ(RTC_YEAR); in acpi_system_read_alarm()
809 yr = CMOS_READ(RTC_YEAR); in acpi_system_read_alarm()
819 BCD_TO_BIN(yr); in acpi_system_read_alarm()
842 yr += 2000; in acpi_system_read_alarm()
845 p += sprintf(p,"%4.4u-", yr); in acpi_system_read_alarm()
903 u32 sec, min, hr, day, mo, yr; in acpi_system_write_alarm() local
923 if ((result = get_date_field(&p, &yr))) in acpi_system_write_alarm()
953 yr += 1; in acpi_system_write_alarm()
[all …]
/linux-2.4.37.9/arch/sh64/kernel/
Dtime.c360 unsigned int sec, min, hr, wk, day, mon, yr, yr100; in get_rtc_time() local
371 yr = ctrl_inw(RYRCNT); in get_rtc_time()
372 yr100 = (yr >> 8); in get_rtc_time()
373 yr &= 0xff; in get_rtc_time()
377 BCD_TO_BIN(yr); in get_rtc_time()
384 if (yr > 99 || mon < 1 || mon > 12 || day > 31 || day < 1 || in get_rtc_time()
400 return mktime(yr100 * 100 + yr, mon, day, hr, min, sec); in get_rtc_time()
/linux-2.4.37.9/include/asm-sparc64/
Dmostek.h83 #define MSTK_CVT_YEAR(yr) ((yr) + MSTK_YEAR_ZERO) argument
/linux-2.4.37.9/include/asm-sparc/
Dmostek.h81 #define MSTK_CVT_YEAR(yr) ((yr) + MSTK_YEAR_ZERO) argument
/linux-2.4.37.9/include/asm-m68k/
Dmvme16xhw.h14 u_char rev, mth, day, yr; member
/linux-2.4.37.9/arch/m68k/mvme16x/
Dconfig.c182 p->rev&0xf, p->yr, p->mth, p->day); in config_mvme16x()
/linux-2.4.37.9/drivers/s390/char/
Dtubttysiz.c34 int yr; member
/linux-2.4.37.9/include/asm-mips/
Dsgiarcs.h135 unsigned short yr; member
/linux-2.4.37.9/include/asm-mips64/
Dsgiarcs.h135 unsigned short yr; member
/linux-2.4.37.9/fs/hfs/
DFAQ.txt286 …2200.. HHooww oowwnnss aallll tthhee ccooppyyrriigghhttss aanndd tt…