Home
last modified time | relevance | path

Searched refs:cur_period (Results 1 – 5 of 5) sorted by relevance

/sound/soc/sh/
Dsiu_pcm.c67 port_info->playback.cur_period = 0; in siu_pcm_stmwrite_start()
86 if (++siu_stream->cur_period >= in siu_dma_tx_complete()
89 siu_stream->cur_period = 0; in siu_dma_tx_complete()
92 __func__, siu_stream->cur_period, in siu_dma_tx_complete()
93 siu_stream->cur_period * siu_stream->period_bytes, in siu_dma_tx_complete()
222 siu_stream->cur_period, in siu_io_tasklet()
225 siu_stream->cur_period, in siu_io_tasklet()
234 siu_stream->cur_period, in siu_io_tasklet()
251 siu_stream->cur_period = 0; in siu_pcm_stmread_start()
500 siu_stream->cur_period, in siu_pcm_pointer_dma()
Dsiu.h104 int cur_period; /* Period currently in dma */ member
/sound/ppc/
Dpmac.c209 rec->cur_period = 0; in snd_pmac_pcm_prepare()
316 volatile struct dbdma_cmd __iomem *cp = &rec->cmd.cmds[rec->cur_period]; in snd_pmac_pcm_pointer()
324 count += rec->cur_period * rec->period_size; in snd_pmac_pcm_pointer()
433 + sizeof(struct dbdma_cmd)*((rec->cur_period+1)%rec->nperiods)); in snd_pmac_pcm_dead_xfer()
462 cp = &rec->cmd.cmds[rec->cur_period]; in snd_pmac_pcm_update()
481 rec->cur_period++; in snd_pmac_pcm_update()
482 if (rec->cur_period >= rec->nperiods) { in snd_pmac_pcm_update()
483 rec->cur_period = 0; in snd_pmac_pcm_update()
Dpmac.h58 int nperiods, cur_period; member
/sound/pci/nm256/
Dnm256.c189 int cur_period; /* current period # */ member
489 s->cur_period++; in snd_nm256_pcm_mark()
490 s->cur_period %= s->periods; in snd_nm256_pcm_mark()
491 snd_nm256_writel(chip, reg, s->buf + s->cur_period * s->period_size); in snd_nm256_pcm_mark()
634 s->cur_period = 0; in snd_nm256_pcm_prepare()