Searched refs:rtc_state (Results 1 – 3 of 3) sorted by relevance
/external/qemu/hw/ |
D | goldfish_timer.c | 130 struct rtc_state { struct 143 struct rtc_state* s = opaque; in goldfish_rtc_save() argument 150 struct rtc_state* s = opaque; in goldfish_rtc_load() 162 struct rtc_state *s = (struct rtc_state *)opaque; in goldfish_rtc_read() 177 struct rtc_state *s = (struct rtc_state *)opaque; in goldfish_rtc_write() 207 static struct timer_state rtc_state = { variable 249 goldfish_device_add(&rtc_state.dev, goldfish_rtc_readfn, goldfish_rtc_writefn, &rtc_state); in goldfish_timer_and_rtc_init() 251 goldfish_rtc_save, goldfish_rtc_load, &rtc_state); in goldfish_timer_and_rtc_init()
|
D | pc.c | 66 static RTCState *rtc_state; variable 206 RTCState *s = rtc_state; in cmos_init_hd() 270 RTCState *s = rtc_state; in cmos_init() 1098 rtc_state = rtc_init(0x70, i8259[8], 2000); 1100 qemu_register_boot_set(pc_boot_set, rtc_state); 1314 if (rtc_state) 1315 rtc_set_memory(rtc_state, 0xF, 0xFE);
|
D | mips_r4k.c | 170 RTCState *rtc_state; in mips_r4k_init() local 264 rtc_state = rtc_init(2000); in mips_r4k_init()
|