Searched refs:rtc_status (Results 1 – 2 of 2) sorted by relevance
36 static atomic_t rtc_status = ATOMIC_INIT(1); variable136 if (!atomic_dec_and_test(&rtc_status)) { in rtc_open()137 atomic_inc(&rtc_status); in rtc_open()145 atomic_inc(&rtc_status); in rtc_release()
121 #define rtc_status() (in_8(RTCBASE + RTC_CMD)) macro165 s = rtc_status(); in hp300_rtc_read()193 s = rtc_status(); in hp300_rtc_write()