Home
last modified time | relevance | path

Searched refs:sleep_time_us (Results 1 – 3 of 3) sorted by relevance

/device/generic/car/emulator/audio/driver/
Daudio_hw.c385 uint64_t sleep_time_us = frames_sleep * 1000000LL / in out_write() local
391 if (time_since_last_write_us < sleep_time_us) { in out_write()
392 sleep_time_us -= time_since_last_write_us; in out_write()
394 sleep_time_us = 0; in out_write()
396 out->last_write_time_us = now_us + sleep_time_us; in out_write()
400 if (sleep_time_us > 0) { in out_write()
401 usleep(sleep_time_us); in out_write()
442 uint64_t sleep_time_us = 0; in do_out_standby() local
454 sleep_time_us = frames_sleep * 1000000LL / in do_out_standby()
458 usleep(sleep_time_us); in do_out_standby()
[all …]
/device/linaro/dragonboard/audio/
Daudio_hw.c576 uint64_t sleep_time_us = frames_sleep * 1000000LL / in out_write() local
582 if (time_since_last_write_us < sleep_time_us) { in out_write()
583 sleep_time_us -= time_since_last_write_us; in out_write()
585 sleep_time_us = 0; in out_write()
587 out->last_write_time_us = now_us + sleep_time_us; in out_write()
591 if (sleep_time_us > 0) { in out_write()
592 usleep(sleep_time_us); in out_write()
636 uint64_t sleep_time_us = 0; in do_out_standby() local
648 sleep_time_us = frames_sleep * 1000000LL / in do_out_standby()
652 usleep(sleep_time_us); in do_out_standby()
[all …]
/device/google/cuttlefish/guest/hals/audio/
Daudio_hw.c579 uint64_t sleep_time_us = frames_sleep * 1000000LL / in out_write() local
585 if (time_since_last_write_us < sleep_time_us) { in out_write()
586 sleep_time_us -= time_since_last_write_us; in out_write()
588 sleep_time_us = 0; in out_write()
590 out->last_write_time_us = now_us + sleep_time_us; in out_write()
594 if (sleep_time_us > 0) { in out_write()
595 usleep(sleep_time_us); in out_write()
639 uint64_t sleep_time_us = 0; in do_out_standby() local
651 sleep_time_us = frames_sleep * 1000000LL / in do_out_standby()
655 usleep(sleep_time_us); in do_out_standby()
[all …]