Searched refs:ncontrol (Results 1 – 3 of 3) sorted by relevance
247 struct snd_kcontrol *snd_ctl_new1(const struct snd_kcontrol_new *ncontrol, in snd_ctl_new1() argument255 if (snd_BUG_ON(!ncontrol || !ncontrol->info)) in snd_ctl_new1()258 count = ncontrol->count; in snd_ctl_new1()262 access = ncontrol->access; in snd_ctl_new1()277 kctl->id.iface = ncontrol->iface; in snd_ctl_new1()278 kctl->id.device = ncontrol->device; in snd_ctl_new1()279 kctl->id.subdevice = ncontrol->subdevice; in snd_ctl_new1()280 if (ncontrol->name) { in snd_ctl_new1()281 strlcpy(kctl->id.name, ncontrol->name, sizeof(kctl->id.name)); in snd_ctl_new1()282 if (strcmp(ncontrol->name, kctl->id.name) != 0) in snd_ctl_new1()[all …]
537 const struct snd_kcontrol_new *ncontrol, in add_new_ctl() argument565 kctl = snd_ctl_new1(ncontrol, elem); in add_new_ctl()
1053 const struct snd_kcontrol_new *ncontrol, in add_new_ctl() argument1078 kctl = snd_ctl_new1(ncontrol, elem); in add_new_ctl()