Lines Matching refs:tstamp
258 addr = ((void __iomem *)(ctx->mailbox + ctx->tstamp)) + in sst_cdev_ack()
345 struct snd_compr_tstamp *tstamp) in sst_cdev_tstamp() argument
352 addr = (void __iomem *)(ctx->mailbox + ctx->tstamp) + in sst_cdev_tstamp()
362 tstamp->copied_total = fw_tstamp.ring_buffer_counter; in sst_cdev_tstamp()
363 tstamp->pcm_frames = fw_tstamp.frames_decoded; in sst_cdev_tstamp()
364 tstamp->pcm_io_frames = div_u64(fw_tstamp.hardware_counter, in sst_cdev_tstamp()
366 tstamp->sampling_rate = fw_tstamp.sampling_frequency; in sst_cdev_tstamp()
368 dev_dbg(dev, "PCM = %u\n", tstamp->pcm_io_frames); in sst_cdev_tstamp()
370 str_id, tstamp->copied_total, tstamp->pcm_frames); in sst_cdev_tstamp()
371 dev_dbg(dev, "rendered %d\n", tstamp->pcm_io_frames); in sst_cdev_tstamp()
532 addr = (void __iomem *)(ctx->mailbox + ctx->tstamp) + in sst_read_timestamp()
682 .tstamp = sst_cdev_tstamp,