Searched refs:nsec (Results 1 – 4 of 4) sorted by relevance
101 static inline void snd_seq_inc_time_nsec(snd_seq_real_time_t *tm, unsigned long nsec) in snd_seq_inc_time_nsec() argument103 tm->tv_nsec += nsec; in snd_seq_inc_time_nsec()
64 u64 nsec) in azx_adjust_codec_delay() argument71 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() local506 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()
1217 u64 nsec) in skl_adjust_codec_delay() argument1224 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() local1252 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()
560 u64 nsec; in azx_timecounter_init() local572 nsec = 0; /* audio time is elapsed time since trigger */ in azx_timecounter_init()573 timecounter_init(tc, cc, nsec); in azx_timecounter_init()