Searched refs:base_year (Results 1 – 2 of 2) sorted by relevance
/external/qemu/hw/ |
D | mc146818rtc.c | 69 int base_year; member 299 tm->tm_year = rtc_from_bcd(s, s->cmos_data[RTC_YEAR]) + s->base_year - 1900; in rtc_set_time() 321 year = (tm->tm_year - s->base_year) % 100; in rtc_copy_date() 597 RTCState *rtc_init_sqw(int base, qemu_irq irq, qemu_irq sqw_irq, int base_year) in rtc_init_sqw() argument 610 s->base_year = base_year; in rtc_init_sqw() 640 RTCState *rtc_init(int base, qemu_irq irq, int base_year) in rtc_init() argument 642 return rtc_init_sqw(base, irq, NULL, base_year); in rtc_init() 718 int base_year) in rtc_mm_init() argument 731 s->base_year = base_year; in rtc_mm_init()
|
D | pc.h | 92 RTCState *rtc_init(int base, qemu_irq irq, int base_year); 93 RTCState *rtc_init_sqw(int base, qemu_irq irq, qemu_irq sqw_irq, int base_year); 95 int base_year);
|