/qemu/hw/rtc/ |
H A D | aspeed_rtc.c | 30 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 D | exynos4210_rtc.c | 215 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 D | mc146818rtc.c | 607 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 D | trace-events | 12 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 D | m48t59-test.c | 112 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 D | rtc-test.c | 74 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 D | orangepi.rst | 57 - 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 D | machine_aspeed.py | 225 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 D | spapr_events.c | 515 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 D | BSD-2-Clause | 10 Copyright (c) <year> <owner> . All rights reserved.
|
H A D | BSD-3-Clause | 10 Copyright (c) <year> <owner> . All rights reserved.
|
H A D | GPL-2.0 | 313 Copyright (C) <year> <name of author> 335 Gnomovision version 69, Copyright (C) year name of author
|
/qemu/scripts/oss-fuzz/ |
H A D | output_reproducer.py | 41 """.format(date=date.today().year, owner=owner)
|
/qemu/ |
H A D | gitdm.config | 10 # A run to generate a report for the last year of activity would be
|
H A D | COPYING | 294 Copyright (C) <year> <name of author> 315 Gnomovision version 69, Copyright (C) year name of author
|
/qemu/qga/ |
H A D | commands-posix.c | 299 if (date.year < 1970 || date.year >= 2070) { in qmp_guest_set_time()
|
/qemu/tests/avocado/acpi-bits/bits-tests/ |
H A D | smbios.py2 | 2409 …Type {} - BIOS Release Date string must be present, non-null, and include a 4-digit year".format(s)
|