Lines Matching refs:wakeup_count
115 wakeup_count = read_wakeup_count()
119 return (alarm, wakeup_count)
159 alarm, wakeup_count = prepare_wakeup(suspend_seconds)
162 '--wakeup_count=%d') % (delay_seconds, wakeup_count)
199 alarm, wakeup_count = prepare_wakeup(seconds)
200 logging.debug('Saving wakeup count: %d', wakeup_count)
201 write_wakeup_count(wakeup_count)
259 alarm, wakeup_count = prepare_wakeup(seconds)
261 '--size=%d > %s' % (wakeup_count, size, output))
284 def write_wakeup_count(wakeup_count): argument
291 sysfs_file.write(str(wakeup_count))
293 if (e.errno == errno.EINVAL and read_wakeup_count() != wakeup_count):