Home
last modified time | relevance | path

Searched refs:fw_tstamp (Results 1 – 3 of 3) sorted by relevance

/sound/soc/intel/atom/sst/
Dsst_drv_interface.c248 struct snd_sst_tstamp fw_tstamp = {0,}; in sst_cdev_ack() local
262 (str_id * sizeof(fw_tstamp)); in sst_cdev_ack()
264 memcpy_fromio(&fw_tstamp, addr, sizeof(fw_tstamp)); in sst_cdev_ack()
266 fw_tstamp.bytes_copied = stream->cumm_bytes; in sst_cdev_ack()
268 fw_tstamp.bytes_copied, bytes); in sst_cdev_ack()
271 sst_shim_write(addr, offset, fw_tstamp.bytes_copied); in sst_cdev_ack()
350 struct snd_sst_tstamp fw_tstamp = {0,}; in sst_cdev_tstamp() local
356 (str_id * sizeof(fw_tstamp)); in sst_cdev_tstamp()
358 memcpy_fromio(&fw_tstamp, addr, sizeof(fw_tstamp)); in sst_cdev_tstamp()
363 dev_dbg(dev, "rb_counter %llu in bytes\n", fw_tstamp.ring_buffer_counter); in sst_cdev_tstamp()
[all …]
Dsst_stream.c32 struct snd_sst_tstamp fw_tstamp; in sst_alloc_stream_mrfld() local
80 sst_drv_ctx->tstamp + (str_id * sizeof(fw_tstamp)); in sst_alloc_stream_mrfld()
83 sst_drv_ctx->tstamp + (str_id * sizeof(fw_tstamp)); in sst_alloc_stream_mrfld()
/sound/soc/intel/baytrail/
Dsst-baytrail-ipc.c543 struct sst_byt_tstamp fw_tstamp; in sst_byt_get_dsp_position() local
547 tstamp_offset = SST_BYT_TIMESTAMP_OFFSET + str_id * sizeof(fw_tstamp); in sst_byt_get_dsp_position()
548 memcpy_fromio(&fw_tstamp, in sst_byt_get_dsp_position()
549 sst->addr.lpe + tstamp_offset, sizeof(fw_tstamp)); in sst_byt_get_dsp_position()
551 return do_div(fw_tstamp.ring_buffer_counter, buffer_size); in sst_byt_get_dsp_position()