Searched refs:knew (Results 1 - 15 of 15) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/i2c/other/
H A Dak4xxx-adda.c633 struct snd_kcontrol_new knew; local
640 memset(&knew, 0, sizeof(knew));
641 knew.iface = SNDRV_CTL_ELEM_IFACE_MIXER;
642 knew.count = 1;
643 knew.access = SNDRV_CTL_ELEM_ACCESS_READWRITE;
644 knew.name = ak->dac_info[mixer_ch].switch_name;
645 knew.info = ak4xxx_switch_info;
646 knew.get = ak4xxx_switch_get;
647 knew
744 struct snd_kcontrol_new knew; local
834 struct snd_kcontrol_new knew; local
[all...]
H A Dpt2258.c185 struct snd_kcontrol_new knew; local
194 memset(&knew, 0, sizeof(knew));
195 knew.name = names[i];
196 knew.iface = SNDRV_CTL_ELEM_IFACE_MIXER;
197 knew.count = 1;
198 knew.access = SNDRV_CTL_ELEM_ACCESS_READWRITE |
200 knew.private_value = 2 * i;
201 knew.info = pt2258_stereo_volume_info;
202 knew
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/core/
H A Dvmaster.c363 struct snd_kcontrol_new knew; local
365 memset(&knew, 0, sizeof(knew));
366 knew.iface = SNDRV_CTL_ELEM_IFACE_MIXER;
367 knew.name = name;
368 knew.info = master_info;
375 kctl = snd_ctl_new1(&knew, master);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/pci/hda/
H A Dhda_generic.c713 struct snd_kcontrol_new knew; local
721 knew = (struct snd_kcontrol_new)HDA_CODEC_MUTE(name, node->nid, index, HDA_INPUT);
726 snd_ctl_new1(&knew, codec));
732 knew = (struct snd_kcontrol_new)HDA_CODEC_MUTE(name, node->nid, 0, HDA_OUTPUT);
737 snd_ctl_new1(&knew, codec));
749 knew = (struct snd_kcontrol_new)HDA_CODEC_VOLUME(name, node->nid, index, HDA_INPUT);
752 snd_ctl_new1(&knew, codec));
758 knew = (struct snd_kcontrol_new)HDA_CODEC_VOLUME(name, node->nid, 0, HDA_OUTPUT);
761 snd_ctl_new1(&knew, codec));
870 struct snd_kcontrol_new knew; local
[all...]
H A Dpatch_via.c449 struct snd_kcontrol_new *knew; local
451 snd_array_init(&spec->kctls, sizeof(*knew), 32);
452 knew = snd_array_new(&spec->kctls);
453 if (!knew)
455 *knew = via_control_templates[type];
456 knew->name = kstrdup(name, GFP_KERNEL);
457 if (!knew->name)
460 knew->subdevice = HDA_SUBDEV_AMP_FLAG;
461 knew->private_value = val;
468 struct snd_kcontrol_new *knew; local
1230 struct snd_kcontrol_new *knew; local
1443 struct snd_kcontrol_new *knew; local
1893 struct snd_kcontrol_new *knew; local
[all...]
H A Dpatch_ca0110.c144 struct snd_kcontrol_new knew = local
147 return snd_hda_ctl_add(codec, nid, snd_ctl_new1(&knew, codec));
155 struct snd_kcontrol_new knew = local
158 return snd_hda_ctl_add(codec, nid, snd_ctl_new1(&knew, codec));
H A Dpatch_cirrus.c499 struct snd_kcontrol_new knew = local
501 knew.private_value = pval;
503 *kctlp = snd_ctl_new1(&knew, codec);
513 struct snd_kcontrol_new knew = local
515 knew.private_value = pval;
517 *kctlp = snd_ctl_new1(&knew, codec);
H A Dpatch_sigmatel.c2733 struct snd_kcontrol_new *knew; local
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
2756 struct snd_kcontrol_new *knew = stac_control_new(spec, ktemp, name, local
2820 struct snd_kcontrol_new *knew; local
[all...]
H A Dpatch_analog.c212 struct snd_kcontrol_new *knew; local
213 knew = spec->analog_beep ? ad_beep2_mixer : ad_beep_mixer;
214 for ( ; knew->name; knew++) {
216 kctl = snd_ctl_new1(knew, codec);
2676 struct snd_kcontrol_new *knew; local
2678 snd_array_init(&spec->kctls, sizeof(*knew), 32);
2679 knew = snd_array_new(&spec->kctls);
2680 if (!knew)
2682 *knew
[all...]
H A Dpatch_conexant.c604 struct snd_kcontrol_new *knew; local
605 for (knew = cxt_beep_mixer; knew->name; knew++) {
607 kctl = snd_ctl_new1(knew, codec);
H A Dhda_local.h345 struct snd_kcontrol_new *knew);
H A Dhda_codec.c3795 * @knew: the array of struct snd_kcontrol_new
3802 int snd_hda_add_new_ctls(struct hda_codec *codec, struct snd_kcontrol_new *knew) argument
3806 for (; knew->name; knew++) {
3808 if (knew->iface == -1) /* skip this codec private value */
3810 kctl = snd_ctl_new1(knew, codec);
3817 kctl = snd_ctl_new1(knew, codec);
H A Dpatch_realtek.c2652 struct snd_kcontrol_new *knew; local
2689 struct snd_kcontrol_new *knew; local
2690 for (knew = alc_beep_mixer; knew->name; knew++) {
2692 kctl = snd_ctl_new1(knew, codec);
2738 for (knew = spec->cap_mixer; knew->name; knew++) {
2739 if (kname && strcmp(knew
4719 struct snd_kcontrol_new *knew; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/i2c/
H A Dtea6330t.c285 struct snd_kcontrol_new *knew; local
342 knew = &snd_tea6330t_controls[idx];
343 if (tea->treble == 0 && !strcmp(knew->name, "Tone Control - Treble"))
345 if ((err = snd_ctl_add(card, snd_ctl_new1(knew, tea))) < 0)
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/pci/emu10k1/
H A Demufx.c777 struct snd_kcontrol_new knew; local
805 memset(&knew, 0, sizeof(knew));
806 knew.iface = gctl->id.iface;
807 knew.name = gctl->id.name;
808 knew.index = gctl->id.index;
809 knew.device = gctl->id.device;
810 knew.subdevice = gctl->id.subdevice;
811 knew.info = snd_emu10k1_gpr_ctl_info;
812 knew
[all...]

Completed in 372 milliseconds