Searched refs:cur_period (Results 1 – 5 of 5) sorted by relevance
/sound/soc/sh/ |
D | siu_pcm.c | 79 port_info->playback.cur_period = 0; in siu_pcm_stmwrite_start() 98 if (++siu_stream->cur_period >= in siu_dma_tx_complete() 101 siu_stream->cur_period = 0; in siu_dma_tx_complete() 104 __func__, siu_stream->cur_period, in siu_dma_tx_complete() 105 siu_stream->cur_period * siu_stream->period_bytes, in siu_dma_tx_complete() 234 siu_stream->cur_period, in siu_io_tasklet() 237 siu_stream->cur_period, in siu_io_tasklet() 246 siu_stream->cur_period, in siu_io_tasklet() 263 siu_stream->cur_period = 0; in siu_pcm_stmread_start() 511 siu_stream->cur_period, in siu_pcm_pointer_dma()
|
D | siu.h | 118 int cur_period; /* Period currently in dma */ member
|
/sound/ppc/ |
D | pmac.c | 223 rec->cur_period = 0; in snd_pmac_pcm_prepare() 330 volatile struct dbdma_cmd __iomem *cp = &rec->cmd.cmds[rec->cur_period]; in snd_pmac_pcm_pointer() 338 count += rec->cur_period * rec->period_size; in snd_pmac_pcm_pointer() 447 + sizeof(struct dbdma_cmd)*((rec->cur_period+1)%rec->nperiods)); in snd_pmac_pcm_dead_xfer() 476 cp = &rec->cmd.cmds[rec->cur_period]; in snd_pmac_pcm_update() 495 rec->cur_period++; in snd_pmac_pcm_update() 496 if (rec->cur_period >= rec->nperiods) { in snd_pmac_pcm_update() 497 rec->cur_period = 0; in snd_pmac_pcm_update()
|
D | pmac.h | 71 int nperiods, cur_period; member
|
/sound/pci/nm256/ |
D | nm256.c | 203 int cur_period; /* current period # */ member 503 s->cur_period++; in snd_nm256_pcm_mark() 504 s->cur_period %= s->periods; in snd_nm256_pcm_mark() 505 snd_nm256_writel(chip, reg, s->buf + s->cur_period * s->period_size); in snd_nm256_pcm_mark() 648 s->cur_period = 0; in snd_nm256_pcm_prepare()
|