Lines Matching refs:knew
2733 struct snd_kcontrol_new *knew;
2735 snd_array_init(&spec->kctls, sizeof(*knew), 32);
2736 knew = snd_array_new(&spec->kctls);
2737 if (!knew)
2739 *knew = *ktemp;
2740 knew->name = kstrdup(name, GFP_KERNEL);
2741 if (!knew->name) {
2743 memset(knew, 0, sizeof(*knew));
2747 knew->subdevice = subdev;
2748 return knew;
2756 struct snd_kcontrol_new *knew = stac_control_new(spec, ktemp, name,
2758 if (!knew)
2760 knew->index = idx;
2761 knew->private_value = val;
2820 struct snd_kcontrol_new *knew;
2827 knew = stac_control_new(spec, &stac_input_src_temp,
2829 if (!knew)
2831 knew->count = spec->num_adcs;