Home
last modified time | relevance | path

Searched full:day (Results 1 – 25 of 435) sorted by relevance

12345678910>>...18

/openbmc/linux/drivers/rtc/
Drtc-rtd119x.c
Dlib.c
Drtc-wilco-ec.c
Drtc-cpcap.c
Drtc-m48t35.c
Drtc-mxc.c
/openbmc/linux/kernel/time/
Dtimeconv.c
/openbmc/u-boot/drivers/rtc/
H A Dmx27rtc.c21 uint32_t day, hour, min, sec; in rtc_get() local
23 day = readl(&rtc_regs->dayr); in rtc_get()
30 sec += min * 60 + hour * 3600 + day * 24 * 3600; in rtc_get()
40 uint32_t day, hour, min, sec; in rtc_set() local
44 day = sec / (24 * 3600); in rtc_set()
54 writel(day, &rtc_regs->dayr); in rtc_set()
H A Ddate.c34 int day; in rtc_calc_weekday() local
53 day = 1; in rtc_calc_weekday()
55 day = 0; in rtc_calc_weekday()
58 day += last_year * 365 + leaps_to_date + month_offset[tm->tm_mon - 1] + in rtc_calc_weekday()
60 tm->tm_wday = day % 7; in rtc_calc_weekday()
68 * => year=1980, mon=12, day=31, hour=23, min=59, sec=59.
89 mon += 12; /* Puts Feb last since it has leap day */ in rtc_mktime()
H A Dftrtc010.c18 unsigned int day; /* 0x0c */ member
40 #define FTRTC010_CR_INTERRUPT_DAY (1 << 4) /* per day irq */
54 unsigned long day; in ftrtc010_time() local
62 day = readl(&rtc->day); in ftrtc010_time()
68 return day * 24 * 60 * 60 + hour * 60 * 60 + minute * 60 + second; in ftrtc010_time()
H A Dmc13xxx-rtc.c48 u32 time, day; in rtc_set() local
54 day = time / 86400; in rtc_set()
57 pmic_reg_write(p, REG_RTC_DAY, day); in rtc_set()
/openbmc/pldm/libpldmresponder/test/
H A Dlibpldmresponder_bios_test.cpp34 uint8_t day = 0; in TEST() local
38 epochToBCDTime(epochTime, seconds, minutes, hours, day, month, year); in TEST()
43 ASSERT_EQ(0x13, day); in TEST()
55 uint8_t day = 13; in TEST() local
60 timeSec = timeToEpoch(sec, min, hours, day, month, year); in TEST()
/openbmc/pldm/libpldmresponder/
H A Dbios.hpp110 * @param[out] day - day of the month in BCD
115 uint8_t& hours, uint8_t& day, uint8_t& month,
123 * @param[in] day - day of the month in dec
129 uint8_t day, uint8_t month, uint16_t year);
H A Dbios.cpp26 uint8_t& hours, uint8_t& day, uint8_t& month, in epochToBCDTime() argument
35 day = pldm::utils::decimalToBcd(time->tm_mday); in epochToBCDTime()
44 uint8_t day, uint8_t month, uint16_t year) in timeToEpoch() argument
50 stm.tm_mday = day; in timeToEpoch()
116 uint8_t day = 0; in getDateTime() local
144 day, month, year); in getDateTime()
147 seconds, minutes, hours, day, month, in getDateTime()
162 uint8_t day = 0; in setDateTime() local
198 &minutes, &hours, &day, &month, &year); in setDateTime()
203 timeSec = pldm::responder::utils::timeToEpoch(seconds, minutes, hours, day, in setDateTime()
/openbmc/libpldm/src/dsp/
H A Dbios.c27 uint8_t day, uint8_t month, uint16_t year, in encode_get_date_time_resp() argument
53 response->day = day; in encode_get_date_time_resp()
63 uint8_t *minutes, uint8_t *hours, uint8_t *day, in decode_get_date_time_resp() argument
67 hours == NULL || day == NULL || month == NULL || year == NULL || in decode_get_date_time_resp()
87 *day = response->day; in decode_get_date_time_resp()
96 uint8_t minutes, uint8_t hours, uint8_t day, in encode_set_date_time_req() argument
107 if (!is_time_legal(seconds, minutes, hours, day, month, year)) { in encode_set_date_time_req()
127 request->day = dec2bcd8(day); in encode_set_date_time_req()
137 uint8_t *day, uint8_t *month, uint16_t *year) in decode_set_date_time_req() argument
140 hours == NULL || day == NULL || month == NULL || year == NULL) { in decode_set_date_time_req()
[all …]
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Dbcd_time.cpp30 (month == right.month) && (day == right.day) && in operator ==()
53 bcd.day = toBCD(gmTime->tm_mday); in getBCDTime()
80 utcTime.tm_mday = fromBCD(bcdTime.day); in getMillisecondsSinceEpoch()
98 s >> time.yearMSB >> time.yearLSB >> time.month >> time.day >> time.hour; in operator >>()
105 s << time.yearMSB << time.yearLSB << time.month << time.day << time.hour; in operator <<()
H A Dbcd_time.hpp19 uint8_t day; member
26 yearMSB(0), yearLSB(0), month(0), day(0), hour(0), minutes(0), in BCDTime()
30 BCDTime(uint8_t yearMSB, uint8_t yearLSB, uint8_t month, uint8_t day, in BCDTime()
33 yearMSB(yearMSB), yearLSB(yearLSB), month(month), day(day), hour(hour), in BCDTime()
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/
H A Dtablefilter.py151 string representing a day ("today" or "yesterday")
157 def __init__(self, name, title, field, day, argument
161 day: (string) "today" or "yesterday"
164 self.type = 'day'
166 self.day = day
171 Apply the day filtering before returning the queryset;
178 if self.day == self.YESTERDAY:
/openbmc/linux/arch/mips/sibyte/swarm/
Drtc_xicor1241.c
/openbmc/openbmc/poky/meta/recipes-extended/iputils/iputils/
H A DCVE-2025-47268.patch29 ./ping/ping: Warning: time of day goes back (-7256972569576721377us), taking countermeasures
30 ./ping/ping: Warning: time of day goes back (-7256972569576721232us), taking countermeasures
45 Also existing message "time of day goes back ..." needed to be modified
53 ./ping/ping: Warning: time of day goes back (-3985394643238914 s), taking countermeasures
55 ./ping/ping: Warning: time of day goes back (-3985394643238914 s), taking countermeasures
58 ./ping/ping: Warning: time of day goes back (-4243165695442945 s), taking countermeasures
111 - error(0, 0, _("Warning: time of day goes back (%ldus), taking countermeasures"), triptime);
127 + error(0, 0, _("Warning: time of day goes back (%ld s), taking countermeasures"), tv->tv_sec);
/openbmc/libpldm/include/libpldm/
H A Dbios.h113 uint8_t day; //!< Day of the month in BCD format member
127 uint8_t day; //!< Day of the month in BCD format member
233 * @param[out] day - day of month in BCD format
240 uint8_t *minutes, uint8_t *hours, uint8_t *day,
337 * @param[in] day - day of the month in BCD format
348 uint8_t day, uint8_t month, uint16_t year,
525 * @param[in] day - day of month in decimal format. Value range 1~31
535 uint8_t minutes, uint8_t hours, uint8_t day,
546 * @param[out] day - day of the month in BCD format
553 uint8_t *day, uint8_t *month, uint16_t *year);
/openbmc/linux/arch/mips/include/asm/
Dmc146818-time.h
/openbmc/linux/Documentation/RCU/
DRTFP.txt
/openbmc/bmcweb/redfish-core/include/utils/extern/
H A Ddate.h226 class day; variable
251 CONSTCD11 month_day operator/(const day& d, const month& m) NOEXCEPT;
252 CONSTCD11 month_day operator/(const day& d, int m) NOEXCEPT;
253 CONSTCD11 month_day operator/(const month& m, const day& d) NOEXCEPT;
255 CONSTCD11 month_day operator/(int m, const day& d) NOEXCEPT;
272 CONSTCD11 year_month_day operator/(const year_month& ym, const day& d) NOEXCEPT;
332 // day
334 class day
339 day() = default;
340 explicit CONSTCD11 day(unsigned d) NOEXCEPT;
[all …]
/openbmc/libpldm/tests/dsp/
H A Dbios.cpp29 uint8_t day = 23; in TEST() local
40 hours, day, month, year, response); in TEST()
55 &day, sizeof(day))); in TEST()
58 sizeof(day), in TEST()
63 sizeof(day) + sizeof(month), in TEST()
76 uint8_t day = 9; in TEST() local
98 &day, sizeof(day)); in TEST()
100 sizeof(minutes) + sizeof(hours) + sizeof(day) + hdrSize, in TEST()
103 sizeof(minutes) + sizeof(hours) + sizeof(day) + sizeof(month) + in TEST()
118 EXPECT_EQ(day, retDay); in TEST()
[all …]

12345678910>>...18