Lines Matching defs:nctrl
395 int nctrl = 0;
400 auclnt_walk_controls(d, oss_cnt_controls, &nctrl);
401 nctrl++; /* Needs space for the device root node */
402 nctrl++; /* Needs space for the device ext marker */
403 nctrl++; /* Needs space for the play group */
404 nctrl++; /* Needs space for the record group */
405 nctrl++; /* Needs space for the monitor group */
406 nctrl++; /* Needs space for the tone group */
407 nctrl++; /* Needs space for the 3D group */
408 nctrl++; /* Needs space for the misc group */
411 odev->d_nalloc = nctrl;
412 odev->d_ctrls = kmem_zalloc(sizeof (audio_ctrl_t *) * nctrl, KM_SLEEP);
413 odev->d_exts = kmem_zalloc(sizeof (oss_mixext) * nctrl, KM_SLEEP);
455 for (nctrl = 0; nctrl < odev->d_nctrl; nctrl++) {
458 ext = &odev->d_exts[nctrl];