Home
last modified time | relevance | path

Searched refs:days (Results 1 – 25 of 46) sorted by relevance

12

/linux/kernel/time/
H A Dtimeconv.c52 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()
/linux/arch/m68k/mac/
H A Dmisc.c559 int days, rem, y, wday; in unmktime() local
562 days = div_u64_rem(time, SECS_PER_DAY, &rem); in unmktime()
566 --days; in unmktime()
570 ++days; in unmktime()
577 wday = (4 + days) % 7; /* Day in the week. Not currently used */ in unmktime()
586 while (days < 0 || days >= (__isleap (y) ? 366 : 365)) in unmktime()
589 long int yg = y + days / 365 - (days % 365 < 0); in unmktime()
592 days -= (yg - y) * 365 + in unmktime()
598 for (y = 11; days < (long int) ip[y]; --y) in unmktime()
600 days -= ip[y]; in unmktime()
[all …]
/linux/drivers/rtc/
H A Drtc-mc13xxx.c91 unsigned int seconds, days; in mc13xxx_rtc_set_time() local
95 days = div_s64_rem(rtc_tm_to_time64(tm), SEC_PER_DAY, &seconds); in mc13xxx_rtc_set_time()
122 ret = mc13xxx_reg_write(priv->mc13xxx, MC13XXX_RTCDAY, days); in mc13xxx_rtc_set_time()
153 unsigned int seconds, days; in mc13xxx_rtc_read_alarm() local
168 ret = mc13xxx_reg_read(priv->mc13xxx, MC13XXX_RTCDAY, &days); in mc13xxx_rtc_read_alarm()
184 s1970 = (time64_t)days * SEC_PER_DAY + seconds; in mc13xxx_rtc_read_alarm()
196 u32 seconds, days; in mc13xxx_rtc_set_alarm() local
216 days = div_s64_rem(s1970, SEC_PER_DAY, &seconds); in mc13xxx_rtc_set_alarm()
218 ret = mc13xxx_reg_write(priv->mc13xxx, MC13XXX_RTCDAYA, days); in mc13xxx_rtc_set_alarm()
H A Drtc-ftrtc010.c66 u32 days, hour, min, sec, offset; in ftrtc010_rtc_read_time() local
72 days = readl(rtc->rtc_base + FTRTC010_RTC_DAYS); in ftrtc010_rtc_read_time()
75 time = offset + days * 86400 + hour * 3600 + min * 60 + sec; in ftrtc010_rtc_read_time()
110 u32 days, hour, min, sec; in ftrtc010_rtc_probe() local
173 days = readl(rtc->rtc_base + FTRTC010_RTC_DAYS); in ftrtc010_rtc_probe()
175 rtc_dev->range_min = (u64)days * 86400 + hour * 3600 + min * 60 + sec; in ftrtc010_rtc_probe()
H A Dinterface.c219 unsigned int days; in __rtc_read_alarm() local
357 days = rtc_month_days(alarm->time.tm_mon, in __rtc_read_alarm()
359 } while (days < alarm->time.tm_mday); in __rtc_read_alarm()
/linux/fs/affs/
H A Damigaffs.h39 __be32 days; member
45 __be16 days; member
/linux/drivers/net/wan/
H A Dhdlc_cisco.c216 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/drivers/input/misc/
H A Dhp_sdc_rtc.c186 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/tools/testing/selftests/bpf/
H A Dverify_sig_setup.sh41 openssl req -new -nodes -utf8 -sha256 -days 36500 \
/linux/Documentation/admin-guide/
H A Dedid.rst7 In the good old days when graphics parameters were configured explicitly
/linux/Documentation/process/
H A Dkernel-enforcement-statement.rst31 60 days after the cessation.
37 copyright holder, and you cure the violation prior to 30 days after
H A Dsecurity-bugs.rst310 the reporter or an affected party for up to 7 calendar days from the start
311 of the release process, with an exceptional extension to 14 calendar days
344 days) start from the availability of a fix, while for "linux-distros"
H A Dembargoed-hardware-issues.rst211 any objection must to be raised within five working days and resolved with
213 within five working days this is taken as silent acknowledgment.
/linux/Documentation/userspace-api/media/dvb/
H A Dfe-type-t.rst79 In the old days, struct :c:type:`dvb_frontend_info`
/linux/Documentation/core-api/
H A Dindex.rst12 massive grab-bag of kerneldoc info left over from the docbook days; it
H A Dtimekeeping.rst176 these days.
/linux/Documentation/translations/zh_CN/admin-guide/
H A Dmodule-signing.rst154 openssl req -new -nodes -utf8 -sha256 -days 36500 -batch -x509 \
/linux/Documentation/networking/
H A Dx25.rst35 development and use of Linux X.25. It is early days yet, but interested
H A Dnf_conntrack-sysctl.rst136 default 432000 (5 days)
/linux/Documentation/ABI/testing/
H A Dsysfs-platform-dell-laptop56 days, for which the symbols are 's', 'm', 'h' and 'd'
/linux/Documentation/driver-api/usb/
H A Dcallbacks.rst55 reason. Sysfs is preferred these days. The PM callbacks are covered
/linux/LICENSES/dual/
H A DMPL-1.1336 such breach within 30 days of becoming aware of the breach. All
350 shall, upon 60 days notice from Participant terminate prospectively,
351 unless if within 60 days after receipt of notice You either: (i)
355 the Contributor Version against such Participant. If within 60 days
H A DCDDL-1.0281 cure such breach within 30 days of becoming aware of the
295 under Sections 2.1 and/or 2.2 of this License shall, upon 60 days
/linux/kernel/debug/kdb/
H A Dkdb_main.c2403 int days = val.uptime / (24*60*60); in kdb_summary() local
2405 kdb_printf("%d day%s ", days, str_plural(days)); in kdb_summary()
/linux/Documentation/maintainer/
H A Dfeature-and-driver-maintainers.rst36 may range from two working days for fast-paced subsystems (e.g. networking)

12