/linux-6.6.21/drivers/rtc/ |
D | rtc-pcap.c | 46 u32 days; /* days since 1/1/1970 */ in pcap_rtc_read_alarm() local 51 ezx_pcap_read(pcap_rtc->pcap, PCAP_REG_RTC_DAYA, &days); in pcap_rtc_read_alarm() 52 secs += (days & PCAP_RTC_DAY_MASK) * SEC_PER_DAY; in pcap_rtc_read_alarm() 63 u32 tod, days; in pcap_rtc_set_alarm() local 68 days = secs / SEC_PER_DAY; in pcap_rtc_set_alarm() 69 ezx_pcap_write(pcap_rtc->pcap, PCAP_REG_RTC_DAYA, days); in pcap_rtc_set_alarm() 78 u32 tod, days; in pcap_rtc_read_time() local 83 ezx_pcap_read(pcap_rtc->pcap, PCAP_REG_RTC_DAY, &days); in pcap_rtc_read_time() 84 secs += (days & PCAP_RTC_DAY_MASK) * SEC_PER_DAY; in pcap_rtc_read_time() 95 u32 tod, days; in pcap_rtc_set_time() local [all …]
|
D | rtc-mc13xxx.c | 92 unsigned int seconds, days; in mc13xxx_rtc_set_time() local 96 days = div_s64_rem(rtc_tm_to_time64(tm), SEC_PER_DAY, &seconds); in mc13xxx_rtc_set_time() 123 ret = mc13xxx_reg_write(priv->mc13xxx, MC13XXX_RTCDAY, days); in mc13xxx_rtc_set_time() 158 unsigned int seconds, days; in mc13xxx_rtc_read_alarm() local 173 ret = mc13xxx_reg_read(priv->mc13xxx, MC13XXX_RTCDAY, &days); in mc13xxx_rtc_read_alarm() 189 s1970 = (time64_t)days * SEC_PER_DAY + seconds; in mc13xxx_rtc_read_alarm() 201 u32 seconds, days; in mc13xxx_rtc_set_alarm() local 225 days = div_s64_rem(s1970, SEC_PER_DAY, &seconds); in mc13xxx_rtc_set_alarm() 227 ret = mc13xxx_reg_write(priv->mc13xxx, MC13XXX_RTCDAYA, days); in mc13xxx_rtc_set_alarm()
|
D | rtc-ftrtc010.c | 68 u32 days, hour, min, sec, offset; in ftrtc010_rtc_read_time() local 74 days = readl(rtc->rtc_base + FTRTC010_RTC_DAYS); in ftrtc010_rtc_read_time() 77 time = offset + days * 86400 + hour * 3600 + min * 60 + sec; in ftrtc010_rtc_read_time() 112 u32 days, hour, min, sec; in ftrtc010_rtc_probe() local 174 days = readl(rtc->rtc_base + FTRTC010_RTC_DAYS); in ftrtc010_rtc_probe() 176 rtc->rtc_dev->range_min = (u64)days * 86400 + hour * 3600 + in ftrtc010_rtc_probe()
|
D | lib_test.c | 49 s64 days; in rtc_time64_to_tm_test_date_range() local 55 days = div_s64(secs, 86400); in rtc_time64_to_tm_test_date_range() 58 year, month, mday, yday, days in rtc_time64_to_tm_test_date_range()
|
D | lib.c | 55 int days; in rtc_time64_to_tm() local 63 days = div_s64_rem(time, 86400, &secs); in rtc_time64_to_tm() 66 tm->tm_wday = (days + 4) % 7; in rtc_time64_to_tm() 96 udays = ((u32) days) + 719468; in rtc_time64_to_tm()
|
D | rtc-mt6397.c | 91 int days, sec, ret; in mtk_rtc_read_time() local 112 days = div_s64(time, 86400); in mtk_rtc_read_time() 113 tm->tm_wday = (days + 4) % 7; in mtk_rtc_read_time()
|
D | rtc-rzn1.c | 81 unsigned int days; in rzn1_rtc_tm_to_wday() local 85 days = div_s64_rem(time, 86400, &secs); in rzn1_rtc_tm_to_wday() 88 return (days + 4) % 7; in rzn1_rtc_tm_to_wday()
|
D | interface.c | 219 unsigned int days; in __rtc_read_alarm() local 358 days = rtc_month_days(alarm->time.tm_mon, in __rtc_read_alarm() 360 } while (days < alarm->time.tm_mday); in __rtc_read_alarm()
|
/linux-6.6.21/kernel/time/ |
D | timeconv.c | 52 long days, rem; in time64_to_tm() local 55 days = div_s64_rem(totalsecs, SECS_PER_DAY, &remainder); in time64_to_tm() 60 --days; in time64_to_tm() 64 ++days; in time64_to_tm() 73 result->tm_wday = (4 + days) % 7; in time64_to_tm() 105 udays = ((u64) days) + 2305843009213814918ULL; in time64_to_tm()
|
D | time_test.c | 68 s64 days; in time64_to_tm_test_date_range() local 74 days = div_s64(secs, 86400); in time64_to_tm_test_date_range() 77 year, month, mdday, yday, days in time64_to_tm_test_date_range()
|
/linux-6.6.21/arch/m68k/mac/ |
D | misc.c | 557 int days, rem, y, wday, yday; in unmktime() local 560 days = div_u64_rem(time, SECS_PER_DAY, &rem); in unmktime() 564 --days; in unmktime() 568 ++days; in unmktime() 575 wday = (4 + days) % 7; /* Day in the week. Not currently used */ in unmktime() 584 while (days < 0 || days >= (__isleap (y) ? 366 : 365)) in unmktime() 587 long int yg = y + days / 365 - (days % 365 < 0); in unmktime() 590 days -= (yg - y) * 365 + in unmktime() 595 yday = days; /* day in the year. Not currently used. */ in unmktime() 597 for (y = 11; days < (long int) ip[y]; --y) in unmktime() [all …]
|
/linux-6.6.21/fs/affs/ |
D | amigaffs.h | 39 __be32 days; member 45 __be16 days; member
|
D | amigaffs.c | 374 u32 days; in affs_secs_to_datestamp() local 381 days = div_s64_rem(secs, 86400, &rem); in affs_secs_to_datestamp() 385 ds->days = cpu_to_be32(days); in affs_secs_to_datestamp()
|
/linux-6.6.21/drivers/net/wan/ |
D | hdlc_cisco.c | 216 u32 sec, min, hrs, days; in cisco_rx() local 221 days = hrs / 24; hrs -= days * 24; in cisco_rx() 223 days, hrs, min, sec); in cisco_rx()
|
/linux-6.6.21/drivers/input/misc/ |
D | hp_sdc_rtc.c | 186 unsigned int days; in hp_sdc_rtc_read_rt() local 192 days = (unsigned int)(raw >> 24) & 0xffff; in hp_sdc_rtc_read_rt() 195 res->tv_sec = (tenms / 100) + (time64_t)days * 86400; in hp_sdc_rtc_read_rt()
|
/linux-6.6.21/fs/smb/client/ |
D | netmisc.c | 971 time64_t sec, days; in cnvrtDosUnixTm() local 996 days = day + total_days_of_prev_months[month]; in cnvrtDosUnixTm() 997 days += 3652; /* account for difference in days between 1980 and 1970 */ in cnvrtDosUnixTm() 999 days += year * 365; in cnvrtDosUnixTm() 1000 days += (year/4); /* leap year */ in cnvrtDosUnixTm() 1008 days = days - 1; /* do not count leap year for the year 2100 */ in cnvrtDosUnixTm() 1012 days -= ((year & 0x03) == 0) && (month < 2 ? 1 : 0); in cnvrtDosUnixTm() 1013 sec += 24 * 60 * 60 * days; in cnvrtDosUnixTm()
|
/linux-6.6.21/tools/testing/selftests/bpf/ |
D | verify_sig_setup.sh | 41 openssl req -new -nodes -utf8 -sha256 -days 36500 \
|
/linux-6.6.21/drivers/platform/x86/dell/ |
D | dell-laptop.c | 1169 u8 days; member 1251 info->days = (buffer.output[3] >> 24) & 0xFF; in kbd_get_info() 1467 if (kbd_info.days > 63) in kbd_init_info() 1468 kbd_info.days = 63; in kbd_init_info() 1591 if (value > kbd_info.days) in kbd_led_timeout_store() 1633 } else if (value / (60 * 60 * 24) <= kbd_info.days && kbd_info.days) { in kbd_led_timeout_store()
|
/linux-6.6.21/certs/ |
D | Makefile | 48 cmd_gen_key = openssl req -new -nodes -utf8 -$(CONFIG_MODULE_SIG_HASH) -days 36500 \
|
/linux-6.6.21/Documentation/process/ |
D | security-bugs.rst | 47 the reporter or an affected party for up to 7 calendar days from the start 48 of the release process, with an exceptional extension to 14 calendar days
|
D | kernel-enforcement-statement.rst | 31 60 days after the cessation. 37 copyright holder, and you cure the violation prior to 30 days after
|
/linux-6.6.21/Documentation/userspace-api/media/dvb/ |
D | fe-type-t.rst | 79 In the old days, struct :c:type:`dvb_frontend_info`
|
/linux-6.6.21/Documentation/core-api/ |
D | index.rst | 12 massive grab-bag of kerneldoc info left over from the docbook days; it
|
/linux-6.6.21/Documentation/networking/ |
D | x25.rst | 35 development and use of Linux X.25. It is early days yet, but interested
|
/linux-6.6.21/Documentation/gpu/amdgpu/ |
D | amdgpu-glossary.rst | 37 them. The name GART harkens back to the days of AGP when the platform
|