/Zephyr-latest/drivers/rtc/ |
D | rtc_ifx_cat1.c | 69 #define IFX_CAT1_RTC_VALID_CENTURY(year) ((year) >= _IFX_CAT1_RTC_INIT_CENTURY) argument 117 static void _ifx_cat1_rtc_from_pdl_time(cy_stc_rtc_config_t *pdlTime, const int year, in _ifx_cat1_rtc_from_pdl_time() argument 127 z_time->tm_year = (int)(year - _IFX_CAT1_RTC_TM_YEAR_BASE); in _ifx_cat1_rtc_from_pdl_time() 212 uint32_t year = timeptr->tm_year + _IFX_CAT1_RTC_TM_YEAR_BASE; in ifx_cat1_rtc_set_time() local 213 uint32_t year2digit = year % 100; in ifx_cat1_rtc_set_time() 220 !IFX_CAT1_RTC_VALID_CENTURY(year)) { in ifx_cat1_rtc_set_time() 233 _ifx_cat1_rtc_set_century((uint16_t)(year) - (uint16_t)(year2digit)); in ifx_cat1_rtc_set_time() 268 const int year = (int)(dateTime.year + _ifx_cat1_rtc_get_century()); in ifx_cat1_rtc_get_time() local 272 _ifx_cat1_rtc_from_pdl_time(&dateTime, year, timeptr); in ifx_cat1_rtc_get_time()
|
D | rtc_shell.c | 41 char year[4 + 1]; in consume_date() local 45 s = consume_chars(s, year, 4); in consume_date() 70 tm_time->tm_year = atoi(year) - 1900; in consume_date()
|
D | rtc_mc146818.c | 176 int year; in rtc_mc146818_set_time() local 196 year = (1900 + timeptr->tm_year) % 100; in rtc_mc146818_set_time() 205 rtc_write(RTC_YEAR, year); in rtc_mc146818_set_time() 221 uint8_t year; in rtc_mc146818_get_time() local 242 year = rtc_read(RTC_YEAR); in rtc_mc146818_get_time() 250 timeptr->tm_year = 100 * (int)cent + year - 1900; in rtc_mc146818_get_time()
|
D | rtc_numaker.c | 49 uint32_t year; /* Year value */ member 79 curr_time.year = real_year; in rtc_numaker_set_time() 113 timeptr->tm_year = curr_time.year - TM_YEAR_REF; in rtc_numaker_get_time() 235 alarm_time.year = timeptr->tm_year + TM_YEAR_REF; in rtc_numaker_alarm_set_time() 304 timeptr->tm_year = alarm_time.year - TM_YEAR_REF; in rtc_numaker_alarm_get_time()
|
D | rtc_rpi_pico.c | 115 .year = timeptr->tm_year + TM_YEAR_REF, in rtc_rpi_pico_set_time() 148 timeptr->tm_year = dt.year - TM_YEAR_REF; in rtc_rpi_pico_get_time()
|
/Zephyr-latest/subsys/shell/modules/ |
D | date_service.c | 40 int year; in get_y_m_d() local 45 year = strtol(date_str, &endptr, 10); in get_y_m_d() 75 t->tm_year = year - 1900; in get_y_m_d()
|
/Zephyr-latest/drivers/counter/ |
D | counter_cmos.c | 42 year, member 187 epoch = hinnant(state.year + 2000, state.month, state.day); in get_value()
|
D | maxim_ds3231.c | 51 uint8_t year; member 437 tm.tm_year = bcd2bin(rp->year); in decode_rtc()
|
D | rtc_mcp7940n.c | 92 time.tm_year = RTC_BCD_DECODE(data->registers.rtc_year.year) + in decode_rtc()
|
/Zephyr-latest/include/zephyr/bluetooth/services/ |
D | cts.h | 45 uint16_t year; member
|
D | ots.h | 507 uint16_t year; member
|
/Zephyr-latest/include/zephyr/drivers/modem/ |
D | simcom-sim7080.h | 97 uint8_t year; member
|
/Zephyr-latest/tests/drivers/rtc/shell/src/ |
D | main.c | 71 static void assert_set_time(int year, int mon, int mday, int hour, int min, int sec) in assert_set_time() argument 79 zassert_equal(year, rtctime->tm_year + 1900, "Year mismatch"); in assert_set_time()
|
/Zephyr-latest/subsys/bluetooth/services/ |
D | cts.c | 41 date_time.tm_year = sys_le16_to_cpu(ct_time->year); /* year (little endian) */ in bt_cts_time_to_unix_ms() 91 ct_time->year = sys_cpu_to_le16(date_time.tm_year); in bt_cts_time_from_unix_ms()
|
/Zephyr-latest/doc/project/ |
D | tsc.rst | 112 - To ensure continuity of the TSC, at the end of the 2 year term, the TSC is 116 - If an elected TSC member resigns before the end of the 2 year term, their spot 118 elected member will serve a 2 year term. 125 after completing the 2 year term since they were first elected.
|
D | proposals.rst | 73 - A release plan spans only a few months; a product roadmap might cover a year
|
D | working_groups.rst | 49 - The term for the chair/co-chair is one year
|
D | release_process.rst | 239 overlapping previous LTS release for at least half a year. 328 released. Support and maintenance for an LTS release stops at least half a year
|
/Zephyr-latest/subsys/bindesc/ |
D | Kconfig.build_time | 28 The year the image was compiled, such as 2023
|
/Zephyr-latest/doc/releases/ |
D | index.rst | 39 Support and maintenance for an LTS release stops at least half a year
|
/Zephyr-latest/samples/drivers/counter/maxim_ds3231/ |
D | README.rst | 29 week, and day of year (19 July 2019 is a Friday, and is the 200th day of
|
/Zephyr-latest/doc/kernel/ |
D | timeutil.rst | 50 * Calendar time as a year, month, day, hour, minutes, and seconds relative to
|
/Zephyr-latest/doc/security/ |
D | secure-coding.rst | 191 the past year (via code, documentation, or answering questions).
|
/Zephyr-latest/subsys/bluetooth/services/ots/ |
D | ots_client.c | 257 p_date_time->year = net_buf_simple_pull_le16(buf); in date_time_decode()
|
/Zephyr-latest/drivers/modem/ |
D | simcom-sim7080.c | 1932 target_buf->time.year = mdm_pdu_read_time(pdu, index++); in mdm_decode_pdu()
|