Searched refs:fragshift (Results 1 – 5 of 5) sorted by relevance
112 unsigned fragshift; member660 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 …]
230 unsigned fragshift; // Log base 2 of fragment size. member2175 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 …]
594 int fragshift, in li_setup_dma() argument604 bufshift, fragshift, channels, sampsize); in li_setup_dma()639 tmask = 13 - fragshift; /* See Lithium DMA Notes above. */ in li_setup_dma()
47 unsigned int fragshift; member
730 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()