Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/rtc/
Drtc_ifx_cat1.c69 #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()
Drtc_shell.c41 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()
Drtc_mc146818.c176 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()
Drtc_numaker.c49 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()
Drtc_rpi_pico.c115 .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/
Ddate_service.c40 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/
Dcounter_cmos.c42 year, member
187 epoch = hinnant(state.year + 2000, state.month, state.day); in get_value()
Dmaxim_ds3231.c51 uint8_t year; member
437 tm.tm_year = bcd2bin(rp->year); in decode_rtc()
Drtc_mcp7940n.c92 time.tm_year = RTC_BCD_DECODE(data->registers.rtc_year.year) + in decode_rtc()
/Zephyr-latest/include/zephyr/bluetooth/services/
Dcts.h45 uint16_t year; member
Dots.h507 uint16_t year; member
/Zephyr-latest/include/zephyr/drivers/modem/
Dsimcom-sim7080.h97 uint8_t year; member
/Zephyr-latest/tests/drivers/rtc/shell/src/
Dmain.c71 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/
Dcts.c41 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/
Dtsc.rst112 - 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.
Dproposals.rst73 - A release plan spans only a few months; a product roadmap might cover a year
Dworking_groups.rst49 - The term for the chair/co-chair is one year
Drelease_process.rst239 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/
DKconfig.build_time28 The year the image was compiled, such as 2023
/Zephyr-latest/doc/releases/
Dindex.rst39 Support and maintenance for an LTS release stops at least half a year
/Zephyr-latest/samples/drivers/counter/maxim_ds3231/
DREADME.rst29 week, and day of year (19 July 2019 is a Friday, and is the 200th day of
/Zephyr-latest/doc/kernel/
Dtimeutil.rst50 * Calendar time as a year, month, day, hour, minutes, and seconds relative to
/Zephyr-latest/doc/security/
Dsecure-coding.rst191 the past year (via code, documentation, or answering questions).
/Zephyr-latest/subsys/bluetooth/services/ots/
Dots_client.c257 p_date_time->year = net_buf_simple_pull_le16(buf); in date_time_decode()
/Zephyr-latest/drivers/modem/
Dsimcom-sim7080.c1932 target_buf->time.year = mdm_pdu_read_time(pdu, index++); in mdm_decode_pdu()