Home
last modified time | relevance | path

Searched refs:rtc (Results 1 – 5 of 5) sorted by relevance

/tools/testing/selftests/rtc/
Dsetdate.c25 const char *rtc, *date; in main() local
34 rtc = argv[1]; in main()
41 fd = open(rtc, O_RDONLY); in main()
43 perror(rtc); in main()
Drtctest.c26 FIXTURE(rtc) { in FIXTURE() argument
30 FIXTURE_SETUP(rtc) { in FIXTURE_SETUP() argument
35 FIXTURE_TEARDOWN(rtc) { in FIXTURE_TEARDOWN() argument
39 TEST_F(rtc, date_read) { in TEST_F() argument
52 TEST_F_TIMEOUT(rtc, uie_read, NUM_UIE + 2) {
77 TEST_F(rtc, uie_select) { in TEST_F() argument
112 TEST_F(rtc, alarm_alm_set) { in TEST_F() argument
165 TEST_F(rtc, alarm_wkalm_set) { in TEST_F() argument
214 TEST_F_TIMEOUT(rtc, alarm_alm_set_minute, 65) {
267 TEST_F_TIMEOUT(rtc, alarm_wkalm_set_minute, 65) {
/tools/testing/selftests/timers/
Drtcpie.c34 const char *rtc = default_rtc; in main() local
39 rtc = argv[1]; in main()
54 fd = open(rtc, O_RDONLY); in main()
57 perror(rtc); in main()
/tools/testing/selftests/
DMakefile58 TARGETS += rtc
/tools/power/pm-graph/
Dsleepgraph.py304 rtc = "rtc0"
306 rtc = os.readlink('/dev/rtc')
307 rtc = '/sys/class/rtc/'+rtc
308 if os.path.exists(rtc) and os.path.exists(rtc+'/date') and \
309 os.path.exists(rtc+'/time') and os.path.exists(rtc+'/wakealarm'):
310 self.rtcpath = rtc