Searched refs:kctl (Results 1 - 25 of 40) sorted by relevance

12

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/core/
H A Dcontrol.c188 struct snd_kcontrol *kctl; local
193 kctl = kzalloc(sizeof(*kctl) + sizeof(struct snd_kcontrol_volatile) * control->count, GFP_KERNEL);
194 if (kctl == NULL) {
198 *kctl = *control;
199 for (idx = 0; idx < kctl->count; idx++)
200 kctl->vd[idx].access = access;
201 return kctl;
218 struct snd_kcontrol kctl; local
223 memset(&kctl,
271 struct snd_kcontrol *kctl; local
396 struct snd_kcontrol *kctl; local
426 struct snd_kcontrol *kctl; local
459 struct snd_kcontrol *kctl; local
490 struct snd_kcontrol *kctl; local
517 struct snd_kcontrol *kctl; local
572 struct snd_kcontrol *kctl; local
636 struct snd_kcontrol *kctl; local
691 struct snd_kcontrol *kctl; local
749 struct snd_kcontrol *kctl; local
818 struct snd_kcontrol *kctl; local
847 struct snd_kcontrol *kctl; local
961 struct snd_kcontrol kctl, *_kctl; local
1111 struct snd_kcontrol *kctl; local
[all...]
H A Dcontrol_compat.c175 struct snd_kcontrol *kctl; local
180 kctl = snd_ctl_find_id(card, id);
181 if (! kctl) {
191 err = kctl->info(kctl, info);
H A Dpcm.c781 struct snd_ctl_file *kctl; local
795 list_for_each_entry(kctl, &card->ctl_files, list) {
796 if (kctl->pid == current->pid) {
797 prefer_subdevice = kctl->prefer_pcm_subdevice;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/usb/
H A Dusbmixer.c466 static int add_control_to_empty(struct mixer_build *state, struct snd_kcontrol *kctl) argument
468 struct usb_mixer_elem_info *cval = kctl->private_data;
471 while (snd_ctl_find_id(state->chip->card, &kctl->id))
472 kctl->id.index++;
473 if ((err = snd_ctl_add(state->chip->card, kctl)) < 0) {
477 cval->elem_id = &kctl->id;
656 static void usb_mixer_elem_free(struct snd_kcontrol *kctl) argument
658 kfree(kctl->private_data);
659 kctl->private_data = NULL;
877 struct snd_kcontrol *kctl; local
1063 struct snd_kcontrol *kctl; local
1280 struct snd_kcontrol *kctl; local
1452 usb_mixer_selector_elem_free(struct snd_kcontrol *kctl) argument
1480 struct snd_kcontrol *kctl; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/sound/
H A Dcontrol.h135 static inline unsigned int snd_ctl_get_ioffnum(struct snd_kcontrol *kctl, struct snd_ctl_elem_id *id) argument
137 return id->numid - kctl->id.numid;
140 static inline unsigned int snd_ctl_get_ioffidx(struct snd_kcontrol *kctl, struct snd_ctl_elem_id *id) argument
142 return id->index - kctl->id.index;
145 static inline unsigned int snd_ctl_get_ioff(struct snd_kcontrol *kctl, struct snd_ctl_elem_id *id) argument
148 return snd_ctl_get_ioffnum(kctl, id);
150 return snd_ctl_get_ioffidx(kctl, id);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/core/oss/
H A Dmixer_oss.c488 struct snd_kcontrol *kctl; local
494 if ((kctl = snd_ctl_find_numid(card, numid)) == NULL) {
502 if (kctl->info(kctl, uinfo))
504 if (kctl->get(kctl, uctl))
526 struct snd_kcontrol *kctl; local
532 if ((kctl = snd_ctl_find_numid(card, numid)) == NULL) {
540 if (kctl->info(kctl, uinf
590 struct snd_kcontrol *kctl; local
629 struct snd_kcontrol *kctl; local
754 struct snd_kcontrol *kctl; local
803 struct snd_kcontrol *kctl; local
921 struct snd_kcontrol *kctl; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/drivers/
H A Dmts64.c443 static int snd_mts64_ctl_smpte_switch_info(struct snd_kcontrol *kctl, argument
453 static int snd_mts64_ctl_smpte_switch_get(struct snd_kcontrol* kctl, argument
456 struct mts64 *mts = snd_kcontrol_chip(kctl);
467 static int snd_mts64_ctl_smpte_switch_put(struct snd_kcontrol* kctl, argument
470 struct mts64 *mts = snd_kcontrol_chip(kctl);
504 static int snd_mts64_ctl_smpte_time_h_info(struct snd_kcontrol *kctl, argument
514 static int snd_mts64_ctl_smpte_time_f_info(struct snd_kcontrol *kctl, argument
524 static int snd_mts64_ctl_smpte_time_info(struct snd_kcontrol *kctl, argument
534 static int snd_mts64_ctl_smpte_time_get(struct snd_kcontrol *kctl, argument
537 struct mts64 *mts = snd_kcontrol_chip(kctl);
547 snd_mts64_ctl_smpte_time_put(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *uctl) argument
609 snd_mts64_ctl_smpte_fps_info(struct snd_kcontrol *kctl, struct snd_ctl_elem_info *uinfo) argument
629 snd_mts64_ctl_smpte_fps_get(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *uctl) argument
641 snd_mts64_ctl_smpte_fps_put(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *uctl) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/emu10k1/
H A Demumixer.c1324 struct snd_kcontrol *kctl = ctl_find(card, src); local
1325 if (kctl) {
1326 strcpy(kctl->id.name, dst);
1336 struct snd_kcontrol *kctl; local
1540 if ((kctl = emu->ctl_send_routing = snd_ctl_new1(&snd_emu10k1_send_routing_control, emu)) == NULL)
1542 kctl->id.device = pcm_device;
1543 if ((err = snd_ctl_add(card, kctl)))
1545 if ((kctl = emu->ctl_send_volume = snd_ctl_new1(&snd_emu10k1_send_volume_control, emu)) == NULL)
1547 kctl->id.device = pcm_device;
1548 if ((err = snd_ctl_add(card, kctl)))
[all...]
H A Demupcm.c978 static void snd_emu10k1_pcm_mixer_notify1(struct snd_emu10k1 *emu, struct snd_kcontrol *kctl, int idx, int activate) argument
982 if (! kctl)
985 kctl->vd[idx].access &= ~SNDRV_CTL_ELEM_ACCESS_INACTIVE;
987 kctl->vd[idx].access |= SNDRV_CTL_ELEM_ACCESS_INACTIVE;
990 snd_ctl_build_ioff(&id, kctl, idx));
1719 struct snd_kcontrol *kctl; local
1751 kctl = snd_ctl_new1(&snd_emu10k1_pcm_efx_voices_mask, emu);
1752 if (!kctl)
1754 kctl->id.device = device;
1755 snd_ctl_add(emu->card, kctl);
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/i2c/other/
H A Dak4114.c452 struct snd_kcontrol *kctl; local
460 kctl = snd_ctl_new1(&snd_ak4114_iec958_controls[idx], ak4114);
461 if (kctl == NULL)
463 if (strstr(kctl->id.name, "Playback")) {
465 snd_ctl_free_one(kctl);
469 kctl->id.device = ply_substream->pcm->device;
470 kctl->id.subdevice = ply_substream->number;
472 kctl->id.device = cap_substream->pcm->device;
473 kctl->id.subdevice = cap_substream->number;
475 err = snd_ctl_add(ak4114->card, kctl);
[all...]
H A Dak4117.c429 struct snd_kcontrol *kctl; local
436 kctl = snd_ctl_new1(&snd_ak4117_iec958_controls[idx], ak4117);
437 if (kctl == NULL)
439 kctl->id.device = cap_substream->pcm->device;
440 kctl->id.subdevice = cap_substream->number;
441 err = snd_ctl_add(ak4117->card, kctl);
444 ak4117->kctls[idx] = kctl;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/ac97/
H A Dac97_codec.c679 static void set_inv_eapd(struct snd_ac97 *ac97, struct snd_kcontrol *kctl) argument
681 kctl->private_value = AC97_SINGLE_VALUE(AC97_POWERDOWN, 15, 1, 0);
1161 struct snd_kcontrol *kctl; local
1182 kctl = snd_ctl_new1(&tmp, ac97);
1188 kctl = snd_ctl_new1(&tmp, ac97);
1190 err = snd_ctl_add(card, kctl);
1217 static void set_tlv_db_scale(struct snd_kcontrol *kctl, const unsigned int *tlv) argument
1219 kctl->tlv.p = tlv;
1221 kctl->vd[0].access |= SNDRV_CTL_ELEM_ACCESS_TLV_READ;
1231 struct snd_kcontrol *kctl; local
1299 struct snd_kcontrol *kctl; local
2572 struct snd_kcontrol *kctl = ctl_find(ac97, src, suffix); local
2684 struct snd_kcontrol *kctl = ctl_find(ac97, "External Amplifier", NULL); local
[all...]
H A Dac97_patch.c48 struct snd_kcontrol *kctl; local
52 kctl = snd_ctl_find_id(ac97->bus->card, &sid);
53 if (kctl && kctl->tlv.p)
54 kctl->tlv.p = tlv;
353 struct snd_kcontrol *kctl; local
356 if ((err = snd_ctl_add(ac97->bus->card, kctl = snd_ac97_cnew(&snd_ac97_controls_3d[0], ac97))) < 0)
358 strcpy(kctl->id.name, "3D Control - Wide");
359 kctl->private_value = AC97_SINGLE_VALUE(AC97_3D_CONTROL, 9, 7, 0);
849 struct snd_kcontrol *kctl; local
862 struct snd_kcontrol *kctl; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/i2c/
H A Dcs8427.c502 struct snd_kcontrol *kctl; local
508 kctl = snd_ctl_new1(&snd_cs8427_iec958_controls[idx], cs8427);
509 if (kctl == NULL)
511 kctl->id.device = play_substream->pcm->device;
512 kctl->id.subdevice = play_substream->number;
513 err = snd_ctl_add(cs8427->bus->card, kctl);
516 if (! strcmp(kctl->id.name,
518 chip->playback.pcm_ctl = kctl;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/trident/
H A Dtrident_main.c2853 struct snd_kcontrol *kctl,
2858 if (! kctl)
2861 kctl->vd[num].access &= ~SNDRV_CTL_ELEM_ACCESS_INACTIVE;
2863 kctl->vd[num].access |= SNDRV_CTL_ELEM_ACCESS_INACTIVE;
2866 snd_ctl_build_ioff(&id, kctl, num));
2922 struct snd_kcontrol *kctl; local
2965 if ((err = snd_ctl_add(card, kctl = snd_ctl_new1(&snd_trident_vol_wave_control, trident))) < 0)
2967 kctl->put(kctl, uctl);
2968 if ((err = snd_ctl_add(card, kctl
2852 snd_trident_notify_pcm_change1(struct snd_card *card, struct snd_kcontrol *kctl, int num, int activate) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/ymfpci/
H A Dymfpci_main.c922 struct snd_kcontrol *kctl; local
938 kctl = chip->pcm_mixer[substream->number].ctl;
939 kctl->vd[0].access &= ~SNDRV_CTL_ELEM_ACCESS_INACTIVE;
940 snd_ctl_notify(chip->card, SNDRV_CTL_EVENT_MASK_INFO, &kctl->id);
1034 struct snd_kcontrol *kctl; local
1042 kctl = chip->pcm_mixer[substream->number].ctl;
1043 kctl->vd[0].access |= SNDRV_CTL_ELEM_ACCESS_INACTIVE;
1044 snd_ctl_notify(chip->card, SNDRV_CTL_EVENT_MASK_INFO, &kctl->id);
1782 struct snd_kcontrol *kctl; local
1813 if ((err = snd_ctl_add(chip->card, kctl
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/au88x0/
H A Dau88x0_pcm.c504 struct snd_kcontrol *kctl; local
541 kctl = snd_ctl_new1(&snd_vortex_mixer_spdif[i], chip);
542 if (!kctl)
544 if ((err = snd_ctl_add(chip->card, kctl)) < 0)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/hda/
H A Dhda_codec.c1225 struct snd_kcontrol *kctl; local
1229 kctl = snd_ctl_new1(dig_mix, codec);
1230 kctl->private_value = nid;
1231 err = snd_ctl_add(codec->bus->card, kctl);
1324 struct snd_kcontrol *kctl; local
1328 kctl = snd_ctl_new1(dig_mix, codec);
1329 kctl->private_value = nid;
1330 err = snd_ctl_add(codec->bus->card, kctl);
1848 struct snd_kcontrol *kctl; local
1849 kctl
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/
H A Des1938.c1723 struct snd_kcontrol *kctl; local
1724 kctl = snd_ctl_new1(&snd_es1938_controls[idx], chip);
1727 chip->master_volume = kctl;
1728 kctl->private_free = snd_es1938_hwv_free;
1731 chip->master_switch = kctl;
1732 kctl->private_free = snd_es1938_hwv_free;
1735 chip->hw_volume = kctl;
1736 kctl->private_free = snd_es1938_hwv_free;
1739 chip->hw_switch = kctl;
1740 kctl
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/sparc/
H A Damd7930.c790 static int snd_amd7930_info_volume(struct snd_kcontrol *kctl, struct snd_ctl_elem_info *uinfo) argument
792 int type = kctl->private_value;
807 static int snd_amd7930_get_volume(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
809 struct snd_amd7930 *amd = snd_kcontrol_chip(kctl);
810 int type = kctl->private_value;
835 static int snd_amd7930_put_volume(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
837 struct snd_amd7930 *amd = snd_kcontrol_chip(kctl);
839 int type = kctl->private_value;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/isa/
H A Dopl3sa2.c507 struct snd_kcontrol *kctl; local
542 if ((err = snd_ctl_add(card, kctl = snd_ctl_new1(&snd_opl3sa2_controls[idx], chip))) < 0)
545 case 0: chip->master_switch = kctl; kctl->private_free = snd_opl3sa2_master_free; break;
546 case 1: chip->master_volume = kctl; kctl->private_free = snd_opl3sa2_master_free; break;
H A Des18xx.c1872 struct snd_kcontrol *kctl; local
1873 kctl = snd_ctl_new1(&snd_es18xx_base_controls[idx], chip);
1877 chip->master_volume = kctl;
1878 kctl->private_free = snd_es18xx_hwv_free;
1881 chip->master_switch = kctl;
1882 kctl->private_free = snd_es18xx_hwv_free;
1886 if ((err = snd_ctl_add(card, kctl)) < 0)
1926 struct snd_kcontrol *kctl; local
1927 kctl = snd_ctl_new1(&snd_es18xx_hw_volume_controls[idx], chip);
1929 chip->hw_volume = kctl;
[all...]
H A Dsscape.c708 static int sscape_midi_get(struct snd_kcontrol *kctl, argument
711 struct snd_cs4231 *chip = snd_kcontrol_chip(kctl);
728 static int sscape_midi_put(struct snd_kcontrol *kctl, argument
731 struct snd_cs4231 *chip = snd_kcontrol_chip(kctl);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/isa/gus/
H A Dgus_pcm.c816 struct snd_kcontrol *kctl; local
860 kctl = snd_ctl_new1(&snd_gf1_pcm_volume_control1, gus);
862 kctl = snd_ctl_new1(&snd_gf1_pcm_volume_control, gus);
863 if ((err = snd_ctl_add(card, kctl)) < 0)
865 kctl->id.index = control_index;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/ca0106/
H A Dca0106_mixer.c585 struct snd_kcontrol *kctl = ctl_find(card, src); local
586 if (kctl) {
587 strcpy(kctl->id.name, dst);

Completed in 225 milliseconds

12