Searched refs:to_play_usec (Results 1 – 2 of 2) sorted by relevance
652 uint64_t to_play_usec; in cras_iodev_fill_time_from_frames() local656 to_play_usec = (uint64_t)frames * 1000000L / (uint64_t)frame_rate; in cras_iodev_fill_time_from_frames()658 while (to_play_usec > 1000000) { in cras_iodev_fill_time_from_frames()660 to_play_usec -= 1000000; in cras_iodev_fill_time_from_frames()662 ts->tv_nsec = to_play_usec * 1000; in cras_iodev_fill_time_from_frames()
1899 uint64_t to_play_usec; in cras_iodev_fill_time_from_frames() local1903 to_play_usec = (uint64_t)frames * 1000000L / (uint64_t)frame_rate; in cras_iodev_fill_time_from_frames()1905 while (to_play_usec > 1000000) { in cras_iodev_fill_time_from_frames()1907 to_play_usec -= 1000000; in cras_iodev_fill_time_from_frames()1909 ts->tv_nsec = to_play_usec * 1000; in cras_iodev_fill_time_from_frames()