Searched refs:use_ampm (Results 1 – 6 of 6) sorted by relevance
| /freebsd-src/sys/dev/iicbus/rtc/ |
| H A D | isl12xx.c | 126 bool use_ampm; member 262 sc->use_ampm = true; in isl12xx_gettime() 276 return (clock_bcd_to_ts(&bct, ts, sc->use_ampm)); in isl12xx_gettime() 294 clock_ts_to_bcd(ts, &bct, sc->use_ampm); in isl12xx_settime() 298 if (!sc->use_ampm) in isl12xx_settime()
|
| H A D | ds13rtc.c | 167 bool use_ampm; /* Use AM/PM mode. */ member 333 sc->use_ampm = true; in ds13rtc_start() 376 if (sc->use_ampm) in ds13rtc_gettime() 398 err = clock_bcd_to_ts(&bct, ts, sc->use_ampm); in ds13rtc_gettime() 424 clock_ts_to_bcd(ts, &bct, sc->use_ampm); in ds13rtc_settime() 429 if (sc->use_ampm) { in ds13rtc_settime()
|
| H A D | nxprtc.c | 213 bool use_ampm; /* Chip is set to use am/pm mode */ member 530 sc->use_ampm = true; in pcf8523_start() 548 sc->use_ampm = true; in pcf8523_start() 770 if (sc->use_ampm) in nxprtc_gettime() 799 err = clock_bcd_to_ts(&bct, ts, sc->use_ampm); in nxprtc_gettime() 838 clock_ts_to_bcd(ts, &bct, sc->use_ampm); in nxprtc_settime()
|
| /freebsd-src/usr.bin/w/ |
| H A D | pr_time.c | 71 fmt = use_ampm ? L"%a%I%p" : L"%a%H"; in pr_attime() 76 fmt = use_ampm ? L"%l:%M%p" : L"%k:%M"; in pr_attime()
|
| H A D | extern.h | 32 extern int use_ampm;
|
| H A D | w.c | 90 int use_ampm; /* use AM/PM time */ variable 146 use_ampm = (*nl_langinfo(T_FMT_AMPM) != '\0'); in main() 487 use_ampm ? "%l:%M%p" : "%k:%M", localtime(nowp)) != 0) in pr_header()
|