Home
last modified time | relevance | path

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

12345678910

/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/phosphor-logging/extensions/openpower-pels/
H A Dbcd_time.cpp18 (month == right.month) && (day == right.day) && in operator ==()
41 bcd.day = toBCD(gmTime->tm_mday); in getBCDTime()
68 utcTime.tm_mday = fromBCD(bcdTime.day); in getMillisecondsSinceEpoch()
86 s >> time.yearMSB >> time.yearLSB >> time.month >> time.day >> time.hour; in operator >>()
93 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/pldm/libpldmresponder/
H A Dbios.hpp121 * @param[out] day - day of the month in BCD
126 uint8_t& hours, uint8_t& day, uint8_t& month,
134 * @param[in] day - day of the month in dec
140 uint8_t day, uint8_t month, uint16_t year);
H A Dbios.cpp32 uint8_t& hours, uint8_t& day, uint8_t& month, in epochToBCDTime()
41 day = pldm::utils::decimalToBcd(time->tm_mday); in epochToBCDTime()
50 uint8_t day, uint8_t month, uint16_t year) in timeToEpoch()
56 stm.tm_mday = day; in timeToEpoch()
122 uint8_t day = 0; in getDateTime()
150 day, month, year); in getDateTime()
153 seconds, minutes, hours, day, month, in getDateTime()
168 uint8_t day = 0; in setDateTime()
201 &minutes, &hours, &day, &month, &year); in setDateTime()
206 timeSec = pldm::responder::utils::timeToEpoch(seconds, minutes, hours, day, in setDateTime()
26 epochToBCDTime(uint64_t timeSec,uint8_t & seconds,uint8_t & minutes,uint8_t & hours,uint8_t & day,uint8_t & month,uint16_t & year) epochToBCDTime() argument
44 timeToEpoch(uint8_t seconds,uint8_t minutes,uint8_t hours,uint8_t day,uint8_t month,uint16_t year) timeToEpoch() argument
116 uint8_t day = 0; getDateTime() local
162 uint8_t day = 0; setDateTime() local
[all...]
/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/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/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/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 …]
/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/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Software/
H A DAsset.interface.yaml18 the time of day is unknown, the time of day portion of the property
/openbmc/openbmc-tools/tof-voters/libvoters/
H A Dtime.py12 [year, month, day] = [int(x) for x in date.split("-")]
21 year, month, day, hour, minute, second, tzinfo=timezone.utc
/openbmc/u-boot/include/linux/
H A Dtime.h32 int tm_mday; /* Day. [1-31] */
35 int tm_wday; /* Day of week. [0-6] */
103 /* compute day of week */
107 /* compute year & day of year */
/openbmc/openbmc/poky/documentation/test-manual/
H A Dtest-process.rst7 Day to Day Development
63 that in :ref:`test-manual/test-process:day to day development`, in that the
/openbmc/openbmc/poky/meta/recipes-devtools/ruby/ruby/
H A D0005-Mark-Gemspec-reproducible-change-fixing-784225-too.patch24 + Time.utc(date.utc.year, date.utc.month, date.utc.day)
26 Time.utc(date.year, date.month, date.day)
/openbmc/qemu/tests/qtest/
H A Drtas-test.c47 qtest_add_func("rtas/get-time-of-day", test_rtas_get_time_of_day); in main()
48 qtest_add_func("rtas/get-time-of-day-vof", test_rtas_get_time_of_day_vof); in main()
/openbmc/u-boot/board/compulab/common/
H A Deeprom.c286 static int validate_date(unsigned char day, unsigned char month, in validate_date() argument
299 if (day > 31) in validate_date()
306 if (day > 30) in validate_date()
318 if (day > days_in_february) in validate_date()
357 unsigned char day = (unsigned char)simple_strtol(tok1, &endptr, 0); in eeprom_field_update_date() local
358 if (*endptr != '\0' || day == 0) { in eeprom_field_update_date()
359 printf("%s: invalid day\n", field->name); in eeprom_field_update_date()
374 if (validate_date(day, month - 1, year)) { in eeprom_field_update_date()
384 field->buf[0] = day; in eeprom_field_update_date()
/openbmc/phosphor-logging/test/openpower-pels/
H A Dbcd_time_test.cpp34 EXPECT_EQ(bcd.day, 4); in TEST()
45 bcd.day = val++; in TEST()
78 EXPECT_EQ(timeInBCD.day, 0x31); in TEST()
/openbmc/qemu/hw/uefi/
H A Dvar-service-utils.c147 if (a->day < b->day) { in uefi_time_compare()
150 if (a->day > b->day) { in uefi_time_compare()
/openbmc/bmcweb/redfish-core/src/utils/
H A Dtime_utils.cpp233 // Returns year/month/day triple in civil calendar
270 // t is now time duration since midnight of day d in toISO8061ExtendedStr()
273 // break d down into year/month/day in toISO8061ExtendedStr()
276 int day = 0; in toISO8061ExtendedStr() local
277 std::tie(year, month, day) = details::civilFromDays(d.count()); in toISO8061ExtendedStr()
284 day = 31; in toISO8061ExtendedStr()
291 day = 1; in toISO8061ExtendedStr()
320 month, day, hr.count(), mt.count(), se.count(), in toISO8061ExtendedStr()
369 // t is now time duration since midnight of day d

12345678910