Searched refs:period_size (Results 1 - 25 of 51) sorted by relevance

123

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavdevice/
H A Dalsa-audio.h49 int period_size; ///< bytes per sample * channels member in struct:__anon603
H A Dalsa-audio-common.c56 snd_pcm_uframes_t buffer_size, period_size; local
131 snd_pcm_hw_params_get_period_size_min(hw_params, &period_size, NULL);
132 res = snd_pcm_hw_params_set_period_size_near(h, hw_params, &period_size, NULL);
138 s->period_size = period_size;
H A Dalsa-audio-dec.c135 if (av_new_packet(pkt, s->period_size) < 0) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/sound/
H A Dpcm_oss.h35 unsigned int period_size; member in struct:snd_pcm_oss_setup
H A Dymfpci.h278 u32 period_size; /* cached from runtime->period_size */ member in struct:snd_ymfpci_pcm
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/soc/at91/
H A Dat91-pcm.c56 size_t period_size; member in struct:at91_runtime_data
84 prtd->period_ptr += prtd->period_size;
91 prtd->period_size / params->pdc_xfer_size);
99 prtd->period_ptr += prtd->period_size;
105 prtd->period_size / params->pdc_xfer_size);
129 prtd->period_size = params_period_bytes(params);
131 DBG("hw_params: DMA for %s initialized (dma_bytes=%d, period_size=%d)\n",
132 prtd->params->name, runtime->dma_bytes, prtd->period_size);
174 prtd->period_size / params->pdc_xfer_size);
176 prtd->period_ptr += prtd->period_size;
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/mips/
H A Dau1x00.c88 unsigned int period_size; member in struct:audio_stream
138 stream->period_size = 0;
163 if (stream->period_size == period_bytes &&
169 stream->period_size = period_bytes;
208 set_dma_count0(stream->dma, stream->period_size >> 1);
210 set_dma_count1(stream->dma, stream->period_size >> 1);
214 set_dma_count1(stream->dma, stream->period_size >> 1);
216 set_dma_count0(stream->dma, stream->period_size >> 1);
234 set_dma_count0(stream->dma, stream->period_size >> 1);
241 set_dma_count1(stream->dma, stream->period_size >>
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/core/
H A Dpcm_timer.c59 fsize = runtime->period_size;
70 snd_printk(KERN_ERR "pcm timer resolution out of range (rate = %u, period_size = %lu)\n", runtime->rate, runtime->period_size);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/video/cx88/
H A Dcx88-alsa.c73 unsigned int period_size; member in struct:cx88_audio_dev
255 if (chip->read_count >= chip->period_size) {
410 chip->period_size = params_period_bytes(hw_params);
412 chip->dma_size = chip->period_size * params_periods(hw_params);
423 buf->vb.width = chip->period_size;
444 buf->bpl = chip->period_size;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/video/saa7134/
H A Dsaa7134-alsa.c486 unsigned int period_size, periods; local
489 period_size = params_period_bytes(hw_params);
492 snd_assert(period_size >= 0x100 && period_size <= 0x10000,
495 snd_assert(period_size * periods <= 1024 * 1024, return -EINVAL);
500 dev->dmasound.blksize == period_size)
511 dev->dmasound.blksize = period_size;
512 dev->dmasound.bufsize = period_size * periods;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/cs46xx/
H A Dcs46xx_lib.h199 int period_size);
200 int cs46xx_dsp_pcm_ostream_set_period (struct snd_cs46xx * chip, int period_size);
H A Ddsp_spos_scb_lib.c1272 int period_size)
1277 switch (period_size) {
1300 snd_printdd ("period size (%d) not supported by HW\n", period_size);
1310 int period_size)
1315 switch (period_size) {
1338 snd_printdd ("period size (%d) not supported by HW\n", period_size);
1270 cs46xx_dsp_pcm_channel_set_period(struct snd_cs46xx * chip, struct dsp_pcm_channel_descriptor * pcm_channel, int period_size) argument
1309 cs46xx_dsp_pcm_ostream_set_period(struct snd_cs46xx * chip, int period_size) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/isa/sb/
H A Demu8000_pcm.c57 unsigned int period_size; member in struct:snd_emu8k_pcm
213 if (rec->period_pos >= (int)rec->period_size) {
214 rec->period_pos %= rec->period_size;
620 rec->period_size = subs->runtime->period_size;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/ppc/
H A Dpmac.h69 int period_size; /* in bytes */ member in struct:pmac_stream
H A Dpmac.c208 rec->period_size = snd_pcm_lib_period_bytes(subs);
209 rec->nperiods = rec->dma_size / rec->period_size;
242 st_le16(&cp->req_count, rec->period_size);
245 offset += rec->period_size;
321 count = rec->period_size - count;
323 count += rec->cur_period * rec->period_size;
394 st_le16(&cp->req_count, rec->period_size);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/trident/
H A Dtrident_main.c687 unsigned int period_size)
689 unsigned int res = (rate * period_size) / 48000;
902 voice->spurious_threshold = snd_trident_spurious_threshold(runtime->rate, runtime->period_size);
932 evoice->ESO = (runtime->period_size * 2) + 4 - 1; /* in samples */
945 evoice->isync_mark = runtime->period_size;
946 evoice->ESO = (runtime->period_size * 2) - 1;
1037 voice->spurious_threshold = snd_trident_spurious_threshold(runtime->rate, runtime->period_size);
1039 voice->isync_mark = runtime->period_size;
1044 voice->ESO = voice->isync_ESO = (runtime->period_size * 2) + 6 - 1;
1134 voice->spurious_threshold = snd_trident_spurious_threshold(runtime->rate, runtime->period_size);
686 snd_trident_spurious_threshold(unsigned int rate, unsigned int period_size) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/soc/bcm947xx/
H A Dbcm947xx-pcm.c315 size_t period_size = params_period_size(params); local
323 DBG("%s: period_size 0x%x period_bytes 0x%x\n", __FUNCTION__, period_size, period_bytes);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pcmcia/pdaudiocf/
H A Dpdaudiocf_pcm.c230 chip->pcm_period = runtime->period_size;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/usb/usx2y/
H A Dusbusx2yaudio.c110 if (subs->transfer_done >= runtime->period_size) {
111 subs->transfer_done -= runtime->period_size;
190 if (subs->transfer_done >= runtime->period_size) {
191 subs->transfer_done -= runtime->period_size;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/core/oss/
H A Dpcm_oss.c684 if (substream->oss.setup.period_size > 16)
685 oss_period_size = substream->oss.setup.period_size;
953 1 : runtime->period_size;
961 frames = runtime->period_size + 16;
994 pdprintf("slave: period_size = %i, buffer_size = %i\n",
1098 frames = (*delay - runtime->buffer_size) + runtime->period_size - 1;
1099 frames /= runtime->period_size;
1100 frames *= runtime->period_size;
1576 size = runtime->control->appl_ptr % runtime->period_size;
1578 size = runtime->period_size
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/ice1712/
H A Dice1712.c587 u32 period_size, buf_size, rate, tmp; local
589 period_size = (snd_pcm_lib_period_bytes(substream) >> 2) - 1;
608 snd_ice1712_write(ice, ICE1712_IREG_PBK_COUNT_LO, period_size & 0xff);
609 snd_ice1712_write(ice, ICE1712_IREG_PBK_COUNT_HI, period_size >> 8);
620 u32 period_size, buf_size, rate, tmp, chn; local
622 period_size = snd_pcm_lib_period_bytes(substream) - 1;
637 snd_ice1712_ds_write(ice, chn, ICE1712_DSC_COUNT0, period_size);
638 snd_ice1712_ds_write(ice, chn, ICE1712_DSC_ADDR1, runtime->dma_addr + (runtime->periods > 1 ? period_size + 1 : 0));
639 snd_ice1712_ds_write(ice, chn, ICE1712_DSC_COUNT1, period_size);
655 u32 period_size, buf_siz local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/ymfpci/
H A Dymfpci_main.c329 if (ypcm->period_pos >= ypcm->period_size) {
331 ypcm->period_pos %= ypcm->period_size;
376 if (ypcm->period_pos >= ypcm->period_size) {
377 ypcm->period_pos %= ypcm->period_size;
672 ypcm->period_size = runtime->period_size;
706 ypcm->period_size = runtime->period_size;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/nm256/
H A Dnm256.c201 int period_size; /* period size in bytes */ member in struct:nm256_stream
503 snd_nm256_writel(chip, reg, s->buf + s->cur_period * s->period_size);
641 s->period_size = frames_to_bytes(runtime, substream->runtime->period_size);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/drivers/vx/
H A Dvx_pcm.c769 if (pipe->transferred >= (int)runtime->period_size) {
770 pipe->transferred %= runtime->period_size;
921 pipe->period_bytes = frames_to_bytes(runtime, runtime->period_size);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/riptide/
H A Driptide.c1152 runtime->period_size);
1157 runtime->period_size);
1397 if (data->size && runtime->period_size) {
1403 rptr.retlongs[1]) % runtime->period_size);
1414 data->size, runtime->period_size);
1524 period = frames_to_bytes(runtime, runtime->period_size);

Completed in 193 milliseconds

123