Home
last modified time | relevance | path

Searched refs:begin (Results 1 – 2 of 2) sorted by relevance

/sound/soc/codecs/
Drt5677-spi.c212 u32 begin, u32 end) in rt5677_spi_copy_block() argument
219 if (begin > end || runtime->dma_bytes < 2 * bytes_per_frame) { in rt5677_spi_copy_block()
222 begin, end, runtime->dma_bytes); in rt5677_spi_copy_block()
227 if (begin == end) in rt5677_spi_copy_block()
233 if (end - begin > runtime->dma_bytes - bytes_per_frame) in rt5677_spi_copy_block()
234 begin = end - (runtime->dma_bytes - bytes_per_frame); in rt5677_spi_copy_block()
237 first_chunk_len = end - begin; in rt5677_spi_copy_block()
247 ret = rt5677_spi_read(RT5677_MIC_BUF_ADDR + sizeof(u32) + begin, in rt5677_spi_copy_block()
259 begin + first_chunk_len, runtime->dma_area, in rt5677_spi_copy_block()
/sound/isa/gus/
Dgus_pcm.c99 unsigned int curr, begin, end; in snd_gf1_pcm_trigger_up() local
122 begin = pcmp->memory + voice * (pcmp->dma_size / runtime->channels); in snd_gf1_pcm_trigger_up()
123 curr = begin + (pcmp->bpos * pcmp->block_size) / runtime->channels; in snd_gf1_pcm_trigger_up()
137 snd_gf1_write_addr(gus, SNDRV_GF1_VA_START, begin << 4, voice_ctrl & 4); in snd_gf1_pcm_trigger_up()