Searched refs:dma_offset (Results 1 – 3 of 3) sorted by relevance
45 size_t buf_size, get_size, dma_offset; member121 runtime->dma_area + rt5514_dsp->dma_offset, in rt5514_spi_copy_work()131 runtime->dma_area + rt5514_dsp->dma_offset, in rt5514_spi_copy_work()135 runtime->dma_area + rt5514_dsp->dma_offset + in rt5514_spi_copy_work()143 rt5514_dsp->dma_offset += period_bytes; in rt5514_spi_copy_work()144 if (rt5514_dsp->dma_offset >= runtime->dma_bytes) in rt5514_spi_copy_work()145 rt5514_dsp->dma_offset = 0; in rt5514_spi_copy_work()222 rt5514_dsp->dma_offset = 0; in rt5514_spi_hw_params()257 return bytes_to_frames(runtime, rt5514_dsp->dma_offset); in rt5514_spi_pcm_pointer()
66 size_t dma_offset; /* zero-based offset into runtime->dma_area */ member170 rt5677_dsp->dma_offset = 0; in rt5677_spi_prepare()183 return bytes_to_frames(runtime, rt5677_dsp->dma_offset); in rt5677_spi_pcm_pointer()239 if (rt5677_dsp->dma_offset + first_chunk_len > runtime->dma_bytes) { in rt5677_spi_copy_block()242 first_chunk_len = runtime->dma_bytes - rt5677_dsp->dma_offset; in rt5677_spi_copy_block()248 runtime->dma_area + rt5677_dsp->dma_offset, in rt5677_spi_copy_block()252 rt5677_dsp->dma_offset += first_chunk_len; in rt5677_spi_copy_block()253 if (rt5677_dsp->dma_offset == runtime->dma_bytes) in rt5677_spi_copy_block()254 rt5677_dsp->dma_offset = 0; in rt5677_spi_copy_block()262 rt5677_dsp->dma_offset = second_chunk_len; in rt5677_spi_copy_block()
487 snd_pcm_uframes_t dma_offset; in hiface_pcm_pointer() local493 dma_offset = sub->dma_off; in hiface_pcm_pointer()495 return bytes_to_frames(alsa_sub->runtime, dma_offset); in hiface_pcm_pointer()