Home
last modified time | relevance | path

Searched refs:nsec (Results 1 – 4 of 4) sorted by relevance

/sound/core/seq/
Dseq_timer.h101 static inline void snd_seq_inc_time_nsec(snd_seq_real_time_t *tm, unsigned long nsec) in snd_seq_inc_time_nsec() argument
103 tm->tv_nsec += nsec; in snd_seq_inc_time_nsec()
/sound/pci/hda/
Dhda_controller.c64 u64 nsec) in azx_adjust_codec_delay() argument
71 return nsec; in azx_adjust_codec_delay()
78 return nsec + codec_nsecs; in azx_adjust_codec_delay()
80 return (nsec > codec_nsecs) ? nsec - codec_nsecs : 0; in azx_adjust_codec_delay()
499 u64 nsec; in azx_get_time_info() local
506 nsec = timecounter_read(&azx_dev->core.tc); in azx_get_time_info()
508 nsec = azx_adjust_codec_delay(substream, nsec); in azx_get_time_info()
510 *audio_ts = ns_to_timespec64(nsec); in azx_get_time_info()
/sound/soc/intel/skylake/
Dskl-pcm.c1217 u64 nsec) in skl_adjust_codec_delay() argument
1224 return nsec; in skl_adjust_codec_delay()
1231 return nsec + codec_nsecs; in skl_adjust_codec_delay()
1233 return (nsec > codec_nsecs) ? nsec - codec_nsecs : 0; in skl_adjust_codec_delay()
1245 u64 nsec; in skl_platform_soc_get_time_info() local
1252 nsec = timecounter_read(&hstr->tc); in skl_platform_soc_get_time_info()
1254 nsec = skl_adjust_codec_delay(substream, nsec); in skl_platform_soc_get_time_info()
1256 *audio_ts = ns_to_timespec64(nsec); in skl_platform_soc_get_time_info()
/sound/hda/
Dhdac_stream.c560 u64 nsec; in azx_timecounter_init() local
572 nsec = 0; /* audio time is elapsed time since trigger */ in azx_timecounter_init()
573 timecounter_init(tc, cc, nsec); in azx_timecounter_init()