Home
last modified time | relevance | path

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

/sound/ppc/
Dpmac.c190 rec->nperiods = rec->dma_size / rec->period_size; in snd_pmac_pcm_prepare()
221 for (i = 0, cp = rec->cmd.cmds; i < rec->nperiods; i++, cp++) { in snd_pmac_pcm_prepare()
259 for (i = 0, cp = rec->cmd.cmds; i < rec->nperiods; i++, cp++) in snd_pmac_pcm_trigger()
274 for (i = 0, cp = rec->cmd.cmds; i < rec->nperiods; i++, cp++) in snd_pmac_pcm_trigger()
415 + sizeof(struct dbdma_cmd)*((rec->cur_period+1)%rec->nperiods)); in snd_pmac_pcm_dead_xfer()
439 for (c = 0; c < rec->nperiods; c++) { /* at most all fragments */ in snd_pmac_pcm_update()
464 if (rec->cur_period >= rec->nperiods) { in snd_pmac_pcm_update()
Dpmac.h59 int nperiods, cur_period; member
/sound/aoa/soundbus/i2sbus/
Dpcm.c324 int i, periodsize, nperiods; in i2sbus_pcm_prepare() local
365 nperiods = pi->substream->runtime->periods; in i2sbus_pcm_prepare()
370 memset(command, 0, (nperiods + 2) * sizeof(struct dbdma_cmd)); in i2sbus_pcm_prepare()
387 (nperiods + 1) * sizeof(struct dbdma_cmd); in i2sbus_pcm_prepare()
388 for (i = 0; i < nperiods; i++, command++, offset += periodsize) { in i2sbus_pcm_prepare()