Home
last modified time | relevance | path

Searched refs:hours (Results 1 – 25 of 130) sorted by relevance

123456

/openbmc/linux/drivers/rtc/
H A Drtc-ds1685.c265 u8 seconds, minutes, hours, wday, mday, month, years; in ds1685_rtc_read_time() local
271 hours = rtc->read(rtc, RTC_HRS); in ds1685_rtc_read_time()
288 tm->tm_hour = ds1685_rtc_bcd2bin(rtc, hours, RTC_HRS_24_BCD_MASK, in ds1685_rtc_read_time()
312 u8 ctrlb, seconds, minutes, hours, wday, mday, month, years, century; in ds1685_rtc_set_time() local
319 hours = ds1685_rtc_bin2bcd(rtc, tm->tm_hour, RTC_HRS_24_BIN_MASK, in ds1685_rtc_set_time()
361 rtc->write(rtc, RTC_HRS, hours); in ds1685_rtc_set_time()
388 u8 seconds, minutes, hours, mday, ctrlb, ctrlc; in ds1685_rtc_read_alarm() local
395 hours = rtc->read(rtc, RTC_HRS_ALARM); in ds1685_rtc_read_alarm()
423 if (likely(hours < 0xc0)) in ds1685_rtc_read_alarm()
424 alrm->time.tm_hour = ds1685_rtc_bcd2bin(rtc, hours, in ds1685_rtc_read_alarm()
[all …]
/openbmc/pldm/libpldmresponder/test/
H A Dlibpldmresponder_bios_test.cpp33 uint8_t hours = 0; in TEST() local
38 epochToBCDTime(epochTime, seconds, minutes, hours, day, month, year); in TEST()
42 ASSERT_EQ(0x5, hours); in TEST()
54 uint8_t hours = 5; in TEST() local
60 timeSec = timeToEpoch(sec, min, hours, day, month, year); in TEST()
/openbmc/libpldm/tests/dsp/
H A Dbios.cpp28 uint8_t hours = 5; in TEST() local
40 hours, day, month, year, response); in TEST()
52 &hours, sizeof(hours))); in TEST()
54 sizeof(seconds) + sizeof(minutes) + sizeof(hours), in TEST()
57 sizeof(seconds) + sizeof(minutes) + sizeof(hours) + in TEST()
62 sizeof(seconds) + sizeof(minutes) + sizeof(hours) + in TEST()
75 uint8_t hours = 8; in TEST() local
95 &hours, sizeof(hours)); in TEST()
97 sizeof(minutes) + sizeof(hours) + hdrSize, in TEST()
100 sizeof(minutes) + sizeof(hours) + sizeof(day) + hdrSize, in TEST()
[all …]
/openbmc/bmcweb/redfish-core/include/utils/
H A Dtime_utils.hpp170 std::chrono::hours hours = std::chrono::floor<std::chrono::hours>(ms); toDurationString() local
254 using hours = std::chrono::duration<int, std::ratio<3600>>; toISO8061ExtendedStr() typedef
/openbmc/libpldm/src/dsp/
H A Dbios.c26 uint8_t seconds, uint8_t minutes, uint8_t hours, in encode_get_date_time_resp() argument
52 response->hours = hours; 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()
86 *hours = response->hours; 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()
126 request->hours = dec2bcd8(hours); in encode_set_date_time_req()
136 uint8_t *seconds, uint8_t *minutes, uint8_t *hours, in decode_set_date_time_req() argument
140 hours == NULL || day == NULL || month == NULL || year == NULL) { in decode_set_date_time_req()
[all …]
/openbmc/pldm/libpldmresponder/
H A Dbios.cpp26 uint8_t& hours, uint8_t& day, uint8_t& month, in epochToBCDTime() argument
34 hours = pldm::utils::decimalToBcd(time->tm_hour); in epochToBCDTime()
43 std::time_t timeToEpoch(uint8_t seconds, uint8_t minutes, uint8_t hours, in timeToEpoch() argument
51 stm.tm_hour = hours; in timeToEpoch()
115 uint8_t hours = 0; in getDateTime() local
143 pldm::responder::utils::epochToBCDTime(timeSec, seconds, minutes, hours, in getDateTime()
147 seconds, minutes, hours, day, month, in getDateTime()
161 uint8_t hours = 0; in setDateTime() local
198 &minutes, &hours, &day, &month, &year); in setDateTime()
203 timeSec = pldm::responder::utils::timeToEpoch(seconds, minutes, hours, day, in setDateTime()
H A Dbios.hpp115 uint8_t& hours, uint8_t& day, uint8_t& month,
128 std::time_t timeToEpoch(uint8_t seconds, uint8_t minutes, uint8_t hours,
/openbmc/u-boot/drivers/rtc/
H A Ddate.c85 int days, hours; in rtc_mktime() local
96 hours = days * 24 + tm->tm_hour; in rtc_mktime()
97 return (hours * 60 + tm->tm_min) * 60 + tm->tm_sec; in rtc_mktime()
H A Ddavinci.c28 hour = readl(&rtc->hours); in rtc_get()
68 writel(bin2bcd(tmp->tm_hour), &rtc->hours); in rtc_set()
/openbmc/libpldm/include/libpldm/
H A Dbios.h112 uint8_t hours; //!< Hours in BCD format member
126 uint8_t hours; //!< Hours in BCD format member
240 uint8_t *minutes, uint8_t *hours, uint8_t *day,
347 uint8_t seconds, uint8_t minutes, uint8_t hours,
535 uint8_t minutes, uint8_t hours, uint8_t day,
552 uint8_t *seconds, uint8_t *minutes, uint8_t *hours,
H A Dutils.h99 bool is_time_legal(uint8_t seconds, uint8_t minutes, uint8_t hours, uint8_t day,
/openbmc/telemetry/redfish-tests/
H A Dredfish_requests.py119 hours = int(time / (60 * 60))
131 hours = r.group(3)
137 if hours is not None:
138 result += int(hours[:-1]) * 60 * 60
/openbmc/openbmc-test-automation/systest/
H A Dtest_boot_acceptance.robot11 # HTX_DURATION Duration of HTX run (e.g. "24 hours", "8 hours").
56 ${HTX_DURATION} 8 hours
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/templatetags/
H A Dprojecttags.py30 hours = int(tdsec / 3600)
31 return "%02d:%02d:%02d" % (hours, int((tdsec - (hours * 3600))/ 60), int(tdsec) % 60)
/openbmc/openbmc/poky/bitbake/lib/toaster/tests/browser/
H A Dtest_toastertable_ui.py60 later = now + timezone.timedelta(hours=1)
61 even_later = later + timezone.timedelta(hours=1)
/openbmc/libpldm/src/
H A Dutils.c236 bool is_time_legal(uint8_t seconds, uint8_t minutes, uint8_t hours, uint8_t day, in is_time_legal() argument
248 minutes > 59 || hours > 23) { in is_time_legal()
/openbmc/linux/drivers/power/supply/
H A Dmax14577_charger.c207 unsigned long hours) in max14577_set_fast_charge_timer() argument
211 switch (hours) { in max14577_set_fast_charge_timer()
213 reg_data = hours - 3; in max14577_set_fast_charge_timer()
221 hours); in max14577_set_fast_charge_timer()
/openbmc/linux/Documentation/ABI/testing/
H A Drtc-cdev17 RTCs that support alarms. Can be set upto 24 hours in the
22 powerful interface, which can issue alarms beyond 24 hours and
/openbmc/linux/arch/m68k/apollo/
H A Dconfig.c210 t->tm_hour=rtc->hours; in dn_dummy_hwclk()
220 rtc->hours=t->tm_hour; in dn_dummy_hwclk()
/openbmc/u-boot/arch/arm/include/asm/
H A Ddavinci_rtc.h19 unsigned int hours; member
/openbmc/phosphor-webui/app/configuration/controllers/
H A Ddate-time-controller.js200 var hours = pad(Math.floor(offset / 60));
202 return '(UTC' + sign + hours + ':' + minutes + ')';
/openbmc/pldm/pldmtool/
H A Dpldm_bios_cmd.cpp61 uint8_t seconds, minutes, hours, day, month; in parseResponseMsg() local
65 &minutes, &hours, &day, &month, &year); in parseResponseMsg()
76 << " " << setWidth(hours) << ":" << setWidth(minutes) << ":" in parseResponseMsg()
119 uint8_t hours = 0; in createRequestMsg() local
123 if (!uintToDate(tmData, &year, &month, &day, &hours, &minutes, in createRequestMsg()
133 instanceId, seconds, minutes, hours, day, month, year, request, in createRequestMsg()
/openbmc/openbmc-test-automation/lib/
H A Dhtx_resource.robot5 ${HTX_DURATION} 2 hours
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-bsp/lm_sensors/lmsensors-config/
H A Dsensord2 # in intervals use suffix "m" for minutes, "s" for seconds, "h" for hours
/openbmc/linux/Documentation/devicetree/bindings/rtc/
H A Dmicrochip,pic32-rtc.txt3 The RTCC keeps time in hours, minutes, and seconds, and one half second. It

123456