/sound/core/ |
D | rawmidi_compat.c | 60 struct compat_timespec tstamp; member 92 if (put_user(status.tstamp.tv_sec, &src->tstamp.tv_sec) || in snd_rawmidi_ioctl_status_compat() 93 put_user(status.tstamp.tv_nsec, &src->tstamp.tv_nsec) || in snd_rawmidi_ioctl_status_compat() 106 struct timespec tstamp; member 140 if (put_timespec(&status.tstamp, &src->tstamp) || in snd_rawmidi_ioctl_status_x32()
|
D | timer_compat.c | 61 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()
|
D | pcm_compat.c | 197 struct compat_timespec tstamp; member 237 compat_put_timespec(&status.tstamp, &src->tstamp) || in snd_pcm_status_user_compat() 260 struct timespec tstamp; member 301 put_timespec(&status.tstamp, &src->tstamp) || in snd_pcm_status_user_x32() 467 struct compat_timespec tstamp; member 530 sstatus.tstamp = status->tstamp; in snd_pcm_ioctl_sync_ptr_compat() 536 compat_put_timespec(&sstatus.tstamp, &src->s.status.tstamp) || in snd_pcm_ioctl_sync_ptr_compat() 554 struct timespec tstamp; member 618 sstatus.tstamp = status->tstamp; in snd_pcm_ioctl_sync_ptr_x32() 624 put_timespec(&sstatus.tstamp, &src->s.status.tstamp) || in snd_pcm_ioctl_sync_ptr_x32()
|
D | timer.c | 77 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() 438 ts->ccallback(ts, event, &tstamp, resolution); in snd_timer_notify1() 943 int event, struct timespec *tstamp, 967 void snd_timer_notify(struct snd_timer *timer, int event, struct timespec *tstamp) in snd_timer_notify() argument 991 ti->ccallback(ti, event, tstamp, resolution); in snd_timer_notify() 994 ts->ccallback(ts, event, tstamp, resolution); in snd_timer_notify() [all …]
|
D | compress_offload.c | 170 struct snd_compr_tstamp *tstamp) in snd_compr_update_tstamp() argument 174 stream->ops->pointer(stream, tstamp); in snd_compr_update_tstamp() 176 tstamp->byte_offset, tstamp->copied_total); in snd_compr_update_tstamp() 178 stream->runtime->total_bytes_transferred = tstamp->copied_total; in snd_compr_update_tstamp() 180 stream->runtime->total_bytes_available = tstamp->copied_total; in snd_compr_update_tstamp() 188 snd_compr_update_tstamp(stream, &avail->tstamp); in snd_compr_calc_avail() 632 struct snd_compr_tstamp tstamp = {0}; in snd_compr_tstamp() local 635 ret = snd_compr_update_tstamp(stream, &tstamp); in snd_compr_tstamp() 638 &tstamp, sizeof(tstamp)) ? -EFAULT : 0; in snd_compr_tstamp()
|
D | pcm.c | 477 status.tstamp.tv_sec, status.tstamp.tv_nsec); in snd_pcm_substream_proc_status_read()
|
D | pcm_native.c | 759 status->tstamp = runtime->status->tstamp; in snd_pcm_status() 774 snd_pcm_gettime(runtime, &status->tstamp); in snd_pcm_status() 2750 sync_ptr.s.status.tstamp = status->tstamp; in snd_pcm_sync_ptr()
|
D | pcm_lib.c | 178 snd_pcm_gettime(runtime, (struct timespec *)&runtime->status->tstamp); in xrun() 269 runtime->status->tstamp = *curr_tstamp; in update_audio_tstamp()
|
/sound/soc/intel/atom/sst/ |
D | sst_drv_interface.c | 280 ((void *)(ctx->mailbox + ctx->tstamp) in sst_cdev_ack() 288 addr = ((void *)(ctx->mailbox + ctx->tstamp)) + in sst_cdev_ack() 368 struct snd_compr_tstamp *tstamp) in sst_cdev_tstamp() argument 375 ((void *)(ctx->mailbox + ctx->tstamp) in sst_cdev_tstamp() 384 tstamp->copied_total = fw_tstamp.ring_buffer_counter; in sst_cdev_tstamp() 385 tstamp->pcm_frames = fw_tstamp.frames_decoded; in sst_cdev_tstamp() 386 tstamp->pcm_io_frames = div_u64(fw_tstamp.hardware_counter, in sst_cdev_tstamp() 388 tstamp->sampling_rate = fw_tstamp.sampling_frequency; in sst_cdev_tstamp() 390 dev_dbg(dev, "PCM = %u\n", tstamp->pcm_io_frames); in sst_cdev_tstamp() 392 str_id, tstamp->copied_total, tstamp->pcm_frames); in sst_cdev_tstamp() [all …]
|
D | sst_stream.c | 93 sst_drv_ctx->tstamp + (str_id * sizeof(fw_tstamp)); in sst_alloc_stream_mrfld() 96 sst_drv_ctx->tstamp + (str_id * sizeof(fw_tstamp)); in sst_alloc_stream_mrfld()
|
D | sst.h | 409 unsigned int tstamp; member
|
D | sst.c | 187 sst->tstamp = SST_TIME_STAMP_MRFLD; in sst_driver_ops()
|
/sound/pci/lola/ |
D | lola_pcm.c | 54 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/atom/ |
D | sst-mfld-platform-compress.c | 206 struct snd_compr_tstamp *tstamp) in sst_platform_compr_pointer() argument 211 stream->compr_ops->tstamp(sst->dev, stream->id, tstamp); in sst_platform_compr_pointer() 212 tstamp->byte_offset = tstamp->copied_total % in sst_platform_compr_pointer() 214 pr_debug("calc bytes offset/copied bytes as %d\n", tstamp->byte_offset); in sst_platform_compr_pointer()
|
D | sst-mfld-platform.h | 113 int (*tstamp)(struct device *dev, unsigned int str_id, member 114 struct snd_compr_tstamp *tstamp);
|
/sound/oss/ |
D | sequencer.c | 163 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/ |
D | soc-compress.c | 531 struct snd_compr_tstamp *tstamp) in soc_compr_pointer() argument 539 platform->driver->compr_ops->pointer(cstream, tstamp); in soc_compr_pointer()
|