/sound/pci/aw2/ |
H A D | aw2-saa7146.c | 158 unsigned long period_size, 183 dw_limit = snd_aw2_saa7146_get_limit(period_size); 216 unsigned long period_size, 241 dw_limit = snd_aw2_saa7146_get_limit(period_size); 155 snd_aw2_saa7146_pcm_init_playback(struct snd_aw2_saa7146 *chip, int stream_number, unsigned long dma_addr, unsigned long period_size, unsigned long buffer_size) argument 214 snd_aw2_saa7146_pcm_init_capture(struct snd_aw2_saa7146 *chip, int stream_number, unsigned long dma_addr, unsigned long period_size, unsigned long buffer_size) argument
|
H A D | aw2-alsa.c | 467 unsigned long period_size, buffer_size; local 471 period_size = snd_pcm_lib_period_bytes(substream); 476 runtime->dma_addr, period_size, 496 unsigned long period_size, buffer_size; local 500 period_size = snd_pcm_lib_period_bytes(substream); 505 runtime->dma_addr, period_size,
|
/sound/soc/atmel/ |
H A D | atmel-pcm.c | 77 size_t period_size; member in struct:atmel_runtime_data 138 prtd->period_ptr += prtd->period_size; 145 prtd->period_size / params->pdc_xfer_size); 152 prtd->period_ptr += prtd->period_size; 159 prtd->period_size / params->pdc_xfer_size); 187 prtd->period_size = params_period_bytes(params); 191 "(dma_bytes=%u, period_size=%u)\n", 194 prtd->period_size); 243 prtd->period_size / params->pdc_xfer_size); 245 prtd->period_ptr += prtd->period_size; [all...] |
/sound/soc/s6000/ |
H A D | s6000-pcm.c | 63 unsigned int period_size; local 70 period_size = snd_pcm_lib_period_bytes(substream); 71 dma_offset = prtd->period * period_size; 93 BUG_ON(period_size & 15); 95 src, dst, period_size); local
|
/sound/usb/usx2y/ |
H A D | usb_stream.h | 42 int period_size; member in struct:usb_stream
|
/sound/isa/sb/ |
H A D | emu8000_pcm.c | 58 unsigned int period_size; member in struct:snd_emu8k_pcm 214 if (rec->period_pos >= (int)rec->period_size) { 215 rec->period_pos %= rec->period_size; 624 rec->period_size = subs->runtime->period_size;
|
/sound/pci/ctxfi/ |
H A D | cttimer.c | 72 unsigned int period_size = runtime->period_size; local 79 if (dist >= period_size || 80 position / period_size != ti->position / period_size) { 86 interval = ((period_size - (position % period_size)) 108 jiffies + (runtime->period_size * HZ + 204 unsigned int period_size, rate; local 206 period_size [all...] |
/sound/soc/fsl/ |
H A D | fsl_dma.c | 95 * @buffer period_size: the size of a single period 110 size_t period_size; member in struct:fsl_dma_private 199 dma_private->dma_buf_next += dma_private->period_size; 573 size_t period_size = params_period_bytes(hw_params); local 586 dma_private->period_size = period_size; 590 (NUM_DMA_LINKS * period_size); 660 link->count = cpu_to_be32(period_size); 697 temp_addr += period_size;
|
/sound/mips/ |
H A D | au1x00.c | 86 unsigned int period_size; member in struct:audio_stream 136 stream->period_size = 0; 161 if (stream->period_size == period_bytes && 167 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...] |
/sound/pci/lx6464es/ |
H A D | lx6464es.c | 113 snd_pcm_uframes_t period_size = runtime->period_size; local 122 err = lx_set_granularity(chip, period_size); 125 period_size); 291 pos = lx_stream->frame_pos * substream->runtime->period_size; 434 const u32 period_size = substream->runtime->period_size; local 436 const u32 period_bytes = period_size * bytes_per_frame;
|
H A D | lx_core.c | 1169 const u32 period_size = substream->runtime->period_size; local 1170 const u32 period_bytes = period_size * bytes_per_frame;
|
/sound/ppc/ |
H A D | pmac.h | 69 int period_size; /* in bytes */ member in struct:pmac_stream
|
/sound/soc/davinci/ |
H A D | davinci-pcm.c | 150 unsigned int period_size; local 161 period_size = snd_pcm_lib_period_bytes(substream); 162 dma_offset = prtd->period * period_size; 167 "dma_ptr = %x period_size=%x\n", link, dma_pos, period_size); 170 count = period_size / data_type; 601 unsigned int period_size = snd_pcm_lib_period_bytes(substream); local 613 mod_ram = ram_count % period_size; 616 mod_ram += period_size; 619 mod_ram += period_size; [all...] |
/sound/pci/cs46xx/ |
H A D | dsp_spos_scb_lib.c | 1394 int period_size) 1399 switch (period_size) { 1422 snd_printdd ("period size (%d) not supported by HW\n", period_size); 1432 int period_size) 1437 switch (period_size) { 1460 snd_printdd ("period size (%d) not supported by HW\n", period_size); 1392 cs46xx_dsp_pcm_channel_set_period(struct snd_cs46xx * chip, struct dsp_pcm_channel_descriptor * pcm_channel, int period_size) argument 1431 cs46xx_dsp_pcm_ostream_set_period(struct snd_cs46xx * chip, int period_size) argument
|
H A D | cs46xx_lib.c | 912 int period_size = params_period_bytes(hw_params); local 934 if (cs46xx_dsp_pcm_channel_set_period (chip,cpcm->pcm_channel,period_size)) { 939 snd_printdd ("period_size (%d), periods (%d) buffer_size(%d)\n", 940 period_size, params_periods(hw_params), 1074 cpcm->pcm_rec.hw_buffer_size = runtime->period_size * CS46XX_FRAGS << cpcm->shift; 1153 chip->capt.pcm_rec.hw_buffer_size = runtime->period_size * CS46XX_FRAGS << 2;
|
/sound/pci/ |
H A D | sis7019.c | 88 u16 period_size; member in struct:voice 223 sis_update_sso(voice, voice->period_size); 230 if (voice->vperiod > voice->period_size) { 231 voice->vperiod -= voice->period_size; 232 if (voice->vperiod < voice->period_size) 235 sis_update_sso(voice, voice->period_size); 285 sis_update_sso(voice, voice->period_size); 453 unsigned int period_size, buffer_size; local 461 period_size = params_period_size(hw_params); 463 needed = (period_size ! 735 u16 buffer_size, period_size; local [all...] |
H A D | cmipci.c | 786 unsigned int period_size; local 806 period_size = runtime->period_size << rec->shift; 810 period_size = (period_size * runtime->channels) / 2; 821 snd_cmipci_write_w(cm, reg + 2, period_size - 1);
|
H A D | maestro3.c | 794 int period_size; member in struct:m3_dma 1235 s->period_size = frames_to_bytes(runtime, runtime->period_size); 1595 if (s->count >= (signed)s->period_size) { 1597 if (s->count < 2 * (signed)s->period_size) 1598 s->count -= (signed)s->period_size; 1600 s->count %= s->period_size;
|
/sound/core/ |
H A D | pcm_lib.c | 195 snd_pcm_uframes_t period_size; member in struct:hwptr_log_entry 227 entry->period_size = runtime->period_size; 249 if (entry->period_size == 0) 256 (unsigned long)entry->period_size, 327 runtime->period_size); 339 delta = runtime->hw_ptr_interrupt + runtime->period_size; 373 (unsigned int)runtime->period_size, 404 if (delta >= runtime->buffer_size + runtime->period_size) { 432 (((runtime->period_size * H [all...] |
/sound/pci/ice1712/ |
H A D | ice1712.c | 591 u32 period_size, buf_size, rate, tmp; local 593 period_size = (snd_pcm_lib_period_bytes(substream) >> 2) - 1; 612 snd_ice1712_write(ice, ICE1712_IREG_PBK_COUNT_LO, period_size & 0xff); 613 snd_ice1712_write(ice, ICE1712_IREG_PBK_COUNT_HI, period_size >> 8); 624 u32 period_size, buf_size, rate, tmp, chn; local 626 period_size = snd_pcm_lib_period_bytes(substream) - 1; 641 snd_ice1712_ds_write(ice, chn, ICE1712_DSC_COUNT0, period_size); 642 snd_ice1712_ds_write(ice, chn, ICE1712_DSC_ADDR1, runtime->dma_addr + (runtime->periods > 1 ? period_size + 1 : 0)); 643 snd_ice1712_ds_write(ice, chn, ICE1712_DSC_COUNT1, period_size); 659 u32 period_size, buf_siz local [all...] |
/sound/pci/nm256/ |
H A D | nm256.c | 200 int period_size; /* period size in bytes */ member in struct:nm256_stream 502 snd_nm256_writel(chip, reg, s->buf + s->cur_period * s->period_size); 643 s->period_size = frames_to_bytes(runtime, substream->runtime->period_size);
|
/sound/pci/trident/ |
H A D | trident_main.c | 740 unsigned int period_size) 742 unsigned int res = (rate * period_size) / 48000; 958 voice->spurious_threshold = snd_trident_spurious_threshold(runtime->rate, runtime->period_size); 993 evoice->ESO = (runtime->period_size * 2) + 4 - 1; /* in samples */ 1011 evoice->isync_mark = runtime->period_size; 1012 evoice->ESO = (runtime->period_size * 2) - 1; 1103 voice->spurious_threshold = snd_trident_spurious_threshold(runtime->rate, runtime->period_size); 1105 voice->isync_mark = runtime->period_size; 1110 voice->ESO = voice->isync_ESO = (runtime->period_size * 2) + 6 - 1; 1200 voice->spurious_threshold = snd_trident_spurious_threshold(runtime->rate, runtime->period_size); 739 snd_trident_spurious_threshold(unsigned int rate, unsigned int period_size) argument [all...] |
/sound/soc/codecs/ |
H A D | tlv320dac33.c | 1090 unsigned int period_size = substream->runtime->period_size; local 1105 if (period_size <= dac33->alarm_threshold) 1110 dac33->nsample = period_size * 1111 ((dac33->alarm_threshold / period_size) + 1112 (dac33->alarm_threshold % period_size ? 1114 else if (period_size > nsample_limit) 1117 dac33->nsample = period_size; 1125 dac33->uthr = UTHR_FROM_PERIOD_SIZE(period_size, rate,
|
/sound/sparc/ |
H A D | cs4231.c | 429 unsigned int period_size = snd_pcm_lib_period_bytes(substream); local 430 unsigned int offset = period_size * (*periods_sent); 432 BUG_ON(period_size >= (1 << 24)); 435 runtime->dma_addr + offset, period_size)) 915 BUG_ON(runtime->period_size > 0xffff + 1);
|
/sound/pci/rme9652/ |
H A D | rme9652.c | 378 snd_pcm_uframes_t period_size = rme9652->period_bytes / 4; local 383 return (status & RME9652_buffer_id) ? period_size : 0; 400 if (offset < period_size) { 408 offset += period_size * 2; 410 if (offset > period_size + rme9652->max_jitter) { 414 return period_size;
|