Lines Matching refs:subdivide
1905 static int snd_pcm_oss_set_subdivide1(struct snd_pcm_substream *substream, int subdivide) in snd_pcm_oss_set_subdivide1() argument
1910 if (subdivide == 0) { in snd_pcm_oss_set_subdivide1()
1911 subdivide = runtime->oss.subdivision; in snd_pcm_oss_set_subdivide1()
1912 if (subdivide == 0) in snd_pcm_oss_set_subdivide1()
1913 subdivide = 1; in snd_pcm_oss_set_subdivide1()
1914 return subdivide; in snd_pcm_oss_set_subdivide1()
1918 if (subdivide != 1 && subdivide != 2 && subdivide != 4 && in snd_pcm_oss_set_subdivide1()
1919 subdivide != 8 && subdivide != 16) in snd_pcm_oss_set_subdivide1()
1921 runtime->oss.subdivision = subdivide; in snd_pcm_oss_set_subdivide1()
1923 return subdivide; in snd_pcm_oss_set_subdivide1()
1926 static int snd_pcm_oss_set_subdivide(struct snd_pcm_oss_file *pcm_oss_file, int subdivide) in snd_pcm_oss_set_subdivide() argument
1940 err = snd_pcm_oss_set_subdivide1(substream, subdivide); in snd_pcm_oss_set_subdivide()