/Zephyr-latest/tests/unit/timeutil/ |
D | test_s32.c | 18 .tm_min = 59, 30 .tm_min = 0, 42 .tm_min = 29, 59 .tm_min = 45, 71 .tm_min = 14, 85 .tm_min = 59, 97 .tm_min = 0, 109 .tm_min = 0, 121 .tm_min = 0, 133 .tm_min = 0, [all …]
|
D | test_s64.c | 19 .tm_min = 45, 31 .tm_min = 45, 43 .tm_min = 14, 55 .tm_min = 59, 67 .tm_min = 0, 80 .tm_min = 59, 92 .tm_min = 0, 104 .tm_min = 0, 116 .tm_min = 0, 128 .tm_min = 0, [all …]
|
D | main.c | 35 zassert_equal(tm.tm_min, tp->tm.tm_min, in timeutil_check() 37 tp->civil, tm.tm_min, tp->tm.tm_min); in timeutil_check()
|
/Zephyr-latest/drivers/rtc/ |
D | rtc_utils.c | 21 if ((mask & RTC_ALARM_TIME_MASK_MINUTE) && (timeptr->tm_min < 0 || timeptr->tm_min > 59)) { in rtc_utils_validate_rtc_time()
|
D | rtc_ds1307.c | 57 tm->tm_year, tm->tm_mon, tm->tm_mday, tm->tm_wday, tm->tm_hour, tm->tm_min, in ds1307_set_time() 61 regs[1] = bin2bcd(tm->tm_min); in ds1307_set_time() 91 timeptr->tm_min = bcd2bin(regs[1] & MINUTES_BITS); in ds1307_get_time() 113 timeptr->tm_hour, timeptr->tm_min, timeptr->tm_sec); in ds1307_get_time()
|
D | rtc_mc146818.c | 151 if (timeptr->tm_min < MIN_MIN || timeptr->tm_min > MAX_MIN) { in rtc_mc146818_validate_time() 200 rtc_write(RTC_MIN, (uint8_t)timeptr->tm_min); in rtc_mc146818_set_time() 247 timeptr->tm_min = rtc_read(RTC_MIN); in rtc_mc146818_get_time() 276 (timeptr->tm_min < MIN_MIN || timeptr->tm_min > MAX_MIN)) { in rtc_mc146818_validate_alarm() 335 rtc_write(RTC_ALARM_MIN, timeptr->tm_min); in rtc_mc146818_alarm_set_time() 381 timeptr->tm_min = value; in rtc_mc146818_alarm_get_time()
|
D | rtc_ambiq.c | 58 atm->ui32Minute = tm->tm_min; in rtc_time_to_ambiq_time_set() 92 tm->tm_min = atm->ui32Minute; in ambiq_time_to_rtc_time_set() 127 timeptr->tm_hour, timeptr->tm_min, timeptr->tm_sec); in ambiq_rtc_set_time() 166 timeptr->tm_hour, timeptr->tm_min, timeptr->tm_sec); in ambiq_rtc_get_time() 217 timeptr->tm_hour, timeptr->tm_min, timeptr->tm_sec, *mask); in ambiq_rtc_alarm_get_time() 268 timeptr->tm_sec, timeptr->tm_min, timeptr->tm_hour, timeptr->tm_mday, in ambiq_rtc_alarm_set_time()
|
D | rtc_emul.c | 94 datetime->tm_min++; in rtc_emul_increment_tm() 97 if (datetime->tm_min < 60) { in rtc_emul_increment_tm() 101 datetime->tm_min = 0; in rtc_emul_increment_tm() 163 (alarm->datetime.tm_min != data->datetime.tm_min)) { in rtc_emul_test_alarms()
|
D | rtc_am1805.c | 135 tm->tm_year, tm->tm_mon, tm->tm_mday, tm->tm_wday, tm->tm_hour, tm->tm_min, in am1805_set_time() 139 regs[1] = bin2bcd(tm->tm_min) & MINUTES_BITS; in am1805_set_time() 189 timeptr->tm_min = bcd2bin(regs[1] & MINUTES_BITS); in am1805_get_time() 199 timeptr->tm_hour, timeptr->tm_min, timeptr->tm_sec); in am1805_get_time() 342 timeptr->tm_min = bcd2bin(regs[1] & MINUTES_BITS); in am1805_alarm_get_time() 352 timeptr->tm_hour, timeptr->tm_min, timeptr->tm_sec, *mask); in am1805_alarm_get_time() 409 regs[1] = bin2bcd(timeptr->tm_min) & MINUTES_BITS; in am1805_alarm_set_time() 417 timeptr->tm_sec, timeptr->tm_min, timeptr->tm_hour, timeptr->tm_mday, in am1805_alarm_set_time()
|
D | rtc_nxp_irtc.c | 82 irtc_reg->HOURMIN = RTC_HOURMIN_MIN_CNT(timeptr->tm_min) | in nxp_irtc_set_time() 110 timeptr->tm_min = RTC_NXP_GET_REG_FIELD(irtc_reg, HOURMIN, MIN_CNT); in nxp_irtc_get_time() 168 irtc_reg->ALM_HOURMIN = RTC_ALM_HOURMIN_ALM_MIN(timeptr->tm_min); in nxp_irtc_alarm_set_time() 232 timeptr->tm_min = RTC_NXP_GET_REG_FIELD(irtc_reg, HOURMIN, MIN_CNT); in nxp_irtc_alarm_get_time()
|
/Zephyr-latest/samples/drivers/rtc/src/ |
D | main.c | 22 .tm_min = 19, in set_date_time() 46 tm.tm_mon + 1, tm.tm_mday, tm.tm_hour, tm.tm_min, tm.tm_sec); in get_date_time()
|
/Zephyr-latest/tests/drivers/rtc/rtc_api/src/ |
D | test_alarm.c | 24 .tm_min = 29, 38 .tm_min = 30, 51 .tm_min = 70, 137 zassert_equal(alarm_time_get.tm_min, test_alarm_time_set.tm_min, in ZTEST()
|
D | test_time.c | 43 zassert_true((datetime_get.tm_min > -1) && (datetime_get.tm_min < 60), in ZTEST()
|
D | test_y2k.c | 69 zassert_equal(rtm[Y2K].tm_min, 0, "wrong minute: %d", rtm[Y2K].tm_min); in ZTEST()
|
D | test_alarm_callback.c | 28 .tm_min = 29, 42 .tm_min = 30,
|
/Zephyr-latest/tests/drivers/rtc/rtc_api_helpers/src/ |
D | test_rtc_time_to_tm.c | 16 zassert_equal(offsetof(struct rtc_time, tm_min), offsetof(struct tm, tm_min), in ZTEST()
|
/Zephyr-latest/subsys/shell/modules/ |
D | date_service.c | 34 t->tm_min, in date_print() 112 t->tm_min = strtol(time_str, &endptr, 10); in get_h_m_s() 116 if ((t->tm_min < 0) || (t->tm_min > 59)) { in get_h_m_s()
|
/Zephyr-latest/subsys/bluetooth/services/ |
D | cts.c | 46 date_time.tm_min = ct_time->min; /* minute of hour */ in bt_cts_time_to_unix_ms() 51 date_time.tm_mday, date_time.tm_hour, date_time.tm_min, date_time.tm_sec); in bt_cts_time_to_unix_ms() 85 date_time.tm_mday, date_time.tm_hour, date_time.tm_min, date_time.tm_sec); in bt_cts_time_from_unix_ms() 95 ct_time->min = date_time.tm_min; /* minutes */ in bt_cts_time_from_unix_ms()
|
/Zephyr-latest/lib/libc/common/source/time/ |
D | gmtime_r.c | 94 result->tm_min = rem / 60; in gmtime_r() 95 result->tm_sec = rem - result->tm_min * 60; in gmtime_r()
|
D | asctime.c | 34 mon_str[tp->tm_mon], tp->tm_mday, tp->tm_hour, tp->tm_min, tp->tm_sec, in asctime_impl()
|
/Zephyr-latest/tests/drivers/rtc/shell/src/ |
D | main.c | 65 get_time_mock.rtc.tm_min = 34; in configure_get_time_mock() 83 zassert_equal(min, rtctime->tm_min, "Minute mismatch"); in assert_set_time() 137 assert_set_time(2022, 5, 17, get_time_mock.rtc.tm_hour, get_time_mock.rtc.tm_min, in ZTEST()
|
/Zephyr-latest/tests/drivers/rtc/rtc_utils/src/ |
D | test_rtc_utils.c | 16 .tm_min = 70, in ZTEST()
|
/Zephyr-latest/tests/subsys/fs/fat_fs_api/src/ |
D | main.c | 25 (DWORD)cal->tm_mday << 16 | (DWORD)cal->tm_hour << 11 | (DWORD)cal->tm_min << 5 | in get_fattime()
|
/Zephyr-latest/lib/libc/minimal/include/ |
D | time.h | 26 int tm_min; member
|
/Zephyr-latest/samples/boards/nuvoton/numaker/system_off/src/ |
D | main.c | 40 alarm_time_set.tm_min = RTC_TEST_ALARM_TIME_MINUTE; in set_alarm_10s()
|