Home
last modified time | relevance | path

Searched full:hours (Results 1 – 25 of 329) sorted by relevance

12345678910>>...14

/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/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/linux/Documentation/devicetree/bindings/power/supply/
H A Dbq27xxx.yaml64 - energy-full-design-microwatt-hours
65 - charge-full-design-microamp-hours
67 Both or neither of the *-full-design-*-hours properties must be set.
81 energy-full-design-microwatt-hours = <5290000>;
82 charge-full-design-microamp-hours = <1430000>;
H A Dbattery.yaml60 energy-full-design-microwatt-hours:
63 charge-full-design-microamp-hours:
154 energy-full-design-microwatt-hours = <5290000>;
155 charge-full-design-microamp-hours = <1430000>;
H A Dactive-semi,act8945a-charger.yaml48 Specifies the charger's total safety timer setting value in hours;
50 Defaults to 3 hours.
/openbmc/pldm/libpldmresponder/
H A Dbios.hpp109 * @param[out] hours - number of hours in BCD
115 uint8_t& hours, uint8_t& day, uint8_t& month,
122 * @param[in] hours - number of hours in dec
128 std::time_t timeToEpoch(uint8_t seconds, uint8_t minutes, uint8_t hours,
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()
/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/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()
336 * - Hours !>= 24, Mins !>= 60, Secs !>= 60, & Weekday !> 7. in ds1685_rtc_set_time()
361 rtc->write(rtc, RTC_HRS, hours); in ds1685_rtc_set_time()
377 * There are three primary alarm registers: seconds, minutes, and hours.
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()
[all …]
/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
232 * @param[out] hours - hours in BCD format
240 uint8_t *minutes, uint8_t *hours, uint8_t *day,
336 * @param[in] hours - hours in BCD format
347 uint8_t seconds, uint8_t minutes, uint8_t hours,
524 * @param[in] hours - hours in decimal format. Value range 0~23
535 uint8_t minutes, uint8_t hours, uint8_t day,
545 * @param[out] hours - hours in BCD format
552 uint8_t *seconds, uint8_t *minutes, uint8_t *hours,
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/State/
H A DPowerOnHours.interface.yaml2 Implement to provide the POH(Power-On-Hours) counter.
7 This counter shows how many hours the system has been running. The
8 value is a cumulative one and includes all working hours since
/openbmc/bmcweb/redfish-core/src/utils/
H A Dtime_utils.cpp44 Hours, in fromDurationString() enumerator
69 stage = ProcessingStage::Hours; in fromDurationString()
96 if (stage > ProcessingStage::Hours) in fromDurationString()
100 out += std::chrono::hours(ticks); in fromDurationString()
176 std::chrono::hours hours = std::chrono::floor<std::chrono::hours>(ms); in toDurationString() local
177 ms -= hours; in toDurationString()
190 if (hours.count() > 0) in toDurationString()
192 hoursStr = std::format("{}H", hours.count()); in toDurationString()
263 using hours = std::chrono::duration<int, std::ratio<3600>>; in toISO8061ExtendedStr() typedef
265 IntType, std::ratio_multiply<hours::period, std::ratio<24>>>; in toISO8061ExtendedStr()
[all …]
/openbmc/telemetry/redfish-tests/
H A Dredfish_requests.py119 hours = int(time / (60 * 60))
123 return f"P{str(days)}DT{str(hours)}H{str(minutes)}M{str(time)}S"
131 hours = r.group(3)
137 if hours is not None:
138 result += int(hours[:-1]) * 60 * 60
/openbmc/openbmc/poky/scripts/lib/build_perf/html/
H A Dmeasurement_chart.html15 // Assuming the array values are duration in the format [hours, minutes, seconds, milliseconds]
24 … // Assuming the array values are duration in the format [hours, minutes, seconds, milliseconds]
43 const hours = Math.floor(value/60)
46 …return `<strong>Duration:</strong> ${hours}:${minutes}:${seconds}, <br/> <strong>Commit number:</s…
/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/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/linux/Documentation/devicetree/bindings/mfd/
H A Dene-kb930.yaml39 charge-full-design-microamp-hours = <3260000>;
40 energy-full-design-microwatt-hours = <24000000>;
/openbmc/qemu/tests/unit/
H A Dcrypto-tls-x509-helpers.h65 /* zero for current time, or non-zero for hours from now */
67 /* zero for 24 hours from now, or non-zero for hours from now */
/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/include/trace/events/
H A Dv4l2.h139 __entry->timecode_hours = buf->timecode.hours;
150 "seconds = %u, minutes = %u, hours = %u, "
216 __entry->timecode_hours = vbuf->timecode.hours;
226 "frames = %u, seconds = %u, minutes = %u, hours = %u, "
/openbmc/openbmc-test-automation/ipmi/
H A Dtest_ipmi_poh_counter.robot5 ... POH (Power-On Hours) counter is the incremental count of power ON
6 ... hours in the system.
95 Sleep 1 hours 30 minutes
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/
H A DFilter.v1_0_2.json157 "description": "The rated hours of service life for this filter.",
158 …"longDescription": "This property shall contain the number of hours of service that the filter or …
184 "description": "The hours of service this filter has provided.",
185 …"longDescription": "This property shall contain the number of hours of service that the filter or …
/openbmc/u-boot/arch/m68k/include/asm/
H A Drtc.h14 u32 hourmin; /* 0x00 Hours and Minutes Counter Register */
16 u32 alrm_hm; /* 0x08 Hours and Minutes Alarm Register */
/openbmc/linux/tools/testing/selftests/arm64/fp/
H A DREADME60 Ideally, the test should be allowed to run for many minutes or hours
95 Again, the test should be allowed to run for many minutes or hours to

12345678910>>...14