Lines Matching refs:wakeup_count
83 wakeup_count = read_wakeup_count()
87 return (alarm, wakeup_count)
113 alarm, wakeup_count = prepare_wakeup(suspend_seconds)
116 '--wakeup_count=%d') % (delay_seconds, wakeup_count)
152 alarm, wakeup_count = prepare_wakeup(seconds)
153 logging.debug('Saving wakeup count: %d', wakeup_count)
154 write_wakeup_count(wakeup_count)
212 alarm, wakeup_count = prepare_wakeup(seconds)
214 '--size=%d > %s' % (wakeup_count, size, output))
237 def write_wakeup_count(wakeup_count): argument
244 sysfs_file.write(str(wakeup_count))
246 if (e.errno == errno.EINVAL and read_wakeup_count() != wakeup_count):