Home
last modified time | relevance | path

Searched refs:month (Results 1 – 25 of 87) sorted by relevance

1234

/Linux-v4.19/drivers/rtc/
Drtc-lib.c33 int rtc_month_days(unsigned int month, unsigned int year) in rtc_month_days() argument
35 return rtc_days_in_month[month] + (is_leap_year(year) && month == 1); in rtc_month_days()
42 int rtc_year_days(unsigned int day, unsigned int month, unsigned int year) in rtc_year_days() argument
44 return rtc_ydays[is_leap_year(year)][month] + day-1; in rtc_year_days()
55 unsigned int month, year, secs; in rtc_time64_to_tm() local
75 for (month = 0; month < 11; month++) { in rtc_time64_to_tm()
78 newdays = days - rtc_month_days(month, year); in rtc_time64_to_tm()
83 tm->tm_mon = month; in rtc_time64_to_tm()
Drtc-efi.c35 return rtc_year_days(eft->day, eft->month - 1, eft->year); in compute_yday()
61 eft->month = wtime->tm_mon + 1; in convert_to_efi_time()
92 if (!eft->month || eft->month > 12) in convert_from_efi_time()
94 wtime->tm_mon = eft->month - 1; in convert_from_efi_time()
212 eft.year, eft.month, eft.day, in efi_procfs()
228 alm.year, alm.month, alm.day, in efi_procfs()
Drtc-mv.c74 unsigned int year, month, day, hour, minute, second, wday; in mv_rtc_read_time() local
85 month = (rtc_date >> RTC_MONTH_OFFS) & 0x3f; in mv_rtc_read_time()
93 tm->tm_mon = bcd2bin(month) - 1; in mv_rtc_read_time()
105 unsigned int year, month, day, hour, minute, second, wday; in mv_rtc_read_alarm() local
116 month = (rtc_date >> RTC_MONTH_OFFS) & 0x3f; in mv_rtc_read_alarm()
124 alm->time.tm_mon = bcd2bin(month) - 1; in mv_rtc_read_alarm()
Drtc-ds1216.c21 u8 month; member
96 tm->tm_mon = bcd2bin(regs.month & 0x1f); in ds1216_rtc_read_time()
124 regs.month = bin2bcd(tm->tm_mon); in ds1216_rtc_set_time()
Drtc-m48t35.c33 u8 month; member
66 tm->tm_mon = readb(&priv->reg->month); in m48t35_read_time()
128 writeb(mon, &priv->reg->month); in m48t35_set_time()
Drtc-ds1286.c99 unsigned char month, cmd, amode; in ds1286_proc() local
102 month = ds1286_rtc_read(priv, RTC_MONTH); in ds1286_proc()
106 (month & RTC_EOSC) ? "disabled" : "enabled", in ds1286_proc()
107 (month & RTC_ESQW) ? "disabled" : "enabled"); in ds1286_proc()
Drtc-ds1742.c87 unsigned int year, month, day, hour, minute, second, week; in ds1742_rtc_read_time() local
100 month = readb(ioaddr + RTC_MONTH); in ds1742_rtc_read_time()
109 tm->tm_mon = bcd2bin(month) - 1; in ds1742_rtc_read_time()
Drtc-bq32k.c49 uint8_t month; member
113 tm->tm_mon = bcd2bin(regs.month) - 1; in bq32k_rtc_read_time()
129 regs.month = bin2bcd(tm->tm_mon + 1); in bq32k_rtc_set_time()
/Linux-v4.19/Documentation/RCU/
DRTFP.txt246 ,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 …]
/Linux-v4.19/fs/isofs/
Dutil.c21 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()
/Linux-v4.19/drivers/char/
Defirtc.c72 return __mon_yday[is_leap(eft->year)][eft->month-1]+ eft->day -1; in compute_yday()
106 eft->month = wtime->tm_mon + 1; in convert_to_efi_time()
124 wtime->tm_mon = eft->month - 1; in convert_from_efi_time()
322 eft.year, eft.month, eft.day, in efi_rtc_proc_show()
339 alm.year, alm.month, alm.day, in efi_rtc_proc_show()
Dtoshiba.c417 int i,major,minor,day,year,month,flag; in tosh_probe() local
468 month = ((readb(bios+0xfff8)-'0')*10)+(readb(bios+0xfff9)-'0'); in tosh_probe()
470 tosh_date = (((year-90) & 0x1f)<<10) | ((month & 0xf)<<6) in tosh_probe()
/Linux-v4.19/include/uapi/linux/
Dcec-funcs.h436 __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 …]
/Linux-v4.19/arch/m68k/sun3/
Dintersil.c51 todintersil->month = t->tm_mon + 1; in sun3_hwclk()
61 t->tm_mon = todintersil->month - 1; in sun3_hwclk()
/Linux-v4.19/fs/fat/
Dmisc.c194 long day, leap_day, month, year; in fat_time_fat2unix() local
197 month = max(1, (date >> 5) & 0xf); in fat_time_fat2unix()
203 if (IS_LEAP_YEAR(year) && month > 2) in fat_time_fat2unix()
210 + days_in_year[month] + day in fat_time_fat2unix()
/Linux-v4.19/fs/udf/
Dudftime.c60 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()
/Linux-v4.19/arch/m68k/sun3x/
Dtime.c55 h->month = bin2bcd(t->tm_mon + 1); in sun3x_hwclk()
65 t->tm_mon = bcd2bin(h->month) - 1; in sun3x_hwclk()
Dtime.h16 volatile unsigned char month; member
/Linux-v4.19/drivers/mmc/core/
Dcard.h127 #define cid_rev(hwrev, fwrev, year, month) \ argument
131 ((u64) month))
137 card->cid.month)
/Linux-v4.19/drivers/net/can/usb/peak_usb/
Dpcan_usb_pro.h47 u8 month; member
61 u8 month; member
/Linux-v4.19/fs/cifs/
Dnetmisc.c966 int min, days, month, year; in cnvrtDosUnixTm() local
983 month = sd->Month; in cnvrtDosUnixTm()
984 if (days < 1 || days > 31 || month < 1 || month > 12) { in cnvrtDosUnixTm()
985 cifs_dbg(VFS, "illegal date, month %d day: %d\n", month, days); in cnvrtDosUnixTm()
987 month = clamp(month, 1, 12); in cnvrtDosUnixTm()
989 month -= 1; in cnvrtDosUnixTm()
990 days += total_days_of_prev_months[month]; in cnvrtDosUnixTm()
1006 days -= ((year & 0x03) == 0) && (month < 2 ? 1 : 0); in cnvrtDosUnixTm()
/Linux-v4.19/net/netfilter/
Dxt_time.c23 u_int8_t month; /* (1-12) */ member
154 r->month = i + 1; in localtime_3()
/Linux-v4.19/arch/m68k/apollo/
Dconfig.c222 t->tm_mon = rtc->month - 1; in dn_dummy_hwclk()
233 rtc->month = t->tm_mon + 1; in dn_dummy_hwclk()
/Linux-v4.19/arch/m68k/include/asm/
Dintersil.h33 unsigned char month; member
/Linux-v4.19/drivers/staging/rtl8188eu/include/
Dfw.h30 u8 month; member

1234