Home
last modified time | relevance | path

Searched refs:fragshift (Results 1 – 5 of 5) sorted by relevance

/linux-2.6.39/sound/oss/
Dau1550_ac97.c112 unsigned fragshift; member
660 db->fragshift = ld2(user_bytes_per_sec/1000); in prog_dmabuf()
662 db->fragshift = db->ossfragshift; in prog_dmabuf()
664 db->fragshift = ld2(user_bytes_per_sec / 100 / in prog_dmabuf()
666 if (db->fragshift < 3) in prog_dmabuf()
667 db->fragshift = 3; in prog_dmabuf()
670 db->fragsize = 1 << db->fragshift; in prog_dmabuf()
674 while (db->numfrag < 4 && db->fragshift > 3) { in prog_dmabuf()
675 db->fragshift--; in prog_dmabuf()
676 db->fragsize = 1 << db->fragshift; in prog_dmabuf()
[all …]
Dswarm_cs4297a.c230 unsigned fragshift; // Log base 2 of fragment size. member
2175 abinfo.fragments = abinfo.bytes >> s->dma_dac.fragshift; in cs4297a_ioctl()
2196 abinfo.bytes >> (s->dma_adc.fragshift - 1); in cs4297a_ioctl()
2202 abinfo.bytes >> s->dma_adc.fragshift; in cs4297a_ioctl()
2235 (cinfo.bytes >> s->dma_adc.fragshift) - in cs4297a_ioctl()
2238 cinfo.bytes >> s->dma_adc.fragshift; in cs4297a_ioctl()
2243 2 >> (s->dma_adc.fragshift - 1); in cs4297a_ioctl()
2247 fragshift; in cs4297a_ioctl()
2268 (cinfo.bytes >> s->dma_dac.fragshift) - in cs4297a_ioctl()
2271 cinfo.bytes >> s->dma_dac.fragshift; in cs4297a_ioctl()
[all …]
Dvwsnd.c594 int fragshift, in li_setup_dma() argument
604 bufshift, fragshift, channels, sampsize); in li_setup_dma()
639 tmask = 13 - fragshift; /* See Lithium DMA Notes above. */ in li_setup_dma()
/linux-2.6.39/include/sound/
Dpcm_oss.h47 unsigned int fragshift; member
/linux-2.6.39/sound/core/oss/
Dpcm_oss.c730 else if (runtime->oss.fragshift) { in snd_pcm_oss_period_size()
731 oss_period_size = 1 << runtime->oss.fragshift; in snd_pcm_oss_period_size()
1867 if (runtime->oss.subdivision || runtime->oss.fragshift) in snd_pcm_oss_set_subdivide1()
1898 if (runtime->oss.subdivision || runtime->oss.fragshift) in snd_pcm_oss_set_fragment1()
1900 runtime->oss.fragshift = val & 0xffff; in snd_pcm_oss_set_fragment1()
1902 if (runtime->oss.fragshift < 4) /* < 16 */ in snd_pcm_oss_set_fragment1()
1903 runtime->oss.fragshift = 4; in snd_pcm_oss_set_fragment1()
2292 runtime->oss.fragshift = 0; in snd_pcm_oss_init_substream()