| /f-stack/freebsd/kern/ |
| H A D | subr_clock.c | 230 ct.hour = FROMBCD(bct->hour); in clock_bcd_to_ts() 238 if (ct.hour == 12) in clock_bcd_to_ts() 239 ct.hour = 0; in clock_bcd_to_ts() 241 ct.hour += 12; in clock_bcd_to_ts() 280 ct->hour = rsec / 3600; in clock_ts_to_ct() 299 KASSERT(ct->hour >= 0 && ct->hour <= 23, in clock_ts_to_ct() 318 if (ct.hour >= 12) { in clock_ts_to_bcd() 319 ct.hour -= 12; in clock_ts_to_bcd() 322 if (ct.hour == 0) in clock_ts_to_bcd() 323 ct.hour = 12; in clock_ts_to_bcd() [all …]
|
| /f-stack/freebsd/amd64/vmm/io/ |
| H A D | vrtc.c | 60 uint8_t hour; member 187 int hour; in secs_to_rtc() local 229 hour = ct.hour; in secs_to_rtc() 237 hour = 12; in secs_to_rtc() 245 hour = ct.hour % 12; in secs_to_rtc() 250 rtc->hour = rtcset(rtc, hour); in secs_to_rtc() 311 hour = rtc->hour; in rtc_to_secs() 318 error = rtcget(rtc, hour, &ct.hour); in rtc_to_secs() 320 if (ct.hour >= 1 && ct.hour <= 12) { in rtc_to_secs() 337 rtc->hour, ct.hour); in rtc_to_secs() [all …]
|
| /f-stack/freebsd/mips/cavium/ |
| H A D | octeon_ds1337.c | 79 CT_CHECK(ct->hour < 0 || ct->hour > 23, "hour"); in validate_ct_struct() 118 ct.hour = bcd2bin(reg[2] & 0x3f); in cvmx_rtc_ds1337_read() 121 ct.hour = (ct.hour + 12) % 24; in cvmx_rtc_ds1337_read() 171 reg[2] = bin2bcd(ct.hour); /* Force 0..23 format even if using AM/PM */ in cvmx_rtc_ds1337_write()
|
| /f-stack/app/nginx-1.16.1/src/core/ |
| H A D | ngx_parse_time.c | 19 ngx_uint_t day, year, hour, min, sec; in ngx_parse_http_time() local 181 hour = (*p - '0') * 10 + (*(p + 1) - '0'); in ngx_parse_http_time() 223 if (hour > 23 || min > 59 || sec > 59) { in ngx_parse_http_time() 266 - 719527 + 31 + 28) * 86400 + hour * 3600 + min * 60 + sec; in ngx_parse_http_time()
|
| H A D | ngx_times.c | 331 ngx_uint_t sec, min, hour, mday, mon, year, wday, days, leap; in ngx_gmtime() local 356 hour = sec / 3600; in ngx_gmtime() 424 tp->ngx_tm_hour = (ngx_tm_hour_t) hour; in ngx_gmtime()
|
| /f-stack/freebsd/sys/ |
| H A D | clock.h | 78 int hour; /* hour (0 - 23) */ member 114 uint8_t hour; /* hour (0 - 23 or 1 - 12) */ member
|
| /f-stack/freebsd/arm/nvidia/ |
| H A D | as3722_rtc.c | 61 ct.hour = bcd2bin(buf[2] & 0x3F); in as3722_rtc_gettime() 86 buf[2] = bin2bcd(ct.hour); in as3722_rtc_settime()
|
| H A D | tegra_xhci.c | 854 fw_clock.hour, fw_clock.min, fw_clock.sec); in load_fw()
|
| /f-stack/freebsd/contrib/device-tree/Bindings/ |
| H A D | property-units.txt | 29 -microamp-hours : microampere hour 32 -microwatt-hours: microwatt hour
|
| /f-stack/freebsd/arm/mv/ |
| H A D | rtc.c | 144 ct.hour = FROMBCD((val & 0x3f0000) >> 16); in mv_rtc_gettime() 172 (TOBCD(ct.hour) << 16) | (TOBCD( ct.dow + 1) << 24); in mv_rtc_settime()
|
| /f-stack/freebsd/mips/atheros/ |
| H A D | pcf2123_rtc.c | 131 ct.hour = FROMBCD(rxTimedate[3] & 0x3f); in pcf2123_rtc_gettime() 177 txTimedate[3] = TOBCD(ct.hour); in pcf2123_rtc_settime()
|
| /f-stack/freebsd/arm/ti/am335x/ |
| H A D | am335x_rtc.c | 174 ct.hour = FROMBCD(RTC_READ4(rtc_sc, RTC_HOURS) & 0x3f); in am335x_rtc_pmic_pwr_toggle() 184 RTC_WRITE4(rtc_sc, RTC_ALARM2_HOURS, TOBCD(ct.hour)); in am335x_rtc_pmic_pwr_toggle()
|
| /f-stack/freebsd/contrib/openzfs/.github/ |
| H A D | stale.yml | 25 # Limit the number of actions per hour, from 1-30. Default is 30
|
| /f-stack/freebsd/arm/allwinner/ |
| H A D | aw_rtc.c | 300 ct.hour = GET_HOUR_VALUE(rtime); in aw_rtc_gettime() 345 SET_HOUR_VALUE(ct.hour); in aw_rtc_settime()
|
| /f-stack/freebsd/arm64/nvidia/tegra210/ |
| H A D | max77620_rtc.c | 256 ct.hour = bcd2bin(buf[2] & 0x3F); in max77620_rtc_gettime() 281 buf[2] = bin2bcd(ct.hour); in max77620_rtc_settime()
|
| /f-stack/dpdk/examples/vm_power_manager/ |
| H A D | channel_monitor.c | 251 int hour = (int)json_integer_value( in parse_json_to_pkt() local 253 pkt->timer_policy.busy_hours[i] = hour; in parse_json_to_pkt() 260 int hour = (int)json_integer_value( in parse_json_to_pkt() local 262 pkt->timer_policy.quiet_hours[i] = hour; in parse_json_to_pkt()
|
| /f-stack/freebsd/x86/isa/ |
| H A D | atrtc.c | 546 rtcout_locked(RTC_HRS, bct.hour); in atrtc_settime() 591 bct.hour = rtcin_locked(RTC_HRS); in atrtc_gettime()
|
| /f-stack/dpdk/doc/guides/sample_app_ug/ |
| H A D | vm_power_management.rst | 124 power adjustment (busy/quiet hour power adjustment for example). See 548 Valid hour values are 0 to 23. 554 Valid hour values are 0 to 23. 763 An array with a list of hour values (0-23). 884 An array with a list of hour numbers with values in the range 0 to 23.
|