Home
last modified time | relevance | path

Searched refs:cunit (Results 1 – 2 of 2) sorted by relevance

/trueos/sys/dev/sound/pcm/
HDdsp.c2341 int i, unit, udcmask, cunit, devtype, devhw, devcmax, tumax; in dsp_clone() local
2350 cunit = -1; in dsp_clone()
2372 dsp_cdevs[i].use_sep, &unit, &cunit) != 0) { in dsp_clone()
2374 cunit = -1; in dsp_clone()
2399 if (cunit > devcmax) { in dsp_clone()
2403 udcmask |= snd_c2unit(cunit); in dsp_clone()
2411 udcmask &= ~snd_c2unit(cunit); in dsp_clone()
2429 if (cunit > tumax) in dsp_clone()
2430 snd_clone_setmaxunit(d->clones, cunit); in dsp_clone()
2441 cunit < snd_maxautovchans) { in dsp_clone()
[all …]
/trueos/sys/dev/sound/
HDclone.c615 int cunit, allocunit; in snd_clone_alloc() local
638 cunit = 0; in snd_clone_alloc()
649 if (cunit == 0) in snd_clone_alloc()
662 cunit++; in snd_clone_alloc()