Home
last modified time | relevance | path

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

/qemu/hw/rtc/
H A Daspeed_rtc.c30 uint32_t year, cent; in aspeed_rtc_calc_offset() local
40 year = (reg2 >> 8) & 0x7f; in aspeed_rtc_calc_offset()
42 tm.tm_year = year + (cent * 100) - 1900; in aspeed_rtc_calc_offset()
49 uint32_t year, cent; in aspeed_rtc_get_counter() local
60 year = now.tm_year % 100; in aspeed_rtc_get_counter()
61 return ((cent & 0x1f) << 16) | ((year & 0x7f) << 8) | in aspeed_rtc_get_counter()
H A Dexynos4210_rtc.c215 static int get_days_in_month(int month, int year) in get_days_in_month() argument
226 if ((year % 4) == 0 && ((year % 100) != 0 || (year % 400) == 0)) { in get_days_in_month()
H A Dmc146818rtc.c607 int year; in rtc_set_cmos() local
624 year = tm->tm_year + 1900 - s->base_year; in rtc_set_cmos()
625 s->cmos_data[RTC_YEAR] = rtc_to_bcd(s, year % 100); in rtc_set_cmos()
626 s->cmos_data[RTC_CENTURY] = rtc_to_bcd(s, year / 100); in rtc_set_cmos()
H A Dtrace-events12 xlnx_zynqmp_rtc_gettime(int year, int month, int day, int hour, int min, int sec) "Get time from ho…
/qemu/tests/qtest/
H A Dm48t59-test.c112 int sec, min, hour, mday, mon, year; in cmos_get_date_time() local
121 year = cmos_read(s, RTC_YEAR); in cmos_get_date_time()
128 year = bcd2dec(year); in cmos_get_date_time()
139 date->tm_year = base_year + year - 1900; in cmos_get_date_time()
H A Drtc-test.c74 int sec, min, hour, mday, mon, year; in cmos_get_date_time() local
83 year = cmos_read(RTC_YEAR); in cmos_get_date_time()
91 year = bcd2dec(year); in cmos_get_date_time()
113 date->tm_year = base_year + year - 1900; in cmos_get_date_time()
/qemu/docs/system/arm/
H A Dorangepi.rst57 - allwinner-rtc.base-year=YYYY
60 and uses a default base year value which can be overridden using the 'base-year' property.
61 The base year is the actual represented year when the RTC year value is zero.
63 base year value. The minimum value for the base year is 1900.
76 -global allwinner-rtc.base-year=2000
240 -sd armv7.img -global allwinner-rtc.base-year=2000
/qemu/tests/avocado/
H A Dmachine_aspeed.py225 year = time.strftime("%Y")
226 exec_command_and_wait_for_pattern(self, 'hwclock -f /dev/rtc1', year);
376 year = time.strftime("%Y")
377 self.ssh_command_output_contains('/sbin/hwclock -f /dev/rtc1', year);
/qemu/hw/ppc/
H A Dspapr_events.c515 int year; in spapr_init_maina() local
521 year = tm.tm_year + 1900; in spapr_init_maina()
522 maina->creation_date = cpu_to_be32((to_bcd(year / 100) << 24) in spapr_init_maina()
523 | (to_bcd(year % 100) << 16) in spapr_init_maina()
/qemu/linux-headers/LICENSES/preferred/
H A DBSD-2-Clause10 Copyright (c) <year> <owner> . All rights reserved.
H A DBSD-3-Clause10 Copyright (c) <year> <owner> . All rights reserved.
H A DGPL-2.0313 Copyright (C) <year> <name of author>
335 Gnomovision version 69, Copyright (C) year name of author
/qemu/scripts/oss-fuzz/
H A Doutput_reproducer.py41 """.format(date=date.today().year, owner=owner)
/qemu/
H A Dgitdm.config10 # A run to generate a report for the last year of activity would be
H A DCOPYING294 Copyright (C) <year> <name of author>
315 Gnomovision version 69, Copyright (C) year name of author
/qemu/qga/
H A Dcommands-posix.c299 if (date.year < 1970 || date.year >= 2070) { in qmp_guest_set_time()
/qemu/tests/avocado/acpi-bits/bits-tests/
H A Dsmbios.py22409 …Type {} - BIOS Release Date string must be present, non-null, and include a 4-digit year".format(s)