/sound/core/ |
D | control.c | 201 struct snd_kcontrol *kctl, unsigned int ioff) in snd_ctl_notify_one() argument 203 struct snd_ctl_elem_id id = kctl->id; in snd_ctl_notify_one() 211 lops->lnotify(card, mask, kctl, ioff); in snd_ctl_notify_one() 229 static int snd_ctl_new(struct snd_kcontrol **kctl, unsigned int count, in snd_ctl_new() argument 237 *kctl = kzalloc(struct_size(*kctl, vd, count), GFP_KERNEL); in snd_ctl_new() 238 if (!*kctl) in snd_ctl_new() 242 (*kctl)->vd[idx].access = access; in snd_ctl_new() 243 (*kctl)->vd[idx].owner = file; in snd_ctl_new() 245 (*kctl)->count = count; in snd_ctl_new() 264 struct snd_kcontrol *kctl; in snd_ctl_new1() local [all …]
|
D | ctljack.c | 65 struct snd_kcontrol *kctl; in snd_kctl_jack_new() local 67 kctl = snd_ctl_new1(&jack_detect_kctl, NULL); in snd_kctl_jack_new() 68 if (!kctl) in snd_kctl_jack_new() 71 jack_kctl_name_gen(kctl->id.name, name, sizeof(kctl->id.name)); in snd_kctl_jack_new() 72 kctl->id.index = get_available_index(card, kctl->id.name); in snd_kctl_jack_new() 73 kctl->private_value = 0; in snd_kctl_jack_new() 74 return kctl; in snd_kctl_jack_new() 78 struct snd_kcontrol *kctl, bool status) in snd_kctl_jack_report() argument 80 if (kctl->private_value == status) in snd_kctl_jack_report() 82 kctl->private_value = status; in snd_kctl_jack_report() [all …]
|
D | control_led.c | 50 struct snd_kcontrol *kctl; member 108 struct snd_kcontrol *kctl = lctl->kctl; in snd_ctl_led_get() local 113 info.id = kctl->id; in snd_ctl_led_get() 116 result = kctl->info(kctl, &info); in snd_ctl_led_get() 121 result = kctl->get(kctl, &value); in snd_ctl_led_get() 138 struct snd_kcontrol *kctl, unsigned int ioff) in snd_ctl_led_set_state() argument 157 if (lctl->kctl == kctl && lctl->index_offset == ioff) in snd_ctl_led_set_state() 161 if (!found && kctl && card) { in snd_ctl_led_set_state() 166 lctl->kctl = kctl; in snd_ctl_led_set_state() 183 static struct snd_ctl_led_ctl *snd_ctl_led_find(struct snd_kcontrol *kctl, unsigned int ioff) in snd_ctl_led_find() argument [all …]
|
D | jack.c | 19 struct snd_kcontrol *kctl; member 68 snd_ctl_remove(card, jack_kctl->kctl); in snd_jack_dev_free() 136 snd_kctl_jack_report(jack->card, jack_kctl->kctl, in snd_jack_inject_report() 171 len = scnprintf(buf, sizeof(buf), "%s: %s\t\t%s: %i\n", "Jack", jack_kctl->kctl->id.name, in sw_inject_enable_read() 230 len = scnprintf(buf, sizeof(buf), "%s\n", jack_kctl->kctl->id.name); in jack_kctl_id_read() 281 len = scnprintf(buf, sizeof(buf), "%s\n", jack_kctl->kctl->private_value ? in jack_kctl_status_read() 347 if (strstr(jack_kctl->kctl->id.name, "Phantom")) in snd_jack_debugfs_add_inject_node() 350 tname = kstrdup(jack_kctl->kctl->id.name, GFP_KERNEL); in snd_jack_debugfs_add_inject_node() 401 static void snd_jack_kctl_private_free(struct snd_kcontrol *kctl) in snd_jack_kctl_private_free() argument 405 jack_kctl = kctl->private_data; in snd_jack_kctl_private_free() [all …]
|
D | vmaster.c | 53 struct snd_kcontrol *kctl; /* original kcontrol pointer */ member 263 srec->kctl = follower; in _snd_ctl_add_follower() 363 struct snd_kcontrol *sctl = follower->kctl; in master_free() 396 struct snd_kcontrol *kctl; in snd_ctl_make_virtual_master() local 409 kctl = snd_ctl_new1(&knew, master); in snd_ctl_make_virtual_master() 410 if (!kctl) { in snd_ctl_make_virtual_master() 415 kctl->info = master_info; in snd_ctl_make_virtual_master() 416 kctl->get = master_get; in snd_ctl_make_virtual_master() 417 kctl->put = master_put; in snd_ctl_make_virtual_master() 418 kctl->private_free = master_free; in snd_ctl_make_virtual_master() [all …]
|
/sound/usb/ |
D | mixer.c | 591 struct snd_kcontrol *kctl, in snd_usb_mixer_add_list() argument 597 while (snd_ctl_find_id(mixer->chip->card, &kctl->id)) in snd_usb_mixer_add_list() 598 kctl->id.index++; in snd_usb_mixer_add_list() 599 err = snd_ctl_add(mixer->chip->card, kctl); in snd_usb_mixer_add_list() 605 list->kctl = kctl; in snd_usb_mixer_add_list() 1073 void snd_usb_mixer_elem_free(struct snd_kcontrol *kctl) in snd_usb_mixer_elem_free() argument 1075 usb_mixer_elem_info_free(kctl->private_data); in snd_usb_mixer_elem_free() 1076 kctl->private_data = NULL; in snd_usb_mixer_elem_free() 1085 struct snd_kcontrol *kctl) in volume_control_quirks() argument 1091 if (strcmp(kctl->id.name, "Effect Duration") == 0) { in volume_control_quirks() [all …]
|
D | mixer_s1810c.c | 335 struct snd_kcontrol *kctl, u32 *state) in snd_s1810c_get_switch_state() argument 340 u32 ctl_idx = (u32) (kctl->private_value & 0xFF); in snd_s1810c_get_switch_state() 362 struct snd_kcontrol *kctl) in snd_s1810c_set_switch_state() argument 366 u32 pval = (u32) kctl->private_value; in snd_s1810c_set_switch_state() 380 snd_s1810c_switch_get(struct snd_kcontrol *kctl, in snd_s1810c_switch_get() argument 383 struct usb_mixer_elem_list *list = snd_kcontrol_chip(kctl); in snd_s1810c_switch_get() 386 u32 pval = (u32) kctl->private_value; in snd_s1810c_switch_get() 392 ret = snd_s1810c_get_switch_state(mixer, kctl, &state); in snd_s1810c_switch_get() 411 snd_s1810c_switch_set(struct snd_kcontrol *kctl, in snd_s1810c_switch_set() argument 414 struct usb_mixer_elem_list *list = snd_kcontrol_chip(kctl); in snd_s1810c_switch_set() [all …]
|
D | mixer_scarlett.c | 232 static int scarlett_ctl_switch_info(struct snd_kcontrol *kctl, in scarlett_ctl_switch_info() argument 235 struct usb_mixer_elem_info *elem = kctl->private_data; in scarlett_ctl_switch_info() 244 static int scarlett_ctl_switch_get(struct snd_kcontrol *kctl, in scarlett_ctl_switch_get() argument 247 struct usb_mixer_elem_info *elem = kctl->private_data; in scarlett_ctl_switch_get() 262 static int scarlett_ctl_switch_put(struct snd_kcontrol *kctl, in scarlett_ctl_switch_put() argument 265 struct usb_mixer_elem_info *elem = kctl->private_data; in scarlett_ctl_switch_put() 300 static int scarlett_ctl_info(struct snd_kcontrol *kctl, in scarlett_ctl_info() argument 303 struct usb_mixer_elem_info *elem = kctl->private_data; in scarlett_ctl_info() 308 uinfo->value.integer.max = (int)kctl->private_value + in scarlett_ctl_info() 314 static int scarlett_ctl_get(struct snd_kcontrol *kctl, in scarlett_ctl_get() argument [all …]
|
D | mixer_scarlett_gen2.c | 1612 struct snd_kcontrol *kctl; in scarlett2_add_new_ctl() local 1630 kctl = snd_ctl_new1(ncontrol, elem); in scarlett2_add_new_ctl() 1631 if (!kctl) { in scarlett2_add_new_ctl() 1635 kctl->private_free = snd_usb_mixer_elem_free; in scarlett2_add_new_ctl() 1637 strscpy(kctl->id.name, name, sizeof(kctl->id.name)); in scarlett2_add_new_ctl() 1639 err = snd_usb_mixer_add_control(&elem->head, kctl); in scarlett2_add_new_ctl() 1644 *kctl_return = kctl; in scarlett2_add_new_ctl() 1662 static int scarlett2_sync_ctl_info(struct snd_kcontrol *kctl, in scarlett2_sync_ctl_info() argument 1671 static int scarlett2_sync_ctl_get(struct snd_kcontrol *kctl, in scarlett2_sync_ctl_get() argument 1674 struct usb_mixer_elem_info *elem = kctl->private_data; in scarlett2_sync_ctl_get() [all …]
|
D | mixer_quirks.c | 64 struct snd_kcontrol *kctl; in snd_create_std_mono_ctl_offset() local 86 kctl = snd_ctl_new1(snd_usb_feature_unit_ctl, cval); in snd_create_std_mono_ctl_offset() 87 if (!kctl) { in snd_create_std_mono_ctl_offset() 93 snprintf(kctl->id.name, sizeof(kctl->id.name), name); in snd_create_std_mono_ctl_offset() 94 kctl->private_free = snd_usb_mixer_elem_free; in snd_create_std_mono_ctl_offset() 98 kctl->tlv.c = tlv_callback; in snd_create_std_mono_ctl_offset() 99 kctl->vd[0].access |= in snd_create_std_mono_ctl_offset() 104 return snd_usb_mixer_add_control(&cval->head, kctl); in snd_create_std_mono_ctl_offset() 145 struct snd_kcontrol *kctl; in add_single_ctl_with_resume() local 155 kctl = snd_ctl_new1(knew, list); in add_single_ctl_with_resume() [all …]
|
D | mixer.h | 68 struct snd_kcontrol *kctl; member 108 struct snd_kcontrol *kctl, 111 #define snd_usb_mixer_add_control(list, kctl) \ argument 112 snd_usb_mixer_add_list(list, kctl, true) 132 extern void snd_usb_mixer_elem_free(struct snd_kcontrol *kctl);
|
/sound/firewire/bebob/ |
D | bebob_maudio.c | 355 static int special_clk_ctl_info(struct snd_kcontrol *kctl, in special_clk_ctl_info() argument 367 static int special_clk_ctl_get(struct snd_kcontrol *kctl, in special_clk_ctl_get() argument 370 struct snd_bebob *bebob = snd_kcontrol_chip(kctl); in special_clk_ctl_get() 375 static int special_clk_ctl_put(struct snd_kcontrol *kctl, in special_clk_ctl_put() argument 378 struct snd_bebob *bebob = snd_kcontrol_chip(kctl); in special_clk_ctl_put() 409 static int special_sync_ctl_info(struct snd_kcontrol *kctl, in special_sync_ctl_info() argument 419 static int special_sync_ctl_get(struct snd_kcontrol *kctl, in special_sync_ctl_get() argument 422 struct snd_bebob *bebob = snd_kcontrol_chip(kctl); in special_sync_ctl_get() 444 static int special_dig_in_iface_ctl_info(struct snd_kcontrol *kctl, in special_dig_in_iface_ctl_info() argument 451 static int special_dig_in_iface_ctl_get(struct snd_kcontrol *kctl, in special_dig_in_iface_ctl_get() argument [all …]
|
/sound/pci/cs5535audio/ |
D | cs5535audio_olpc.c | 61 static int olpc_dc_info(struct snd_kcontrol *kctl, in olpc_dc_info() argument 71 static int olpc_dc_get(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *v) in olpc_dc_get() argument 77 static int olpc_dc_put(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *v) in olpc_dc_put() argument 79 struct cs5535audio *cs5535au = snd_kcontrol_chip(kctl); in olpc_dc_put() 85 static int olpc_mic_info(struct snd_kcontrol *kctl, in olpc_mic_info() argument 95 static int olpc_mic_get(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *v) in olpc_mic_get() argument 97 struct cs5535audio *cs5535au = snd_kcontrol_chip(kctl); in olpc_mic_get() 106 static int olpc_mic_put(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *v) in olpc_mic_put() argument 108 struct cs5535audio *cs5535au = snd_kcontrol_chip(kctl); in olpc_mic_put()
|
/sound/core/oss/ |
D | mixer_oss.c | 537 struct snd_kcontrol *kctl; in snd_mixer_oss_get_volume1_vol() local 543 kctl = snd_ctl_find_numid(card, numid); in snd_mixer_oss_get_volume1_vol() 544 if (!kctl) { in snd_mixer_oss_get_volume1_vol() 552 if (kctl->info(kctl, uinfo)) in snd_mixer_oss_get_volume1_vol() 554 if (kctl->get(kctl, uctl)) in snd_mixer_oss_get_volume1_vol() 576 struct snd_kcontrol *kctl; in snd_mixer_oss_get_volume1_sw() local 582 kctl = snd_ctl_find_numid(card, numid); in snd_mixer_oss_get_volume1_sw() 583 if (!kctl) { in snd_mixer_oss_get_volume1_sw() 591 if (kctl->info(kctl, uinfo)) in snd_mixer_oss_get_volume1_sw() 593 if (kctl->get(kctl, uctl)) in snd_mixer_oss_get_volume1_sw() [all …]
|
/sound/pci/au88x0/ |
D | au88x0_pcm.c | 115 struct snd_kcontrol *kctl, int activate) in vortex_notify_pcm_vol_change() argument 118 kctl->vd[0].access &= ~SNDRV_CTL_ELEM_ACCESS_INACTIVE; in vortex_notify_pcm_vol_change() 120 kctl->vd[0].access |= SNDRV_CTL_ELEM_ACCESS_INACTIVE; in vortex_notify_pcm_vol_change() 122 SNDRV_CTL_EVENT_MASK_INFO, &(kctl->id)); in vortex_notify_pcm_vol_change() 246 chip->pcm_vol[substream->number].kctl, 1); in snd_vortex_pcm_hw_params() 281 chip->pcm_vol[substream->number].kctl, in snd_vortex_pcm_hw_free() 598 struct snd_kcontrol *kctl; in snd_vortex_new_pcm() local 658 kctl = snd_ctl_new1(&snd_vortex_mixer_spdif[i], chip); in snd_vortex_new_pcm() 659 if (!kctl) in snd_vortex_new_pcm() 661 err = snd_ctl_add(chip->card, kctl); in snd_vortex_new_pcm() [all …]
|
/sound/pci/emu10k1/ |
D | emumixer.c | 1768 struct snd_kcontrol *kctl = ctl_find(card, src); in rename_ctl() local 1769 if (kctl) { in rename_ctl() 1770 strcpy(kctl->id.name, dst); in rename_ctl() 1780 struct snd_kcontrol *kctl; in snd_emu10k1_mixer() local 1997 kctl = emu->ctl_send_routing = snd_ctl_new1(&snd_emu10k1_send_routing_control, emu); in snd_emu10k1_mixer() 1998 if (!kctl) in snd_emu10k1_mixer() 2000 kctl->id.device = pcm_device; in snd_emu10k1_mixer() 2001 err = snd_ctl_add(card, kctl); in snd_emu10k1_mixer() 2004 kctl = emu->ctl_send_volume = snd_ctl_new1(&snd_emu10k1_send_volume_control, emu); in snd_emu10k1_mixer() 2005 if (!kctl) in snd_emu10k1_mixer() [all …]
|
/sound/pci/ac97/ |
D | ac97_codec.c | 680 static void set_inv_eapd(struct snd_ac97 *ac97, struct snd_kcontrol *kctl) in set_inv_eapd() argument 682 kctl->private_value = AC97_SINGLE_VALUE(AC97_POWERDOWN, 15, 1, 0); in set_inv_eapd() 1171 struct snd_kcontrol *kctl; in snd_ac97_cmute_new_stereo() local 1192 kctl = snd_ctl_new1(&tmp, ac97); in snd_ac97_cmute_new_stereo() 1198 kctl = snd_ctl_new1(&tmp, ac97); in snd_ac97_cmute_new_stereo() 1200 err = snd_ctl_add(card, kctl); in snd_ac97_cmute_new_stereo() 1227 static void set_tlv_db_scale(struct snd_kcontrol *kctl, const unsigned int *tlv) in set_tlv_db_scale() argument 1229 kctl->tlv.p = tlv; in set_tlv_db_scale() 1231 kctl->vd[0].access |= SNDRV_CTL_ELEM_ACCESS_TLV_READ; in set_tlv_db_scale() 1241 struct snd_kcontrol *kctl; in snd_ac97_cvol_new() local [all …]
|
/sound/drivers/ |
D | mts64.c | 429 static int snd_mts64_ctl_smpte_switch_get(struct snd_kcontrol* kctl, in snd_mts64_ctl_smpte_switch_get() argument 432 struct mts64 *mts = snd_kcontrol_chip(kctl); in snd_mts64_ctl_smpte_switch_get() 443 static int snd_mts64_ctl_smpte_switch_put(struct snd_kcontrol* kctl, in snd_mts64_ctl_smpte_switch_put() argument 446 struct mts64 *mts = snd_kcontrol_chip(kctl); in snd_mts64_ctl_smpte_switch_put() 481 static int snd_mts64_ctl_smpte_time_h_info(struct snd_kcontrol *kctl, in snd_mts64_ctl_smpte_time_h_info() argument 491 static int snd_mts64_ctl_smpte_time_f_info(struct snd_kcontrol *kctl, in snd_mts64_ctl_smpte_time_f_info() argument 501 static int snd_mts64_ctl_smpte_time_info(struct snd_kcontrol *kctl, in snd_mts64_ctl_smpte_time_info() argument 511 static int snd_mts64_ctl_smpte_time_get(struct snd_kcontrol *kctl, in snd_mts64_ctl_smpte_time_get() argument 514 struct mts64 *mts = snd_kcontrol_chip(kctl); in snd_mts64_ctl_smpte_time_get() 515 int idx = kctl->private_value; in snd_mts64_ctl_smpte_time_get() [all …]
|
/sound/soc/intel/atom/ |
D | sst-atom-controls.c | 307 bc = (void *)algo->kctl->private_value; in sst_find_and_send_pipe_algo() 310 algo->kctl->id.name, pipe); in sst_find_and_send_pipe_algo() 608 struct snd_kcontrol *kctl = gain->kctl; in sst_set_pipe_gain() local 610 dev_dbg(&drv->pdev->dev, "control name=%s\n", kctl->id.name); in sst_set_pipe_gain() 611 mc = (void *)kctl->private_value; in sst_set_pipe_gain() 1392 static int sst_fill_module_list(struct snd_kcontrol *kctl, in sst_fill_module_list() argument 1405 struct sst_gain_mixer_control *mc = (void *)kctl->private_value; in sst_fill_module_list() 1408 module->kctl = kctl; in sst_fill_module_list() 1411 struct sst_algo_control *bc = (void *)kctl->private_value; in sst_fill_module_list() 1414 module->kctl = kctl; in sst_fill_module_list() [all …]
|
/sound/pci/hda/ |
D | hda_codec.c | 1672 struct snd_kcontrol *kctl) in snd_hda_ctl_add() argument 1678 if (kctl->id.subdevice & HDA_SUBDEV_AMP_FLAG) { in snd_hda_ctl_add() 1681 nid = get_amp_nid_(kctl->private_value); in snd_hda_ctl_add() 1683 if ((kctl->id.subdevice & HDA_SUBDEV_NID_FLAG) != 0 && nid == 0) in snd_hda_ctl_add() 1684 nid = kctl->id.subdevice & 0xffff; in snd_hda_ctl_add() 1685 if (kctl->id.subdevice & (HDA_SUBDEV_NID_FLAG|HDA_SUBDEV_AMP_FLAG)) in snd_hda_ctl_add() 1686 kctl->id.subdevice = 0; in snd_hda_ctl_add() 1687 err = snd_ctl_add(codec->card, kctl); in snd_hda_ctl_add() 1693 item->kctl = kctl; in snd_hda_ctl_add() 1711 int snd_hda_add_nid(struct hda_codec *codec, struct snd_kcontrol *kctl, in snd_hda_add_nid() argument [all …]
|
/sound/soc/ |
D | soc-card.c | 33 struct snd_kcontrol *kctl; in snd_soc_card_get_kcontrol() local 38 list_for_each_entry(kctl, &card->controls, list) in snd_soc_card_get_kcontrol() 39 if (!strncmp(kctl->id.name, name, sizeof(kctl->id.name))) in snd_soc_card_get_kcontrol() 40 return kctl; in snd_soc_card_get_kcontrol()
|
/sound/soc/tegra/ |
D | tegra210_ahub.c | 17 static int tegra_ahub_get_value_enum(struct snd_kcontrol *kctl, in tegra_ahub_get_value_enum() argument 20 struct snd_soc_component *cmpnt = snd_soc_dapm_kcontrol_component(kctl); in tegra_ahub_get_value_enum() 22 struct soc_enum *e = (struct soc_enum *)kctl->private_value; in tegra_ahub_get_value_enum() 54 static int tegra_ahub_put_value_enum(struct snd_kcontrol *kctl, in tegra_ahub_put_value_enum() argument 57 struct snd_soc_component *cmpnt = snd_soc_dapm_kcontrol_component(kctl); in tegra_ahub_put_value_enum() 59 struct snd_soc_dapm_context *dapm = snd_soc_dapm_kcontrol_dapm(kctl); in tegra_ahub_put_value_enum() 60 struct soc_enum *e = (struct soc_enum *)kctl->private_value; in tegra_ahub_put_value_enum() 86 update[i].kcontrol = kctl; in tegra_ahub_put_value_enum() 92 change |= snd_soc_dapm_mux_update_power(dapm, kctl, in tegra_ahub_put_value_enum()
|
/sound/i2c/other/ |
D | ak4114.c | 462 struct snd_kcontrol *kctl; in snd_ak4114_build() local 471 kctl = snd_ctl_new1(&snd_ak4114_iec958_controls[idx], ak4114); in snd_ak4114_build() 472 if (kctl == NULL) in snd_ak4114_build() 474 if (strstr(kctl->id.name, "Playback")) { in snd_ak4114_build() 476 snd_ctl_free_one(kctl); in snd_ak4114_build() 480 kctl->id.device = ply_substream->pcm->device; in snd_ak4114_build() 481 kctl->id.subdevice = ply_substream->number; in snd_ak4114_build() 483 kctl->id.device = cap_substream->pcm->device; in snd_ak4114_build() 484 kctl->id.subdevice = cap_substream->number; in snd_ak4114_build() 486 err = snd_ctl_add(ak4114->card, kctl); in snd_ak4114_build() [all …]
|
/sound/pci/trident/ |
D | trident_main.c | 2844 struct snd_kcontrol *kctl, in snd_trident_notify_pcm_change1() argument 2849 if (! kctl) in snd_trident_notify_pcm_change1() 2852 kctl->vd[num].access &= ~SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_trident_notify_pcm_change1() 2854 kctl->vd[num].access |= SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_trident_notify_pcm_change1() 2857 snd_ctl_build_ioff(&id, kctl, num)); in snd_trident_notify_pcm_change1() 2915 struct snd_kcontrol *kctl; in snd_trident_mixer() local 2971 kctl = snd_ctl_new1(&snd_trident_vol_wave_control, trident); in snd_trident_mixer() 2972 err = snd_ctl_add(card, kctl); in snd_trident_mixer() 2975 kctl->put(kctl, uctl); in snd_trident_mixer() 2976 kctl = snd_ctl_new1(&snd_trident_vol_music_control, trident); in snd_trident_mixer() [all …]
|
/sound/pci/ymfpci/ |
D | ymfpci_main.c | 382 struct snd_kcontrol *kctl = NULL; in snd_ymfpci_playback_trigger() local 401 kctl = chip->pcm_mixer[substream->number].ctl; in snd_ymfpci_playback_trigger() 402 kctl->vd[0].access |= SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_ymfpci_playback_trigger() 418 if (kctl) in snd_ymfpci_playback_trigger() 419 snd_ctl_notify(chip->card, SNDRV_CTL_EVENT_MASK_INFO, &kctl->id); in snd_ymfpci_playback_trigger() 666 struct snd_kcontrol *kctl; in snd_ymfpci_playback_prepare() local 678 kctl = chip->pcm_mixer[substream->number].ctl; in snd_ymfpci_playback_prepare() 679 kctl->vd[0].access &= ~SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_ymfpci_playback_prepare() 680 snd_ctl_notify(chip->card, SNDRV_CTL_EVENT_MASK_INFO, &kctl->id); in snd_ymfpci_playback_prepare() 1788 struct snd_kcontrol *kctl; in snd_ymfpci_mixer() local [all …]
|