Searched refs:periods (Results 1 - 25 of 31) sorted by relevance

12

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/sound/
H A Dpcm_oss.h34 unsigned int periods; member in struct:snd_pcm_oss_setup
53 unsigned int periods; member in struct:snd_pcm_oss_runtime
H A Dpcm.h54 unsigned int periods_min; /* min # of periods */
55 unsigned int periods_max; /* max # of periods */
275 unsigned int periods; /* periods */ member in struct:snd_pcm_runtime
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/cs5535audio/
H A Dcs5535audio_pcm.c124 unsigned int periods,
131 if (periods > CS5535AUDIO_MAX_DESCRIPTORS)
140 dma->period_bytes = dma->periods = 0;
143 if (dma->periods == periods && dma->period_bytes == period_bytes)
150 for (i = 0; i < periods; i++) {
160 lastdesc = &((struct cs5535audio_dma_desc *) dma->desc_buf.area)[periods];
165 (sizeof(struct cs5535audio_dma_desc)*periods));
168 dma->periods = periods;
121 cs5535audio_build_dma_packets(struct cs5535audio *cs5535au, struct cs5535audio_dma *dma, struct snd_pcm_substream *substream, unsigned int periods, unsigned int period_bytes) argument
[all...]
H A Dcs5535audio.h108 unsigned int period_bytes, periods; member in struct:cs5535audio_dma
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-arm/arch-omap/
H A Domap-alsa.h66 int periods; /* current count of periods registerd in the DMA engine */ member in struct:audio_stream
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/arm/
H A Dsa11xx-uda1341.c41 * buffer and 4 periods in the runtime structure this means we'll get an int every 256
125 int periods; /* current count of periods registerd in the DMA engine */ member in struct:audio_stream
483 while (s->active && s->periods < runtime->periods) {
489 s->periods = 0;
512 s->period %= runtime->periods;
513 s->periods++;
533 if (!s->tx_spin && s->periods > 0)
534 s->periods
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/mips/
H A Dau1x00.c89 unsigned int periods; member in struct:audio_stream
139 stream->periods = 0;
153 unsigned int periods)
164 stream->periods == periods)
170 stream->periods = periods;
176 for (i = 0; i < periods; i++) {
179 if (i < periods - 1) {
152 au1000_setup_dma_link(struct audio_stream *stream, unsigned int period_bytes, unsigned int periods) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/
H A Datiixp_modem.c226 unsigned int period_bytes, periods; member in struct:atiixp_dma
328 unsigned int periods,
335 if (periods > ATI_MAX_DESCRIPTORS)
342 dma->period_bytes = dma->periods = 0; /* clear */
345 if (dma->periods == periods && dma->period_bytes == period_bytes)
358 for (i = 0; i < periods; i++) {
365 if (i == periods - 1)
376 dma->periods = periods;
325 atiixp_build_dma_packets(struct atiixp_modem *chip, struct atiixp_dma *dma, struct snd_pcm_substream *substream, unsigned int periods, unsigned int period_bytes) argument
[all...]
H A Datiixp.c250 unsigned int period_bytes, periods; member in struct:atiixp_dma
357 unsigned int periods,
364 if (periods > ATI_MAX_DESCRIPTORS)
373 dma->period_bytes = dma->periods = 0; /* clear */
376 if (dma->periods == periods && dma->period_bytes == period_bytes)
389 for (i = 0; i < periods; i++) {
396 if (i == periods - 1)
407 dma->periods = periods;
355 atiixp_build_dma_packets(struct atiixp *chip, struct atiixp_dma *dma, struct snd_pcm_substream *substream, unsigned int periods, unsigned int period_bytes) argument
[all...]
H A Dvia82xx_modem.c273 * periods = number of periods
278 unsigned int periods, unsigned int fragsize)
302 for (i = 0; i < periods; i++) {
322 if (i == periods - 1)
337 dev->bufsize = periods * fragsize;
276 build_via_table(struct viadev *dev, struct snd_pcm_substream *substream, struct pci_dev *pci, unsigned int periods, unsigned int fragsize) argument
H A Dbt87x.c188 unsigned int periods, unsigned int period_bytes)
203 for (i = 0; i < periods; ++i) {
215 u32 block = i * 16 / periods;
233 chip->lines = periods;
187 snd_bt87x_create_risc(struct snd_bt87x *chip, struct snd_pcm_substream *substream, unsigned int periods, unsigned int period_bytes) argument
H A Dvia82xx.c412 * periods = number of periods
417 unsigned int periods, unsigned int fragsize)
441 for (i = 0; i < periods; i++) {
461 if (i == periods - 1)
476 dev->bufsize = periods * fragsize;
415 build_via_table(struct viadev *dev, struct snd_pcm_substream *substream, struct pci_dev *pci, unsigned int periods, unsigned int fragsize) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/video/saa7134/
H A Dsaa7134-alsa.c137 * and notifies ALSA when periods elapse
486 unsigned int period_size, periods; local
490 periods = params_periods(hw_params);
494 snd_assert(periods >= 2, return -EINVAL);
495 snd_assert(period_size * periods <= 1024 * 1024, return -EINVAL);
499 if (dev->dmasound.blocks == periods &&
510 dev->dmasound.blocks = periods;
512 dev->dmasound.bufsize = period_size * periods;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/soc/bcm947xx/
H A Dbcm947xx-pcm.c317 size_t periods = params_periods(params); local
324 DBG("%s: periods 0x%x tick_time0x%x\n", __FUNCTION__, periods, tick_time);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/nm256/
H A Dnm256.c202 int periods; /* # of periods */ member in struct:nm256_stream
502 s->cur_period %= s->periods;
642 s->periods = substream->runtime->periods;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/core/oss/
H A Dpcm_oss.c727 if (substream->oss.setup.periods > 1)
728 oss_periods = substream->oss.setup.periods;
748 runtime->oss.periods = oss_periods;
928 runtime->oss.periods, NULL);
973 runtime->oss.periods = params_periods(sparams);
985 oss_buffer_size = oss_period_size * runtime->oss.periods;
1096 /* in case of overrun, skip whole periods like OSS/Linux driver does */
2084 info.fragstotal = runtime->periods;
2087 info.bytes = runtime->oss.period_bytes * runtime->oss.periods;
2088 info.fragments = runtime->oss.periods;
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/emu10k1/
H A Dp16v.c12 * Use separate card based buffer for periods table.
330 //snd_printk("prepare:channel_number=%d, rate=%d, format=0x%x, channels=%d, buffer_size=%ld, period_size=%ld, periods=%u, frames_to_bytes=%d\n",channel, runtime->rate, runtime->format, runtime->channels, runtime->buffer_size, runtime->period_size, runtime->periods, frames_to_bytes(runtime, 1));
349 for(i = 0; i < runtime->periods; i++) {
355 snd_emu10k1_ptr20_write(emu, PLAYBACK_LIST_SIZE, channel, (runtime->periods - 1) << 19);
H A Demu10k1x.c116 #define PLAYBACK_LIST_SIZE 0x01 /* Size of list in bytes << 16. E.g. 8 periods -> 0x00380000 */
457 for(i = 0; i < runtime->periods; i++) {
463 snd_emu10k1x_ptr_write(emu, PLAYBACK_LIST_SIZE, voice, (runtime->periods - 1) << 19);
489 if(runtime->periods == 2)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/aoa/soundbus/i2sbus/
H A Di2sbus-pcm.c361 nperiods = pi->substream->runtime->periods;
645 if (++i >= runtime->periods) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/mixart/
H A Dmixart_core.c495 if (stream->buf_periods >= runtime->periods)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/ca0106/
H A Dca0106_main.c40 * Use separate card based DMA buffer for periods table list.
615 //snd_printk("prepare:channel_number=%d, rate=%d, format=0x%x, channels=%d, buffer_size=%ld, period_size=%ld, periods=%u, frames_to_bytes=%d\n",channel, runtime->rate, runtime->format, runtime->channels, runtime->buffer_size, runtime->period_size, runtime->periods, frames_to_bytes(runtime, 1));
665 for(i=0; i < runtime->periods; i++) {
671 snd_ca0106_ptr_write(emu, PLAYBACK_LIST_SIZE, channel, (runtime->periods - 1) << 19);
699 //snd_printk("prepare:channel_number=%d, rate=%d, format=0x%x, channels=%d, buffer_size=%ld, period_size=%ld, periods=%u, frames_to_bytes=%d\n",channel, runtime->rate, runtime->format, runtime->channels, runtime->buffer_size, runtime->period_size, runtime->periods, frames_to_bytes(runtime, 1));
1266 /* This stores the periods table. */
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/pcxhr/
H A Dpcxhr_core.c1114 if (stream->timer_buf_periods >= runtime->periods)
H A Dpcxhr.c700 snd_printdd("pcxhr_prepare : period_size(%lx) periods(%x) buffer_size(%lx)\n",
701 subs->runtime->period_size, subs->runtime->periods,
930 /* get the period fragment and the nb of periods in the buffer */
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/core/
H A Dpcm.c369 snd_iprintf(buffer, "OSS periods: %u\n", runtime->oss.periods);
H A Dpcm_lib.c206 if (runtime->periods > 1 && substream->pstr->xrun_debug) {
251 if (runtime->periods > 2 && substream->pstr->xrun_debug) {
1557 * Even if more than one periods have elapsed since the last call, you

Completed in 278 milliseconds

12