Home
last modified time | relevance | path

Searched refs:ncontrol (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/sound/core/
Dcontrol.c265 struct snd_kcontrol *snd_ctl_new1(const struct snd_kcontrol_new *ncontrol, in snd_ctl_new1() argument
273 if (snd_BUG_ON(!ncontrol || !ncontrol->info)) in snd_ctl_new1()
276 count = ncontrol->count; in snd_ctl_new1()
280 access = ncontrol->access; in snd_ctl_new1()
297 kctl->id.iface = ncontrol->iface; in snd_ctl_new1()
298 kctl->id.device = ncontrol->device; in snd_ctl_new1()
299 kctl->id.subdevice = ncontrol->subdevice; in snd_ctl_new1()
300 if (ncontrol->name) { in snd_ctl_new1()
301 strscpy(kctl->id.name, ncontrol->name, sizeof(kctl->id.name)); in snd_ctl_new1()
302 if (strcmp(ncontrol->name, kctl->id.name) != 0) in snd_ctl_new1()
[all …]
/linux-6.6.21/sound/usb/
Dmixer_scarlett.c537 const struct snd_kcontrol_new *ncontrol, in add_new_ctl() argument
565 kctl = snd_ctl_new1(ncontrol, elem); in add_new_ctl()
Dmixer_us16x08.c1043 const struct snd_kcontrol_new *ncontrol, in add_new_ctl() argument
1068 kctl = snd_ctl_new1(ncontrol, elem); in add_new_ctl()
Dmixer_scarlett_gen2.c1732 const struct snd_kcontrol_new *ncontrol, in scarlett2_add_new_ctl() argument
1754 kctl = snd_ctl_new1(ncontrol, elem); in scarlett2_add_new_ctl()