/openbmc/u-boot/cmd/ |
H A D | time.c | 11 ulong minutes, seconds, milliseconds; in report_time() local 16 minutes = total_seconds / 60; in report_time() 22 if (minutes) in report_time() 23 printf(" %lu minutes,", minutes); in report_time()
|
/openbmc/libpldm/tests/dsp/ |
H A D | bios.cpp | 27 uint8_t minutes = 20; in TEST() local 39 auto rc = encode_get_date_time_resp(0, PLDM_SUCCESS, seconds, minutes, in TEST() 49 &minutes, sizeof(minutes))); in TEST() 51 sizeof(seconds) + sizeof(minutes), 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() 74 uint8_t minutes = 2; in TEST() local 92 &minutes, sizeof(minutes)); in TEST() 94 sizeof(minutes) + hdrSize, in TEST() [all …]
|
/openbmc/libpldm/src/dsp/ |
H A D | bios.c | 26 uint8_t seconds, uint8_t minutes, uint8_t hours, in encode_get_date_time_resp() argument 51 response->minutes = minutes; in encode_get_date_time_resp() 63 uint8_t *minutes, uint8_t *hours, uint8_t *day, in decode_get_date_time_resp() argument 66 if (msg == NULL || seconds == NULL || minutes == NULL || in decode_get_date_time_resp() 85 *minutes = response->minutes; 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() 125 request->minutes = dec2bcd8(minutes); in encode_set_date_time_req() 136 uint8_t *seconds, uint8_t *minutes, uint8_t *hours, in decode_set_date_time_req() argument 139 if (msg == NULL || seconds == NULL || minutes == NULL || in decode_set_date_time_req() [all …]
|
/openbmc/openbmc-test-automation/ipmi/ |
H A D | test_ipmi_poh_counter.robot | 17 ... Script compares Minutes per count and Counter reading for the above scenarios. 19 ... Minutes per count usually 60 minutes. 21 ... Wait Time given - 1 hour, 1 hour 30minutes when Host power OFF, 1 hour 95 Sleep 1 hours 30 minutes 136 # Verify Minutes per count. 158 # Host may take approx 5 - 6 minutes to complete power ON process.
|
/openbmc/openbmc/poky/scripts/lib/build_perf/html/ |
H A D | measurement_chart.html | 13 // Update value format to either minutes or leave as size value 15 // 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] 44 const minutes = Math.floor(value % 60) 46 …return `<strong>Duration:</strong> ${hours}:${minutes}:${seconds}, <br/> <strong>Commit number:</s… 55 …name: '{{ measurement.value_type.quantity }}' == 'time' ? 'Duration in minutes' : 'Disk size in MB…
|
/openbmc/pldm/libpldmresponder/ |
H A D | bios.hpp | 108 * @param[out] minutes - number of minutes in BCD 114 void epochToBCDTime(uint64_t timeSec, uint8_t& seconds, uint8_t& minutes, 121 * @param[in] minutes - number of minutes in dec 128 std::time_t timeToEpoch(uint8_t seconds, uint8_t minutes, uint8_t hours,
|
H A D | bios.cpp | 25 void epochToBCDTime(uint64_t timeSec, uint8_t& seconds, uint8_t& minutes, in epochToBCDTime() argument 33 minutes = pldm::utils::decimalToBcd(time->tm_min); in epochToBCDTime() 43 std::time_t timeToEpoch(uint8_t seconds, uint8_t minutes, uint8_t hours, in timeToEpoch() argument 52 stm.tm_min = minutes; in timeToEpoch() 114 uint8_t minutes = 0; in getDateTime() local 143 pldm::responder::utils::epochToBCDTime(timeSec, seconds, minutes, hours, in getDateTime() 147 seconds, minutes, hours, day, month, in getDateTime() 160 uint8_t minutes = 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/phosphor-logging/extensions/openpower-pels/ |
H A D | bcd_time.cpp | 31 (hour == right.hour) && (minutes == right.minutes) && in operator ==() 55 bcd.minutes = toBCD(gmTime->tm_min); in getBCDTime() 82 utcTime.tm_min = fromBCD(bcdTime.minutes); in getMillisecondsSinceEpoch() 99 s >> time.minutes >> time.seconds >> time.hundredths; in operator >>() 106 s << time.minutes << time.seconds << time.hundredths; in operator <<()
|
H A D | bcd_time.hpp | 21 uint8_t minutes; member 26 yearMSB(0), yearLSB(0), month(0), day(0), hour(0), minutes(0), in BCDTime() 31 uint8_t hour, uint8_t minutes, uint8_t seconds, in BCDTime() 34 minutes(minutes), seconds(seconds), hundredths(hundredths) in BCDTime()
|
/openbmc/libpldm/include/libpldm/ |
H A D | bios.h | 111 uint8_t minutes; //!< Minutes in BCD format member 125 uint8_t minutes; //!< Minutes in BCD format member 231 * @param[out] minutes - minutes in BCD format 240 uint8_t *minutes, uint8_t *hours, uint8_t *day, 335 * @param[in] minutes - minutes in BCD format 347 uint8_t seconds, uint8_t minutes, uint8_t hours, 523 * @param[in] minutes - minutes in decimal format. Value range 0~59 535 uint8_t minutes, uint8_t hours, uint8_t day, 544 * @param[out] minutes - minutes in BCD format 552 uint8_t *seconds, uint8_t *minutes, uint8_t *hours,
|
/openbmc/telemetry/redfish-tests/ |
H A D | redfish_requests.py | 121 minutes = int(time / 60) 123 return f"P{str(days)}DT{str(hours)}H{str(minutes)}M{str(time)}S" 132 minutes = r.group(4) 139 if minutes is not None: 140 result += int(minutes[:-1]) * 60
|
/openbmc/bmcweb/redfish-core/src/utils/ |
H A D | time_utils.cpp | 45 Minutes, in fromDurationString() enumerator 104 if (stage > ProcessingStage::Minutes) in fromDurationString() 108 out += std::chrono::minutes(ticks); in fromDurationString() 179 std::chrono::minutes minutes = std::chrono::floor<std::chrono::minutes>(ms); in toDurationString() local 180 ms -= minutes; in toDurationString() 195 if (minutes.count() > 0) in toDurationString() 197 minStr = std::format("{}M", minutes.count()); in toDurationString() 262 using minutes = std::chrono::duration<int, std::ratio<60>>; in toISO8061ExtendedStr() typedef 298 minutes mt = std::chrono::duration_cast<minutes>(t); in toISO8061ExtendedStr()
|
/openbmc/pldm/libpldmresponder/test/ |
H A D | libpldmresponder_bios_test.cpp | 32 uint8_t minutes = 0; in TEST() local 38 epochToBCDTime(epochTime, seconds, minutes, hours, day, month, year); in TEST() 41 ASSERT_EQ(0x18, minutes); in TEST()
|
/openbmc/linux/drivers/watchdog/ |
H A D | ebc-c384_wdt.c | 21 * The timeout value in minutes must fit in a single byte when sent to the 44 /* resolution is in minutes for timeouts greater than 255 seconds */ in ebc_c384_wdt_start() 62 /* resolution is in minutes for timeouts greater than 255 seconds */ in ebc_c384_wdt_set_timeout() 67 /* set watchdog timer for minutes */ in ebc_c384_wdt_set_timeout()
|
H A D | wdt977.c | 14 * from minutes to seconds. 54 static int timeoutM; /* timeout in minutes */ 87 * F2 has the timeout in minutes in wdt977_start() 182 /* F2 has the timeout in minutes */ in wdt977_keepalive() 203 /* convert seconds to minutes, rounding up */ in wdt977_set_timeout() 209 * max of 255 minutes... in wdt977_set_timeout() 218 the timeout in minutes) */ in wdt977_set_timeout()
|
H A D | riowd.c | 32 * 0x05 (WDTO_INDEX) which is the watchdog time-out in minutes (1-255). 63 static int riowd_timeout = 1; /* in minutes */ 65 MODULE_PARM_DESC(riowd_timeout, "Watchdog timeout in minutes"); 206 pr_info("Hardware watchdog [%i minutes], regs at %p\n", in riowd_probe()
|
/openbmc/linux/drivers/rtc/ |
H A D | rtc-bq32k.c | 24 #define BQ32K_MINUTES 0x01 /* Minutes register address */ 25 #define BQ32K_MINUTES_MASK 0x7F /* Mask over minutes value */ 43 uint8_t minutes; member 103 if (regs.minutes & BQ32K_OF) in bq32k_rtc_read_time() 107 tm->tm_min = bcd2bin(regs.minutes & BQ32K_MINUTES_MASK); in bq32k_rtc_read_time() 123 regs.minutes = bin2bcd(tm->tm_min); in bq32k_rtc_set_time()
|
/openbmc/openbmc-test-automation/systest/ |
H A D | htx_softbootme_test.robot | 61 # 1 - every 20 minutes 62 # 2 - every 30 minutes 90 # Wait for OS (re) Boot - Max 20 minutes 98 Run Keyword If '${l_ping}' == '${False}' Fail msg=OS not pinging in 20 minutes
|
/openbmc/openbmc-test-automation/lib/ |
H A D | htx_resource.robot | 18 # 1 - every 20 minutes 19 # 2 - every 30 minutes
|
/openbmc/linux/net/netfilter/ |
H A D | xt_time.c | 277 int minutes = sys_tz.tz_minuteswest; in time_mt_init() local 279 if (minutes < 0) /* east of Greenwich */ in time_mt_init() 281 -minutes / 60, -minutes % 60); in time_mt_init() 284 minutes / 60, minutes % 60); in time_mt_init()
|
/openbmc/u-boot/arch/m68k/include/asm/ |
H A D | rtc.h | 14 u32 hourmin; /* 0x00 Hours and Minutes Counter Register */ 16 u32 alrm_hm; /* 0x08 Hours and Minutes Alarm Register */ 21 u32 stpwatch; /* 0x1C Stopwatch Minutes Register */
|
/openbmc/openbmc/poky/scripts/ |
H A D | patchtest-get-series | 10 # the interval into the past which we want to check for new series, in minutes 31 echo "Usage: get-latest-series [ -i | --interval MINUTES ] 81 SERIES_CHECK_LIMIT=$(date --date "now - ${INTERVAL_MINUTES} minutes" +"%Y-%m-%dT%H:%M:%S")
|
/openbmc/linux/tools/perf/Documentation/ |
H A D | perf-daemon.txt | 148 up: 1 minutes 154 up: 1 minutes 160 up: 1 minutes 167 The 'up' number shows minutes daemon/session is running.
|
/openbmc/linux/drivers/staging/iio/Documentation/ |
H A D | sysfs-bus-iio-adc-ad7280a | 17 allows the user to set the timer to a value from 0 minutes to 18 36.9 minutes. The resolution of the timer is 71.5 sec.
|
/openbmc/phosphor-logging/test/openpower-pels/ |
H A D | bcd_time_test.cpp | 48 EXPECT_EQ(bcd.minutes, 6); in TEST() 59 bcd.minutes = val++; in TEST() 92 EXPECT_EQ(timeInBCD.minutes, 0x23); in TEST()
|