/kernel/linux/linux-5.10/drivers/rtc/ |
D | lib.c | 30 int rtc_month_days(unsigned int month, unsigned int year) in rtc_month_days() argument 32 return rtc_days_in_month[month] + (is_leap_year(year) && month == 1); in rtc_month_days() 39 int rtc_year_days(unsigned int day, unsigned int month, unsigned int year) in rtc_year_days() argument 41 return rtc_ydays[is_leap_year(year)][month] + day - 1; in rtc_year_days() 51 unsigned int month, year, secs; in rtc_time64_to_tm() local 71 for (month = 0; month < 11; month++) { in rtc_time64_to_tm() 74 newdays = days - rtc_month_days(month, year); in rtc_time64_to_tm() 79 tm->tm_mon = month; in rtc_time64_to_tm()
|
D | rtc-efi.c | 30 return rtc_year_days(eft->day, eft->month - 1, eft->year); in compute_yday() 56 eft->month = wtime->tm_mon + 1; in convert_to_efi_time() 87 if (!eft->month || eft->month > 12) in convert_from_efi_time() 89 wtime->tm_mon = eft->month - 1; in convert_from_efi_time() 207 eft.year, eft.month, eft.day, in efi_procfs() 223 alm.year, alm.month, alm.day, in efi_procfs()
|
D | rtc-wilco-ec.c | 54 u8 month; member 81 u8 month; member 111 tm->tm_mon = rtc.month - 1; in wilco_ec_rtc_read() 141 rtc.month = bin2bcd(tm->tm_mon + 1); in wilco_ec_rtc_write()
|
D | rtc-mv.c | 71 unsigned int year, month, day, hour, minute, second, wday; in mv_rtc_read_time() local 82 month = (rtc_date >> RTC_MONTH_OFFS) & 0x3f; in mv_rtc_read_time() 90 tm->tm_mon = bcd2bin(month) - 1; in mv_rtc_read_time() 102 unsigned int year, month, day, hour, minute, second, wday; in mv_rtc_read_alarm() local 113 month = (rtc_date >> RTC_MONTH_OFFS) & 0x3f; in mv_rtc_read_alarm() 121 alm->time.tm_mon = bcd2bin(month) - 1; in mv_rtc_read_alarm()
|
D | rtc-m48t35.c | 29 u8 month; member 39 u8 month; member 73 tm->tm_mon = readb(&priv->reg->month); in m48t35_read_time() 135 writeb(mon, &priv->reg->month); in m48t35_set_time()
|
D | rtc-ds1216.c | 22 u8 month; member 97 tm->tm_mon = bcd2bin(regs.month & 0x1f); in ds1216_rtc_read_time() 125 regs.month = bin2bcd(tm->tm_mon); in ds1216_rtc_set_time()
|
D | rtc-ds1286.c | 95 unsigned char month, cmd, amode; in ds1286_proc() local 98 month = ds1286_rtc_read(priv, RTC_MONTH); in ds1286_proc() 102 (month & RTC_EOSC) ? "disabled" : "enabled", in ds1286_proc() 103 (month & RTC_ESQW) ? "disabled" : "enabled"); in ds1286_proc()
|
D | rtc-ds1742.c | 84 unsigned int year, month, day, hour, minute, second, week; in ds1742_rtc_read_time() local 97 month = readb(ioaddr + RTC_MONTH); in ds1742_rtc_read_time() 106 tm->tm_mon = bcd2bin(month) - 1; in ds1742_rtc_read_time()
|
D | rtc-bq32k.c | 46 uint8_t month; member 110 tm->tm_mon = bcd2bin(regs.month) - 1; in bq32k_rtc_read_time() 126 regs.month = bin2bcd(tm->tm_mon + 1); in bq32k_rtc_set_time()
|
/kernel/linux/linux-5.10/Documentation/RCU/ |
D | RTFP.txt | 246 ,month="January" 361 ,month="February" 372 ,month="June" 418 ,month="September" 459 ,month="December" 475 ,month="May" 494 ,month="August" 512 ,month="March" 529 ,month="March" 577 ,month="June" [all …]
|
/kernel/linux/linux-5.10/fs/isofs/ |
D | util.c | 21 int year, month, day, hour, minute, second, tz; in iso_date() local 25 month = p[1]; in iso_date() 36 crtime = mktime64(year+1900, month, day, hour, minute, second); in iso_date()
|
/kernel/liteos_m/kal/posix/src/ |
D | time.c | 544 time_t month; in ConvertSecs2Utc() local 587 for (month = 11; days < (long int) daysInMonth[month]; --month) { in ConvertSecs2Utc() 590 days -= daysInMonth[month]; in ConvertSecs2Utc() 591 tp->tm_mon = month; in ConvertSecs2Utc() 651 INT32 month = 0; in ConvertUtc2Secs() local 666 while (month < tm->tm_mon) { in ConvertUtc2Secs() 667 if ((month == 1) && leap) { in ConvertUtc2Secs() 668 seconds += (g_montbl[month] + 1) * SECS_PER_DAY; in ConvertUtc2Secs() 670 seconds += g_montbl[month] * SECS_PER_DAY; in ConvertUtc2Secs() 672 month++; in ConvertUtc2Secs()
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
D | cec-funcs.h | 386 __u8 month, in cec_msg_clear_analogue_timer() argument 399 msg->msg[3] = month; in cec_msg_clear_analogue_timer() 414 __u8 *month, in cec_ops_clear_analogue_timer() argument 425 *month = msg->msg[3]; in cec_ops_clear_analogue_timer() 439 __u8 month, in cec_msg_clear_digital_timer() argument 451 msg->msg[3] = month; in cec_msg_clear_digital_timer() 462 __u8 *month, in cec_ops_clear_digital_timer() argument 471 *month = msg->msg[3]; in cec_ops_clear_digital_timer() 483 __u8 month, in cec_msg_clear_ext_timer() argument 496 msg->msg[3] = month; in cec_msg_clear_ext_timer() [all …]
|
/kernel/linux/linux-5.10/arch/m68k/sun3/ |
D | intersil.c | 44 todintersil->month = t->tm_mon + 1; in sun3_hwclk() 54 t->tm_mon = todintersil->month - 1; in sun3_hwclk()
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | cec-funcs.h | 436 __u8 month, in cec_msg_clear_analogue_timer() argument 449 msg->msg[3] = month; in cec_msg_clear_analogue_timer() 465 __u8 *month, in cec_ops_clear_analogue_timer() argument 476 *month = msg->msg[3]; in cec_ops_clear_analogue_timer() 491 __u8 month, in cec_msg_clear_digital_timer() argument 503 msg->msg[3] = month; in cec_msg_clear_digital_timer() 515 __u8 *month, in cec_ops_clear_digital_timer() argument 524 *month = msg->msg[3]; in cec_ops_clear_digital_timer() 537 __u8 month, in cec_msg_clear_ext_timer() argument 550 msg->msg[3] = month; in cec_msg_clear_ext_timer() [all …]
|
/kernel/linux/linux-5.10/fs/udf/ |
D | udftime.c | 60 dest->tv_sec = mktime64(year, src.month, src.day, src.hour, src.minute, in udf_disk_stamp_to_time() 86 dest->month = tm.tm_mon + 1; in udf_time_to_disk_stamp()
|
/kernel/linux/linux-5.10/arch/m68k/sun3x/ |
D | time.c | 55 h->month = bin2bcd(t->tm_mon + 1); in sun3x_hwclk() 65 t->tm_mon = bcd2bin(h->month) - 1; in sun3x_hwclk()
|
D | time.h | 15 volatile unsigned char month; member
|
/kernel/linux/linux-5.10/drivers/mmc/core/ |
D | card.h | 122 #define cid_rev(hwrev, fwrev, year, month) \ argument 126 ((u64) month)) 132 card->cid.month)
|
/kernel/linux/linux-5.10/fs/fat/ |
D | misc.c | 203 long day, leap_day, month, year; in fat_time_fat2unix() local 206 month = max(1, (date >> 5) & 0xf); in fat_time_fat2unix() 212 if (IS_LEAP_YEAR(year) && month > 2) in fat_time_fat2unix() 219 + days_in_year[month] + day in fat_time_fat2unix()
|
/kernel/linux/linux-5.10/drivers/char/ |
D | toshiba.c | 405 int i,major,minor,day,year,month,flag; in tosh_probe() local 456 month = ((readb(bios+0xfff8)-'0')*10)+(readb(bios+0xfff9)-'0'); in tosh_probe() 458 tosh_date = (((year-90) & 0x1f)<<10) | ((month & 0xf)<<6) in tosh_probe()
|
/kernel/linux/linux-5.10/drivers/net/can/usb/peak_usb/ |
D | pcan_usb_pro.h | 39 u8 month; member 53 u8 month; member
|
/kernel/linux/linux-5.10/fs/cifs/ |
D | netmisc.c | 976 int min, day, month, year; in cnvrtDosUnixTm() local 993 month = sd->Month; in cnvrtDosUnixTm() 994 if (day < 1 || day > 31 || month < 1 || month > 12) { in cnvrtDosUnixTm() 995 cifs_dbg(VFS, "Invalid date, month %d day: %d\n", month, day); in cnvrtDosUnixTm() 997 month = clamp(month, 1, 12); in cnvrtDosUnixTm() 999 month -= 1; in cnvrtDosUnixTm() 1000 days = day + total_days_of_prev_months[month]; in cnvrtDosUnixTm() 1016 days -= ((year & 0x03) == 0) && (month < 2 ? 1 : 0); in cnvrtDosUnixTm()
|
/kernel/linux/linux-5.10/net/netfilter/ |
D | xt_time.c | 23 u_int8_t month; /* (1-12) */ member 154 r->month = i + 1; in localtime_3()
|
/kernel/linux/linux-5.10/drivers/acpi/ |
D | acpi_tad.c | 57 u8 month; /* 1 - 12 */ member 83 rt->month < 1 || rt->month > 12 || in acpi_tad_set_real_time() 177 rt.month = val; in time_store() 236 rt.year, rt.month, rt.day, rt.hour, rt.minute, rt.second, in time_show()
|