Lines Matching defs:vrtc

75 struct vrtc {  struct
85 #define VRTC_LOCK(vrtc) mtx_lock(&((vrtc)->mtx)) argument
86 #define VRTC_UNLOCK(vrtc) mtx_unlock(&((vrtc)->mtx)) argument
87 #define VRTC_LOCKED(vrtc) mtx_owned(&((vrtc)->mtx)) argument
99 #define rtc_halted(vrtc) ((vrtc->rtcdev.reg_b & RTCSB_HALT) != 0) argument
100 #define aintr_enabled(vrtc) (((vrtc)->rtcdev.reg_b & RTCSB_AINTR) != 0) argument
101 #define pintr_enabled(vrtc) (((vrtc)->rtcdev.reg_b & RTCSB_PINTR) != 0) argument
102 #define uintr_enabled(vrtc) (((vrtc)->rtcdev.reg_b & RTCSB_UINTR) != 0) argument
127 update_enabled(struct vrtc *vrtc) in update_enabled()
148 vrtc_curtime(struct vrtc *vrtc, sbintime_t *basetime) in vrtc_curtime()
180 secs_to_rtc(time_t rtctime, struct vrtc *vrtc, int force_update) in secs_to_rtc()
281 rtc_to_secs(struct vrtc *vrtc) in rtc_to_secs()
400 vrtc_time_update(struct vrtc *vrtc, time_t newtime, sbintime_t newbase) in vrtc_time_update()
477 vrtc_freq(struct vrtc *vrtc) in vrtc_freq()
522 vrtc_callout_reset(struct vrtc *vrtc, sbintime_t freqsbt) in vrtc_callout_reset()
542 struct vrtc *vrtc = arg; in vrtc_callout_handler() local
579 vrtc_callout_check(struct vrtc *vrtc, sbintime_t freq) in vrtc_callout_check()
590 vrtc_set_reg_c(struct vrtc *vrtc, uint8_t newval) in vrtc_set_reg_c()
628 vrtc_set_reg_b(struct vrtc *vrtc, uint8_t newval) in vrtc_set_reg_b()
704 vrtc_set_reg_a(struct vrtc *vrtc, uint8_t newval) in vrtc_set_reg_a()
752 struct vrtc *vrtc; in vrtc_set_time() local
773 struct vrtc *vrtc; in vrtc_get_time() local
788 struct vrtc *vrtc; in vrtc_nvram_write() local
815 struct vrtc *vrtc; in vrtc_nvram_read() local
847 struct vrtc *vrtc; in vrtc_addr_handler() local
869 struct vrtc *vrtc; in vrtc_data_handler() local
964 vrtc_reset(struct vrtc *vrtc) in vrtc_reset()
981 struct vrtc *vrtc; in vrtc_init() local
1015 vrtc_cleanup(struct vrtc *vrtc) in vrtc_cleanup()
1025 vrtc_snapshot(struct vrtc *vrtc, struct vm_snapshot_meta *meta) in vrtc_snapshot()