Searched refs:ncontrol (Results 1 – 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/sound/core/ |
D | control.c | 230 struct snd_kcontrol *snd_ctl_new1(const struct snd_kcontrol_new *ncontrol, in snd_ctl_new1() argument 238 if (snd_BUG_ON(!ncontrol || !ncontrol->info)) in snd_ctl_new1() 241 count = ncontrol->count; in snd_ctl_new1() 245 access = ncontrol->access; in snd_ctl_new1() 261 kctl->id.iface = ncontrol->iface; in snd_ctl_new1() 262 kctl->id.device = ncontrol->device; in snd_ctl_new1() 263 kctl->id.subdevice = ncontrol->subdevice; in snd_ctl_new1() 264 if (ncontrol->name) { in snd_ctl_new1() 265 strlcpy(kctl->id.name, ncontrol->name, sizeof(kctl->id.name)); in snd_ctl_new1() 266 if (strcmp(ncontrol->name, kctl->id.name) != 0) in snd_ctl_new1() [all …]
|
/kernel/linux/linux-5.10/sound/usb/ |
D | mixer_scarlett.c | 537 const struct snd_kcontrol_new *ncontrol, in add_new_ctl() argument 565 kctl = snd_ctl_new1(ncontrol, elem); in add_new_ctl()
|
D | mixer_us16x08.c | 1043 const struct snd_kcontrol_new *ncontrol, in add_new_ctl() argument 1068 kctl = snd_ctl_new1(ncontrol, elem); in add_new_ctl()
|
D | mixer_scarlett_gen2.c | 940 const struct snd_kcontrol_new *ncontrol, in scarlett2_add_new_ctl() argument 962 kctl = snd_ctl_new1(ncontrol, elem); in scarlett2_add_new_ctl()
|