Home
last modified time | relevance | path

Searched refs:tm_min (Results 1 – 25 of 49) sorted by relevance

12

/Zephyr-latest/tests/unit/timeutil/
Dtest_s32.c18 .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 …]
Dtest_s64.c19 .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 …]
Dmain.c35 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/
Drtc_utils.c21 if ((mask & RTC_ALARM_TIME_MASK_MINUTE) && (timeptr->tm_min < 0 || timeptr->tm_min > 59)) { in rtc_utils_validate_rtc_time()
Drtc_ds1307.c57 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()
Drtc_mc146818.c151 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()
Drtc_ambiq.c58 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()
Drtc_emul.c94 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()
Drtc_am1805.c135 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()
Drtc_nxp_irtc.c82 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/
Dmain.c22 .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/
Dtest_alarm.c24 .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()
Dtest_time.c43 zassert_true((datetime_get.tm_min > -1) && (datetime_get.tm_min < 60), in ZTEST()
Dtest_y2k.c69 zassert_equal(rtm[Y2K].tm_min, 0, "wrong minute: %d", rtm[Y2K].tm_min); in ZTEST()
Dtest_alarm_callback.c28 .tm_min = 29,
42 .tm_min = 30,
/Zephyr-latest/tests/drivers/rtc/rtc_api_helpers/src/
Dtest_rtc_time_to_tm.c16 zassert_equal(offsetof(struct rtc_time, tm_min), offsetof(struct tm, tm_min), in ZTEST()
/Zephyr-latest/subsys/shell/modules/
Ddate_service.c34 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/
Dcts.c46 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/
Dgmtime_r.c94 result->tm_min = rem / 60; in gmtime_r()
95 result->tm_sec = rem - result->tm_min * 60; in gmtime_r()
Dasctime.c34 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/
Dmain.c65 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/
Dtest_rtc_utils.c16 .tm_min = 70, in ZTEST()
/Zephyr-latest/tests/subsys/fs/fat_fs_api/src/
Dmain.c25 (DWORD)cal->tm_mday << 16 | (DWORD)cal->tm_hour << 11 | (DWORD)cal->tm_min << 5 | in get_fattime()
/Zephyr-latest/lib/libc/minimal/include/
Dtime.h26 int tm_min; member
/Zephyr-latest/samples/boards/nuvoton/numaker/system_off/src/
Dmain.c40 alarm_time_set.tm_min = RTC_TEST_ALARM_TIME_MINUTE; in set_alarm_10s()

12