Home
last modified time | relevance | path

Searched refs:tstamp (Results 1 – 13 of 13) sorted by relevance

/sound/core/
Drawmidi_compat.c58 struct compat_timespec tstamp; member
88 if (put_user(status.tstamp.tv_sec, &src->tstamp.tv_sec) || in snd_rawmidi_ioctl_status_compat()
89 put_user(status.tstamp.tv_nsec, &src->tstamp.tv_nsec) || in snd_rawmidi_ioctl_status_compat()
102 struct timespec tstamp; member
134 if (put_timespec(&status.tstamp, &src->tstamp) || in snd_rawmidi_ioctl_status_x32()
Dtimer_compat.c61 struct compat_timespec tstamp; member
79 status.tstamp.tv_sec = tu->tstamp.tv_sec; in snd_timer_user_status_compat()
80 status.tstamp.tv_nsec = tu->tstamp.tv_nsec; in snd_timer_user_status_compat()
Dtimer.c77 struct timespec tstamp; /* trigger tstamp */ member
414 struct timespec tstamp; in snd_timer_notify1() local
417 ktime_get_ts(&tstamp); in snd_timer_notify1()
419 getnstimeofday(&tstamp); in snd_timer_notify1()
427 ti->ccallback(ti, event, &tstamp, resolution); in snd_timer_notify1()
437 ts->ccallback(ts, event + 100, &tstamp, resolution); in snd_timer_notify1()
945 int event, struct timespec *tstamp,
969 void snd_timer_notify(struct snd_timer *timer, int event, struct timespec *tstamp) in snd_timer_notify() argument
993 ti->ccallback(ti, event, tstamp, resolution); in snd_timer_notify()
996 ts->ccallback(ts, event, tstamp, resolution); in snd_timer_notify()
[all …]
Dcompress_offload.c169 struct snd_compr_tstamp *tstamp) in snd_compr_update_tstamp() argument
173 stream->ops->pointer(stream, tstamp); in snd_compr_update_tstamp()
175 tstamp->byte_offset, tstamp->copied_total); in snd_compr_update_tstamp()
177 stream->runtime->total_bytes_transferred = tstamp->copied_total; in snd_compr_update_tstamp()
179 stream->runtime->total_bytes_available = tstamp->copied_total; in snd_compr_update_tstamp()
187 snd_compr_update_tstamp(stream, &avail->tstamp); in snd_compr_calc_avail()
633 struct snd_compr_tstamp tstamp = {0}; in snd_compr_tstamp() local
636 ret = snd_compr_update_tstamp(stream, &tstamp); in snd_compr_tstamp()
639 &tstamp, sizeof(tstamp)) ? -EFAULT : 0; in snd_compr_tstamp()
Dpcm_compat.c189 struct compat_timespec tstamp; member
217 compat_put_timespec(&status.tstamp, &src->tstamp) || in snd_pcm_status_user_compat()
372 struct compat_timespec tstamp; member
435 sstatus.tstamp = status->tstamp; in snd_pcm_ioctl_sync_ptr_compat()
441 compat_put_timespec(&sstatus.tstamp, &src->s.status.tstamp) || in snd_pcm_ioctl_sync_ptr_compat()
Dpcm.c478 status.tstamp.tv_sec, status.tstamp.tv_nsec); in snd_pcm_substream_proc_status_read()
Dpcm_native.c713 status->tstamp = runtime->status->tstamp; in snd_pcm_status()
719 snd_pcm_gettime(runtime, &status->tstamp); in snd_pcm_status()
2696 sync_ptr.s.status.tstamp = status->tstamp; in snd_pcm_sync_ptr()
Dpcm_lib.c172 snd_pcm_gettime(runtime, (struct timespec *)&runtime->status->tstamp); in xrun()
528 runtime->status->tstamp = curr_tstamp; in snd_pcm_update_hw_ptr0()
/sound/pci/lola/
Dlola_pcm.c54 unsigned int tstamp = lola_get_lrc(chip) >> 8; in lola_get_tstamp() local
57 tstamp += (wait_banks + 1) * chip->granularity - 1; in lola_get_tstamp()
58 tstamp -= tstamp % chip->granularity; in lola_get_tstamp()
60 return tstamp << 8; in lola_get_tstamp()
74 unsigned int tstamp) in lola_stream_start() argument
82 tstamp); in lola_stream_start()
86 unsigned int tstamp) in lola_stream_stop() argument
92 tstamp); in lola_stream_stop()
523 unsigned int tstamp; in lola_pcm_trigger() local
546 tstamp = lola_get_tstamp(chip, !sync_streams); in lola_pcm_trigger()
[all …]
/sound/soc/intel/
Dsst-mfld-platform-compress.c200 struct snd_compr_tstamp *tstamp) in sst_platform_compr_pointer() argument
205 stream->compr_ops->tstamp(sst->dev, stream->id, tstamp); in sst_platform_compr_pointer()
206 tstamp->byte_offset = tstamp->copied_total % in sst_platform_compr_pointer()
208 pr_debug("calc bytes offset/copied bytes as %d\n", tstamp->byte_offset); in sst_platform_compr_pointer()
Dsst-mfld-platform.h111 int (*tstamp)(struct device *dev, unsigned int str_id, member
112 struct snd_compr_tstamp *tstamp);
/sound/oss/
Dsequencer.c163 unsigned int tstamp; in sequencer_midi_input() local
169 tstamp = jiffies - seq_time; in sequencer_midi_input()
171 if (tstamp != prev_input_time) in sequencer_midi_input()
173 tstamp = (tstamp << 8) | SEQ_WAIT; in sequencer_midi_input()
174 seq_copy_to_input((unsigned char *) &tstamp, 4); in sequencer_midi_input()
175 prev_input_time = tstamp; in sequencer_midi_input()
/sound/soc/
Dsoc-compress.c538 struct snd_compr_tstamp *tstamp) in soc_compr_pointer() argument
546 platform->driver->compr_ops->pointer(cstream, tstamp); in soc_compr_pointer()