Home
last modified time | relevance | path

Searched refs:fragsize (Results 1 – 12 of 12) sorted by relevance

/sound/soc/blackfin/
Dbf6xx-sport.c124 size_t fragsize, unsigned int cfg, in setup_desc() argument
132 desc[i].start_addr = (unsigned long)buf + i * fragsize; in setup_desc()
145 int fragcount, size_t fragsize) in sport_config_tx_dma() argument
151 count = fragsize / sport->wdsize; in sport_config_tx_dma()
164 sport->tx_fragsize = fragsize; in sport_config_tx_dma()
168 setup_desc(sport->tx_desc, buf, fragcount, fragsize, in sport_config_tx_dma()
175 int fragcount, size_t fragsize) in sport_config_rx_dma() argument
181 count = fragsize / sport->wdsize; in sport_config_rx_dma()
194 sport->rx_fragsize = fragsize; in sport_config_rx_dma()
199 setup_desc(sport->rx_desc, buf, fragcount, fragsize, in sport_config_rx_dma()
Dbf6xx-sport.h74 int fragcount, size_t fragsize);
76 int fragcount, size_t fragsize);
Dbf5xx-sport.c128 size_t fragsize, unsigned int cfg, in setup_desc() argument
136 desc[i].start_addr = (unsigned long)buf + i*fragsize; in setup_desc()
394 int fragcount, size_t fragsize) in sport_config_rx_dma() argument
402 buf, fragcount, fragsize); in sport_config_rx_dma()
404 x_count = fragsize / sport->wdsize; in sport_config_rx_dma()
442 sport->rx_fragsize = fragsize; in sport_config_rx_dma()
451 setup_desc(sport->dma_rx_desc, buf, fragcount, fragsize, in sport_config_rx_dma()
459 int fragcount, size_t fragsize) in sport_config_tx_dma() argument
467 __func__, buf, fragcount, fragsize); in sport_config_tx_dma()
469 x_count = fragsize/sport->wdsize; in sport_config_tx_dma()
[all …]
/sound/oss/
Dswarm_cs4297a.c258 unsigned fragsize; // 2**fragshift.. member
663 dma->fragsize = dma->sbufsz >> 1; in init_serdma()
890 (signed) (s->dma_adc.sbufsz - 2 * s->dma_adc.fragsize)) in start_adc()
1013 if (d->count >= (signed) d->fragsize) in cs4297a_update_ptr()
1103 if (d->count >= d->fragsize) { in cs4297a_update_ptr()
1131 (signed) d->fragsize in cs4297a_update_ptr()
1137 d->fragsize, in cs4297a_update_ptr()
1937 (signed) s->dma_dac.fragsize) { in cs4297a_poll()
1950 if (s->dma_adc.count >= (signed) s->dma_adc.fragsize) in cs4297a_poll()
2185 abinfo.fragsize = s->dma_dac.fragsize; in cs4297a_ioctl()
[all …]
Dmsnd_pinnacle.c234 abinfo.fragsize = dsp_get_frag_size(); in dsp_ioctl()
236 abinfo.fragstotal = dev.DAPF.n / abinfo.fragsize; in dsp_ioctl()
237 abinfo.fragments = abinfo.bytes / abinfo.fragsize; in dsp_ioctl()
245 abinfo.fragsize = dsp_get_frag_size(); in dsp_ioctl()
247 abinfo.fragstotal = dev.DARF.n / abinfo.fragsize; in dsp_ioctl()
248 abinfo.fragments = abinfo.bytes / abinfo.fragsize; in dsp_ioctl()
Daudio.c807 info.fragsize = dmap->fragment_size; in dma_ioctl()
/sound/pci/
Dintel8x0m.c176 unsigned int fragsize; member
402 if (ichdev->size == ichdev->fragsize) { in snd_intel8x0m_setup_periods()
404 ichdev->fragsize1 = ichdev->fragsize >> 1; in snd_intel8x0m_setup_periods()
416 ichdev->fragsize1 = ichdev->fragsize; in snd_intel8x0m_setup_periods()
418 bdbar[idx + 0] = cpu_to_le32(ichdev->physbuf + (((idx >> 1) * ichdev->fragsize) % ichdev->size)); in snd_intel8x0m_setup_periods()
420 ichdev->fragsize >> chip->pcm_pos_shift); in snd_intel8x0m_setup_periods()
426 ichdev->frags = ichdev->size / ichdev->fragsize; in snd_intel8x0m_setup_periods()
436 ichdev->lvi_frag, ichdev->frags, ichdev->fragsize, in snd_intel8x0m_setup_periods()
607 ichdev->fragsize = snd_pcm_lib_period_bytes(substream); in snd_intel8x0m_pcm_prepare()
Dvia82xx.c335 unsigned int fragsize; member
427 unsigned int periods, unsigned int fragsize) in build_via_table() argument
451 rest = fragsize; in build_via_table()
489 dev->bufsize = periods * fragsize; in build_via_table()
491 dev->fragsize = fragsize; in build_via_table()
658 viadev->hwptr_done += viadev->fragsize; in snd_via686_interrupt()
707 viadev->hwptr_done += viadev->fragsize; in snd_via8233_interrupt()
810 if ((unsigned int)delta > viadev->fragsize) in calc_linear_pos()
913 res += viadev->fragsize; in snd_via8233_pcm_pointer()
Dintel8x0.c359 unsigned int fragsize; member
684 if (ichdev->size == ichdev->fragsize) { in snd_intel8x0_setup_periods()
686 ichdev->fragsize1 = ichdev->fragsize >> 1; in snd_intel8x0_setup_periods()
698 ichdev->fragsize1 = ichdev->fragsize; in snd_intel8x0_setup_periods()
701 (((idx >> 1) * ichdev->fragsize) % in snd_intel8x0_setup_periods()
704 ichdev->fragsize >> ichdev->pos_shift); in snd_intel8x0_setup_periods()
710 ichdev->frags = ichdev->size / ichdev->fragsize; in snd_intel8x0_setup_periods()
720 ichdev->lvi_frag, ichdev->frags, ichdev->fragsize, in snd_intel8x0_setup_periods()
1054 ichdev->fragsize = snd_pcm_lib_period_bytes(substream); in snd_intel8x0_pcm_prepare()
2777 ichdev->size = ichdev->fragsize = INTEL8X0_TESTBUF_SIZE; in intel8x0_measure_ac97_clock()
Dvia82xx_modem.c280 unsigned int periods, unsigned int fragsize) in build_via_table() argument
304 rest = fragsize; in build_via_table()
344 dev->bufsize = periods * fragsize; in build_via_table()
/sound/oss/dmasound/
Ddmasound_core.c1134 info.fragsize = write_sq.user_frag_size; in sq_ioctl()
1135 info.bytes = info.fragments * info.fragsize; in sq_ioctl()
/sound/core/oss/
Dpcm_oss.c2250 info.fragsize = runtime->oss.period_bytes; in snd_pcm_oss_get_space()
2284 info.bytes, info.fragments, info.fragstotal, info.fragsize); in snd_pcm_oss_get_space()