Lines Matching refs:subdivide
1976 static int snd_pcm_oss_set_subdivide1(struct snd_pcm_substream *substream, int subdivide) in snd_pcm_oss_set_subdivide1() argument
1981 if (subdivide == 0) { in snd_pcm_oss_set_subdivide1()
1982 subdivide = runtime->oss.subdivision; in snd_pcm_oss_set_subdivide1()
1983 if (subdivide == 0) in snd_pcm_oss_set_subdivide1()
1984 subdivide = 1; in snd_pcm_oss_set_subdivide1()
1985 return subdivide; in snd_pcm_oss_set_subdivide1()
1989 if (subdivide != 1 && subdivide != 2 && subdivide != 4 && in snd_pcm_oss_set_subdivide1()
1990 subdivide != 8 && subdivide != 16) in snd_pcm_oss_set_subdivide1()
1992 runtime->oss.subdivision = subdivide; in snd_pcm_oss_set_subdivide1()
1994 return subdivide; in snd_pcm_oss_set_subdivide1()
1997 static int snd_pcm_oss_set_subdivide(struct snd_pcm_oss_file *pcm_oss_file, int subdivide) in snd_pcm_oss_set_subdivide() argument
2011 err = snd_pcm_oss_set_subdivide1(substream, subdivide); in snd_pcm_oss_set_subdivide()