Home
last modified time | relevance | path

Searched refs:RTC_IS_OPEN (Results 1 – 6 of 6) sorted by relevance

/linux-2.4.37.9/drivers/char/
Dmips_rtc.c72 #define RTC_IS_OPEN 0x01 /* means /dev/rtc is in use */ macro
118 if (rtc_status & RTC_IS_OPEN) { in rtc_open()
123 rtc_status |= RTC_IS_OPEN; in rtc_open()
132 rtc_status &= ~RTC_IS_OPEN; in rtc_release()
Dip27-rtc.c60 #define RTC_IS_OPEN 0x01 /* means /dev/rtc is in use */ macro
169 if (rtc_status & RTC_IS_OPEN) { in rtc_open()
174 rtc_status |= RTC_IS_OPEN; in rtc_open()
186 rtc_status &= ~RTC_IS_OPEN; in rtc_release()
Dds1742.c98 #define RTC_IS_OPEN 0x1 macro
296 if (rtc_status & RTC_IS_OPEN) { in ds1742_open()
301 rtc_status |= RTC_IS_OPEN; in ds1742_open()
310 rtc_status &= ~RTC_IS_OPEN; in ds1742_release()
Dgenrtc.c73 #define RTC_IS_OPEN 0x01 /* means /dev/rtc is in use */ macro
354 if (gen_rtc_status & RTC_IS_OPEN) in gen_rtc_open()
359 gen_rtc_status |= RTC_IS_OPEN; in gen_rtc_open()
375 gen_rtc_status &= ~RTC_IS_OPEN; in gen_rtc_release()
Dds1286.c79 #define RTC_IS_OPEN 0x01 /* means /dev/rtc is in use */ macro
252 if (ds1286_status & RTC_IS_OPEN) in ds1286_open()
255 ds1286_status |= RTC_IS_OPEN; in ds1286_open()
267 ds1286_status &= ~RTC_IS_OPEN; in ds1286_release()
Drtc.c133 #define RTC_IS_OPEN 0x01 /* means /dev/rtc is in use */ macro
601 if(rtc_status & RTC_IS_OPEN) in rtc_open()
604 rtc_status |= RTC_IS_OPEN; in rtc_open()
660 rtc_status &= ~RTC_IS_OPEN; in rtc_release()