Lines Matching defs:s

80 static inline bool rtc_running(MC146818RtcState *s)  in rtc_running()
86 static uint64_t get_guest_rtc_ns(MC146818RtcState *s) in get_guest_rtc_ns()
94 static void rtc_coalesced_timer_update(MC146818RtcState *s) in rtc_coalesced_timer_update()
112 static bool rtc_policy_slew_deliver_irq(MC146818RtcState *s) in rtc_policy_slew_deliver_irq()
121 MC146818RtcState *s = opaque; in rtc_coalesced_timer() local
136 static uint32_t rtc_periodic_clock_ticks(MC146818RtcState *s) in rtc_periodic_clock_ticks()
153 static void periodic_timer_update(MC146818RtcState *s, int64_t current_time, in periodic_timer_update()
230 MC146818RtcState *s = opaque; in rtc_periodic_timer() local
251 static void check_update_timer(MC146818RtcState *s) in check_update_timer()
302 static inline uint8_t convert_hour(MC146818RtcState *s, uint8_t hour) in convert_hour()
313 static uint64_t get_next_alarm(MC146818RtcState *s) in get_next_alarm()
406 MC146818RtcState *s = opaque; in rtc_update_timer() local
435 MC146818RtcState *s = opaque; in cmos_ioport_write() local
553 static inline int rtc_to_bcd(MC146818RtcState *s, int a) in rtc_to_bcd()
562 static inline int rtc_from_bcd(MC146818RtcState *s, int a) in rtc_from_bcd()
574 static void rtc_get_time(MC146818RtcState *s, struct tm *tm) in rtc_get_time()
593 static void rtc_set_time(MC146818RtcState *s) in rtc_set_time()
605 static void rtc_set_cmos(MC146818RtcState *s, const struct tm *tm) in rtc_set_cmos()
629 static void rtc_update_time(MC146818RtcState *s) in rtc_update_time()
645 static int update_in_progress(MC146818RtcState *s) in update_in_progress()
674 MC146818RtcState *s = opaque; in cmos_ioport_read() local
735 void mc146818rtc_set_cmos_data(MC146818RtcState *s, int addr, int val) in mc146818rtc_set_cmos_data()
741 int mc146818rtc_get_cmos_data(MC146818RtcState *s, int addr) in mc146818rtc_get_cmos_data()
749 MC146818RtcState *s = MC146818_RTC(dev); in rtc_set_date_from_host() local
764 MC146818RtcState *s = opaque; in rtc_pre_save() local
773 MC146818RtcState *s = opaque; in rtc_post_load() local
804 MC146818RtcState *s = (MC146818RtcState *)opaque; in rtc_irq_reinject_on_ack_count_needed() local
851 MC146818RtcState *s = container_of(notifier, MC146818RtcState, in rtc_notify_suspend() local
868 MC146818RtcState *s = MC146818_RTC(obj); in rtc_get_date() local
877 MC146818RtcState *s = MC146818_RTC(dev); in rtc_realizefn() local
944 MC146818RtcState *s; in mc146818_rtc_init() local
974 MC146818RtcState *s = MC146818_RTC(obj); in rtc_reset_enter() local
995 MC146818RtcState *s = MC146818_RTC(obj); in rtc_reset_hold() local
1002 MC146818RtcState *s = MC146818_RTC(adev); in rtc_build_aml() local