Searched refs:to_play_usec (Results 1 – 2 of 2) sorted by relevance
670 uint64_t to_play_usec; in cras_iodev_fill_time_from_frames() local674 to_play_usec = (uint64_t)frames * 1000000L / (uint64_t)frame_rate; in cras_iodev_fill_time_from_frames()676 while (to_play_usec > 1000000) { in cras_iodev_fill_time_from_frames()678 to_play_usec -= 1000000; in cras_iodev_fill_time_from_frames()680 ts->tv_nsec = to_play_usec * 1000; in cras_iodev_fill_time_from_frames()
1872 uint64_t to_play_usec; in cras_iodev_fill_time_from_frames() local1876 to_play_usec = (uint64_t)frames * 1000000L / (uint64_t)frame_rate; in cras_iodev_fill_time_from_frames()1878 while (to_play_usec > 1000000) { in cras_iodev_fill_time_from_frames()1880 to_play_usec -= 1000000; in cras_iodev_fill_time_from_frames()1882 ts->tv_nsec = to_play_usec * 1000; in cras_iodev_fill_time_from_frames()