Home
last modified time | relevance | path

Searched refs:kctl (Results 1 – 25 of 85) sorted by relevance

1234

/linux/sound/core/
H A Dcontrol.c26 #define trace_snd_ctl_put(card, kctl, iname, expected, actual)
197 * @kctl: the pointer with the control instance
204 struct snd_kcontrol *kctl, unsigned int ioff) in snd_ctl_notify_one()
206 struct snd_ctl_elem_id id = kctl->id; in snd_ctl_notify_one()
214 lops->lnotify(card, mask, kctl, ioff);
220 * @kctl: the pointer to store new control instance
231 static int snd_ctl_new(struct snd_kcontrol **kctl, unsigned int count, in snd_ctl_new()
239 *kctl = kzalloc_flex(**kctl, vd, count); in snd_ctl_new()
240 if (!*kctl) in snd_ctl_new()
201 snd_ctl_notify_one(struct snd_card * card,unsigned int mask,struct snd_kcontrol * kctl,unsigned int ioff) snd_ctl_notify_one() argument
228 snd_ctl_new(struct snd_kcontrol ** kctl,unsigned int count,unsigned int access,struct snd_ctl_file * file) snd_ctl_new() argument
263 struct snd_kcontrol *kctl; snd_ctl_new1() local
336 struct snd_kcontrol *kctl; snd_ctl_remove_numid_conflict() local
367 elem_id_matches(const struct snd_kcontrol * kctl,const struct snd_ctl_elem_id * id) elem_id_matches() argument
639 struct snd_kcontrol *kctl; snd_ctl_remove_id() local
663 struct snd_kcontrol *kctl; snd_ctl_remove_user_ctl() local
693 struct snd_kcontrol *kctl; snd_ctl_activate_id() local
749 struct snd_kcontrol *kctl; snd_ctl_rename_id() local
775 snd_ctl_rename(struct snd_card * card,struct snd_kcontrol * kctl,const char * name) snd_ctl_rename() argument
793 struct snd_kcontrol *kctl; snd_ctl_find_numid_slow() local
843 struct snd_kcontrol *kctl; snd_ctl_find_id() local
892 struct snd_kcontrol *kctl; snd_ctl_elem_list() local
1126 __snd_ctl_elem_info(struct snd_card * card,struct snd_kcontrol * kctl,struct snd_ctl_elem_info * info,struct snd_ctl_file * ctl) __snd_ctl_elem_info() argument
1163 struct snd_kcontrol *kctl; snd_ctl_elem_info() local
1199 struct snd_kcontrol *kctl; snd_ctl_elem_read() local
1270 struct snd_kcontrol *kctl; snd_ctl_elem_write() local
1350 struct snd_kcontrol *kctl; snd_ctl_elem_lock() local
1371 struct snd_kcontrol *kctl; snd_ctl_elem_unlock() local
1475 replace_user_tlv(struct snd_kcontrol * kctl,unsigned int __user * buf,unsigned int size) replace_user_tlv() argument
1528 read_user_tlv(struct snd_kcontrol * kctl,unsigned int __user * buf,unsigned int size) read_user_tlv() argument
1545 snd_ctl_elem_user_tlv(struct snd_kcontrol * kctl,int op_flag,unsigned int size,unsigned int __user * buf) snd_ctl_elem_user_tlv() argument
1618 struct snd_kcontrol *kctl; snd_ctl_elem_add() local
1794 call_tlv_handler(struct snd_ctl_file * file,int op_flag,struct snd_kcontrol * kctl,struct snd_ctl_elem_id * id,unsigned int __user * buf,unsigned int size) call_tlv_handler() argument
1828 read_tlv_buf(struct snd_kcontrol * kctl,struct snd_ctl_elem_id * id,unsigned int __user * buf,unsigned int size) read_tlv_buf() argument
1857 struct snd_kcontrol *kctl; snd_ctl_tlv_ioctl() local
2160 struct snd_ctl_file *kctl; snd_ctl_get_preferred_subdevice() local
[all...]
H A Dctljack.c69 struct snd_kcontrol *kctl; in snd_kctl_jack_new()
71 kctl = snd_ctl_new1(&jack_detect_kctl, NULL); in snd_kctl_jack_new()
72 if (!kctl) in snd_kctl_jack_new()
75 jack_kctl_name_gen(kctl->id.name, name, sizeof(kctl->id.name)); in snd_kctl_jack_new()
76 kctl->id.index = get_available_index(card, kctl->id.name);
77 kctl->private_value = 0; in snd_kctl_jack_report()
78 return kctl; in snd_kctl_jack_report() argument
82 struct snd_kcontrol *kctl, boo in snd_kctl_jack_report()
65 struct snd_kcontrol *kctl; snd_kctl_jack_new() local
[all...]
H A Dcontrol_led.c50 struct snd_kcontrol *kctl; member
109 struct snd_kcontrol *kctl = lctl->kctl; in snd_ctl_led_get() local
114 info.id = kctl->id; in snd_ctl_led_get()
117 result = kctl->info(kctl, &info); in snd_ctl_led_get()
122 result = kctl->get(kctl, &value); in snd_ctl_led_get()
139 struct snd_kcontrol *kctl, unsigned int ioff) in snd_ctl_led_set_state() argument
156 if (lctl->kctl in snd_ctl_led_set_state()
185 snd_ctl_led_find(struct snd_kcontrol * kctl,unsigned int ioff) snd_ctl_led_find() argument
200 snd_ctl_led_remove(struct snd_kcontrol * kctl,unsigned int ioff,unsigned int access) snd_ctl_led_remove() argument
217 snd_ctl_led_notify(struct snd_card * card,unsigned int mask,struct snd_kcontrol * kctl,unsigned int ioff) snd_ctl_led_notify() argument
248 struct snd_kcontrol *kctl; DEFINE_FREE() local
334 struct snd_kcontrol *kctl; snd_ctl_led_register() local
[all...]
H A Djack.c19 struct snd_kcontrol *kctl; member
21 unsigned int mask_bits; /* only masked status bits are reported via kctl */
73 snd_ctl_remove(card, jack_kctl->kctl); in snd_jack_dev_free()
141 snd_kctl_jack_report(jack->card, jack_kctl->kctl, in snd_jack_inject_report()
176 len = scnprintf(buf, sizeof(buf), "%s: %s\t\t%s: %i\n", "Jack", jack_kctl->kctl->id.name, in sw_inject_enable_read()
235 len = scnprintf(buf, sizeof(buf), "%s\n", jack_kctl->kctl->id.name); in jack_kctl_id_read()
284 len = scnprintf(buf, sizeof(buf), "%s\n", jack_kctl->kctl->private_value ? in jack_kctl_status_read()
350 if (strstr(jack_kctl->kctl->id.name, "Phantom")) in snd_jack_debugfs_add_inject_node()
353 tname = kstrdup(jack_kctl->kctl->id.name, GFP_KERNEL); in snd_jack_debugfs_add_inject_node()
408 static void snd_jack_kctl_private_free(struct snd_kcontrol *kctl) in snd_jack_remove_debugfs()
411 snd_jack_kctl_private_free(struct snd_kcontrol * kctl) snd_jack_kctl_private_free() argument
431 struct snd_kcontrol *kctl; snd_jack_kctl_new() local
[all...]
H A Dvmaster.c53 struct snd_kcontrol *kctl; /* original kcontrol pointer */ member
262 srec->kctl = follower; in _snd_ctl_add_follower()
391 struct snd_kcontrol *sctl = follower->kctl; in master_free()
424 struct snd_kcontrol *kctl; in snd_ctl_make_virtual_master() local
437 kctl = snd_ctl_new1(&knew, master); in snd_ctl_make_virtual_master()
438 if (!kctl) { in snd_ctl_make_virtual_master()
443 kctl->info = master_info; in snd_ctl_make_virtual_master()
444 kctl->get = master_get; in snd_ctl_make_virtual_master()
445 kctl->put = master_put; in snd_ctl_make_virtual_master()
446 kctl->private_free = master_free; in snd_ctl_make_virtual_master()
[all …]
/linux/include/sound/
H A Dcontrol.h123 void (*lnotify)(struct snd_card *card, unsigned int mask, struct snd_kcontrol *kctl, unsigned int ioff);
133 void snd_ctl_notify_one(struct snd_card * card, unsigned int mask, struct snd_kcontrol * kctl, unsigned int ioff);
142 void snd_ctl_rename(struct snd_card *card, struct snd_kcontrol *kctl, const char *name);
189 static inline unsigned int snd_ctl_get_ioffnum(struct snd_kcontrol *kctl, struct snd_ctl_elem_id *id) in snd_ctl_get_ioffnum()
191 unsigned int ioff = id->numid - kctl->id.numid;
192 return array_index_nospec(ioff, kctl->count); in snd_ctl_get_ioffidx() argument
195 static inline unsigned int snd_ctl_get_ioffidx(struct snd_kcontrol *kctl, struct snd_ctl_elem_id *id) in snd_ctl_get_ioffidx()
197 unsigned int ioff = id->index - kctl->id.index;
198 return array_index_nospec(ioff, kctl->count); in snd_ctl_get_ioff() argument
201 static inline unsigned int snd_ctl_get_ioff(struct snd_kcontrol *kctl, struc in snd_ctl_get_ioff()
186 snd_ctl_get_ioffnum(struct snd_kcontrol * kctl,struct snd_ctl_elem_id * id) snd_ctl_get_ioffnum() argument
293 snd_ctl_sync_vmaster_hook(kctl) global() argument
[all...]
/linux/sound/usb/
H A Dmixer.c586 struct snd_kcontrol *kctl, in snd_usb_mixer_add_list() argument
592 while (snd_ctl_find_id(mixer->chip->card, &kctl->id)) in snd_usb_mixer_add_list()
593 kctl->id.index++; in snd_usb_mixer_add_list()
594 err = snd_ctl_add(mixer->chip->card, kctl); in snd_usb_mixer_add_list()
600 list->kctl = kctl; in snd_usb_mixer_add_list()
1057 void snd_usb_mixer_elem_free(struct snd_kcontrol *kctl) in snd_usb_mixer_elem_free() argument
1059 usb_mixer_elem_info_free(kctl->private_data); in snd_usb_mixer_elem_free()
1060 kctl->private_data = NULL; in snd_usb_mixer_elem_free()
1069 struct snd_kcontrol *kctl) in volume_control_quirks() argument
1074 if (!strcmp(kctl->id.name, "Mic Capture Volume")) { in volume_control_quirks()
[all …]
H A Dmixer_scarlett.c313 static int forte_input_gain_info(struct snd_kcontrol *kctl, in forte_input_gain_info() argument
324 static int forte_input_gain_get(struct snd_kcontrol *kctl, in forte_input_gain_get() argument
327 struct usb_mixer_elem_info *elem = kctl->private_data; in forte_input_gain_get()
339 static int forte_input_gain_put(struct snd_kcontrol *kctl, in forte_input_gain_put() argument
342 struct usb_mixer_elem_info *elem = kctl->private_data; in forte_input_gain_put()
376 static int forte_ctl_enum_get(struct snd_kcontrol *kctl, in forte_ctl_enum_get() argument
379 struct usb_mixer_elem_info *elem = kctl->private_data; in forte_ctl_enum_get()
392 static int forte_ctl_enum_put(struct snd_kcontrol *kctl, in forte_ctl_enum_put() argument
395 struct usb_mixer_elem_info *elem = kctl->private_data; in forte_ctl_enum_put()
428 static int forte_ctl_switch_get(struct snd_kcontrol *kctl, in forte_ctl_switch_get() argument
442 forte_ctl_switch_put(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) forte_ctl_switch_put() argument
473 scarlett_ctl_switch_info(struct snd_kcontrol * kctl,struct snd_ctl_elem_info * uinfo) scarlett_ctl_switch_info() argument
485 scarlett_ctl_switch_get(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett_ctl_switch_get() argument
503 scarlett_ctl_switch_put(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett_ctl_switch_put() argument
541 scarlett_ctl_info(struct snd_kcontrol * kctl,struct snd_ctl_elem_info * uinfo) scarlett_ctl_info() argument
555 scarlett_ctl_get(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett_ctl_get() argument
574 scarlett_ctl_put(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett_ctl_put() argument
618 scarlett_ctl_enum_dynamic_info(struct snd_kcontrol * kctl,struct snd_ctl_elem_info * uinfo) scarlett_ctl_enum_dynamic_info() argument
641 scarlett_ctl_enum_info(struct snd_kcontrol * kctl,struct snd_ctl_elem_info * uinfo) scarlett_ctl_enum_info() argument
651 scarlett_ctl_enum_get(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett_ctl_enum_get() argument
669 scarlett_ctl_enum_put(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett_ctl_enum_put() argument
698 scarlett_ctl_meter_get(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett_ctl_meter_get() argument
818 struct snd_kcontrol *kctl; add_new_ctl() local
[all...]
H A Dmixer_s1810c.c426 struct snd_kcontrol *kctl, u32 *state) in snd_s1810c_get_switch_state() argument
431 u32 ctl_idx = (u32) (kctl->private_value & 0xFF); in snd_s1810c_get_switch_state()
451 struct snd_kcontrol *kctl) in snd_s1810c_set_switch_state() argument
455 u32 pval = (u32) kctl->private_value; in snd_s1810c_set_switch_state()
466 snd_s1810c_switch_get(struct snd_kcontrol *kctl, in snd_s1810c_switch_get() argument
469 struct usb_mixer_elem_list *list = snd_kcontrol_chip(kctl); in snd_s1810c_switch_get()
472 u32 pval = (u32) kctl->private_value; in snd_s1810c_switch_get()
478 ret = snd_s1810c_get_switch_state(mixer, kctl, &state); in snd_s1810c_switch_get()
495 snd_s1810c_switch_set(struct snd_kcontrol *kctl, in snd_s1810c_switch_set() argument
498 struct usb_mixer_elem_list *list = snd_kcontrol_chip(kctl); in snd_s1810c_switch_set()
[all …]
H A Dmixer_quirks.c68 struct snd_kcontrol *kctl; in snd_create_std_mono_ctl_offset() local
91 kctl = snd_ctl_new1(snd_usb_feature_unit_ctl, cval); in snd_create_std_mono_ctl_offset()
92 if (!kctl) { in snd_create_std_mono_ctl_offset()
98 snprintf(kctl->id.name, sizeof(kctl->id.name), name); in snd_create_std_mono_ctl_offset()
99 kctl->private_free = snd_usb_mixer_elem_free; in snd_create_std_mono_ctl_offset()
103 kctl->tlv.c = tlv_callback; in snd_create_std_mono_ctl_offset()
104 kctl->vd[0].access |= in snd_create_std_mono_ctl_offset()
109 return snd_usb_mixer_add_control(&cval->head, kctl); in snd_create_std_mono_ctl_offset()
152 struct snd_kcontrol *kctl; in add_single_ctl_with_resume() local
162 kctl = snd_ctl_new1(knew, list); in add_single_ctl_with_resume()
[all …]
H A Dmixer_scarlett2.c3428 struct snd_kcontrol *kctl; in scarlett2_update_autogain()
3446 kctl = snd_ctl_new1(ncontrol, elem); in scarlett2_update_autogain()
3447 if (!kctl) { in scarlett2_update_autogain()
3451 kctl->private_free = snd_usb_mixer_elem_free; in scarlett2_update_autogain()
3453 strscpy(kctl->id.name, name, sizeof(kctl->id.name)); in scarlett2_update_autogain()
3455 err = snd_usb_mixer_add_control(&elem->head, kctl); in scarlett2_update_autogain()
3460 *kctl_return = kctl; in scarlett2_update_autogain()
3468 struct snd_kcontrol *kctl, in scarlett2_update_autogain()
3471 struct usb_mixer_elem_info *elem = kctl in scarlett2_update_autogain()
3219 struct snd_kcontrol *kctl; scarlett2_add_new_ctl() local
3259 scarlett2_firmware_version_ctl_get(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_firmware_version_ctl_get() argument
3271 scarlett2_firmware_version_ctl_info(struct snd_kcontrol * kctl,struct snd_ctl_elem_info * uinfo) scarlett2_firmware_version_ctl_info() argument
3298 scarlett2_min_firmware_version_ctl_get(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_min_firmware_version_ctl_get() argument
3310 scarlett2_min_firmware_version_ctl_info(struct snd_kcontrol * kctl,struct snd_ctl_elem_info * uinfo) scarlett2_min_firmware_version_ctl_info() argument
3347 scarlett2_sync_ctl_info(struct snd_kcontrol * kctl,struct snd_ctl_elem_info * uinfo) scarlett2_sync_ctl_info() argument
3356 scarlett2_sync_ctl_get(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_sync_ctl_get() argument
3407 scarlett2_set_ctl_access(struct snd_kcontrol * kctl,int val) scarlett2_set_ctl_access() argument
3617 scarlett2_autogain_switch_ctl_info(struct snd_kcontrol * kctl,struct snd_ctl_elem_info * uinfo) scarlett2_autogain_switch_ctl_info() argument
3634 scarlett2_autogain_switch_ctl_get(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_autogain_switch_ctl_get() argument
3656 scarlett2_autogain_status_ctl_get(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_autogain_status_ctl_get() argument
3678 scarlett2_autogain_switch_ctl_put(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_autogain_switch_ctl_put() argument
3717 scarlett2_autogain_status_ctl_info(struct snd_kcontrol * kctl,struct snd_ctl_elem_info * uinfo) scarlett2_autogain_status_ctl_info() argument
3747 scarlett2_ag_target_ctl_info(struct snd_kcontrol * kctl,struct snd_ctl_elem_info * uinfo) scarlett2_ag_target_ctl_info() argument
3773 scarlett2_ag_target_ctl_get(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_ag_target_ctl_get() argument
3796 scarlett2_ag_target_ctl_put(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_ag_target_ctl_put() argument
3876 scarlett2_input_select_ctl_get(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_input_select_ctl_get() argument
3898 scarlett2_input_select_ctl_put(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_input_select_ctl_put() argument
3937 scarlett2_input_select_ctl_info(struct snd_kcontrol * kctl,struct snd_ctl_elem_info * uinfo) scarlett2_input_select_ctl_info() argument
3991 scarlett2_autogain_disables_ctl_info(struct snd_kcontrol * kctl,struct snd_ctl_elem_info * uinfo) scarlett2_autogain_disables_ctl_info() argument
4012 scarlett2_input_link_ctl_get(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_input_link_ctl_get() argument
4035 scarlett2_input_link_ctl_put(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_input_link_ctl_put() argument
4091 scarlett2_input_gain_ctl_info(struct snd_kcontrol * kctl,struct snd_ctl_elem_info * uinfo) scarlett2_input_gain_ctl_info() argument
4117 scarlett2_input_gain_ctl_get(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_input_gain_ctl_get() argument
4140 scarlett2_input_gain_ctl_put(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_input_gain_ctl_put() argument
4201 scarlett2_safe_ctl_get(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_safe_ctl_get() argument
4224 scarlett2_safe_ctl_put(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_safe_ctl_put() argument
4284 scarlett2_pcm_input_switch_ctl_get(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_pcm_input_switch_ctl_get() argument
4303 scarlett2_pcm_input_switch_ctl_put(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_pcm_input_switch_ctl_put() argument
4332 scarlett2_pcm_input_switch_ctl_info(struct snd_kcontrol * kctl,struct snd_ctl_elem_info * uinfo) scarlett2_pcm_input_switch_ctl_info() argument
4396 scarlett2_volume_ctl_info(struct snd_kcontrol * kctl,struct snd_ctl_elem_info * uinfo) scarlett2_volume_ctl_info() argument
4409 scarlett2_master_volume_ctl_get(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_master_volume_ctl_get() argument
4432 scarlett2_headphone_volume_ctl_get(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_headphone_volume_ctl_get() argument
4467 scarlett2_volume_ctl_get(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_volume_ctl_get() argument
4490 scarlett2_volume_ctl_put(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_volume_ctl_put() argument
4586 scarlett2_mute_ctl_get(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_mute_ctl_get() argument
4609 scarlett2_mute_ctl_put(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_mute_ctl_put() argument
4660 scarlett2_sw_hw_enum_ctl_info(struct snd_kcontrol * kctl,struct snd_ctl_elem_info * uinfo) scarlett2_sw_hw_enum_ctl_info() argument
4670 scarlett2_sw_hw_enum_ctl_get(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_sw_hw_enum_ctl_get() argument
4746 scarlett2_sw_hw_enum_ctl_put(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_sw_hw_enum_ctl_put() argument
4798 scarlett2_level_enum_ctl_info(struct snd_kcontrol * kctl,struct snd_ctl_elem_info * uinfo) scarlett2_level_enum_ctl_info() argument
4821 scarlett2_level_enum_ctl_get(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_level_enum_ctl_get() argument
4846 scarlett2_level_enum_ctl_put(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_level_enum_ctl_put() argument
4909 scarlett2_pad_ctl_get(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_pad_ctl_get() argument
4932 scarlett2_pad_ctl_put(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_pad_ctl_put() argument
4986 scarlett2_air_ctl_get(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_air_ctl_get() argument
5008 scarlett2_air_ctl_put(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_air_ctl_put() argument
5042 scarlett2_air_with_drive_ctl_info(struct snd_kcontrol * kctl,struct snd_ctl_elem_info * uinfo) scarlett2_air_with_drive_ctl_info() argument
5098 scarlett2_dsp_ctl_get(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_dsp_ctl_get() argument
5120 scarlett2_dsp_ctl_put(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_dsp_ctl_put() argument
5197 scarlett2_compressor_ctl_get(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_compressor_ctl_get() argument
5208 scarlett2_compressor_ctl_put(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_compressor_ctl_put() argument
5256 scarlett2_compressor_ctl_info(struct snd_kcontrol * kctl,struct snd_ctl_elem_info * uinfo) scarlett2_compressor_ctl_info() argument
5280 scarlett2_precomp_flt_switch_ctl_get(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_precomp_flt_switch_ctl_get() argument
5291 scarlett2_peq_flt_switch_ctl_get(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_peq_flt_switch_ctl_get() argument
5303 scarlett2_precomp_flt_switch_ctl_put(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_precomp_flt_switch_ctl_put() argument
5332 scarlett2_peq_flt_switch_ctl_put(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_peq_flt_switch_ctl_put() argument
5440 scarlett2_precomp_flt_ctl_get(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_precomp_flt_ctl_get() argument
5456 scarlett2_peq_flt_ctl_get(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_peq_flt_ctl_get() argument
5472 scarlett2_precomp_flt_ctl_put(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_precomp_flt_ctl_put() argument
5520 scarlett2_peq_flt_ctl_put(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_peq_flt_ctl_put() argument
5575 scarlett2_flt_ctl_info(struct snd_kcontrol * kctl,struct snd_ctl_elem_info * uinfo) scarlett2_flt_ctl_info() argument
5618 scarlett2_input_mute_ctl_get(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_input_mute_ctl_get() argument
5641 scarlett2_input_mute_ctl_put(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_input_mute_ctl_put() argument
5775 scarlett2_phantom_ctl_get(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_phantom_ctl_get() argument
5797 scarlett2_phantom_ctl_put(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_phantom_ctl_put() argument
5848 scarlett2_phantom_persistence_ctl_get(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_phantom_persistence_ctl_get() argument
5858 scarlett2_phantom_persistence_ctl_put(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_phantom_persistence_ctl_put() argument
5959 scarlett2_speaker_switch_enum_ctl_info(struct snd_kcontrol * kctl,struct snd_ctl_elem_info * uinfo) scarlett2_speaker_switch_enum_ctl_info() argument
5969 scarlett2_speaker_switch_enum_ctl_get(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_speaker_switch_enum_ctl_get() argument
6048 scarlett2_speaker_switch_enum_ctl_put(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_speaker_switch_enum_ctl_put() argument
6116 scarlett2_talkback_enum_ctl_info(struct snd_kcontrol * kctl,struct snd_ctl_elem_info * uinfo) scarlett2_talkback_enum_ctl_info() argument
6126 scarlett2_talkback_enum_ctl_get(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_talkback_enum_ctl_get() argument
6148 scarlett2_talkback_enum_ctl_put(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_talkback_enum_ctl_put() argument
6192 scarlett2_talkback_map_ctl_get(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_talkback_map_ctl_get() argument
6205 scarlett2_talkback_map_ctl_put(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_talkback_map_ctl_put() argument
6276 scarlett2_dim_mute_ctl_get(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_dim_mute_ctl_get() argument
6298 scarlett2_dim_mute_ctl_put(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_dim_mute_ctl_put() argument
6348 scarlett2_sp_hp_mute_ctl_get(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_sp_hp_mute_ctl_get() argument
6360 scarlett2_sp_hp_mute_ctl_put(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_sp_hp_mute_ctl_put() argument
6796 scarlett2_mixer_ctl_info(struct snd_kcontrol * kctl,struct snd_ctl_elem_info * uinfo) scarlett2_mixer_ctl_info() argument
6809 scarlett2_mixer_ctl_get(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_mixer_ctl_get() argument
6831 scarlett2_mixer_ctl_put(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_mixer_ctl_put() argument
6938 scarlett2_direct_monitor_ctl_get(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_direct_monitor_ctl_get() argument
6960 scarlett2_direct_monitor_ctl_put(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_direct_monitor_ctl_put() argument
6989 scarlett2_direct_monitor_stereo_enum_ctl_info(struct snd_kcontrol * kctl,struct snd_ctl_elem_info * uinfo) scarlett2_direct_monitor_stereo_enum_ctl_info() argument
7018 scarlett2_monitor_mix_ctl_get(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_monitor_mix_ctl_get() argument
7029 scarlett2_monitor_mix_ctl_put(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_monitor_mix_ctl_put() argument
7129 scarlett2_mux_src_enum_ctl_info(struct snd_kcontrol * kctl,struct snd_ctl_elem_info * uinfo) scarlett2_mux_src_enum_ctl_info() argument
7174 scarlett2_mux_src_enum_ctl_get(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_mux_src_enum_ctl_get() argument
7197 scarlett2_mux_src_enum_ctl_put(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_mux_src_enum_ctl_put() argument
7275 scarlett2_meter_ctl_info(struct snd_kcontrol * kctl,struct snd_ctl_elem_info * uinfo) scarlett2_meter_ctl_info() argument
7288 scarlett2_meter_ctl_get(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_meter_ctl_get() argument
7347 scarlett2_msd_ctl_get(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_msd_ctl_get() argument
7357 scarlett2_msd_ctl_put(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_msd_ctl_put() argument
7411 scarlett2_standalone_ctl_get(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_standalone_ctl_get() argument
7421 scarlett2_standalone_ctl_put(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_standalone_ctl_put() argument
7501 scarlett2_power_status_ctl_get(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_power_status_ctl_get() argument
7521 scarlett2_power_status_ctl_info(struct snd_kcontrol * kctl,struct snd_ctl_elem_info * uinfo) scarlett2_power_status_ctl_info() argument
7573 scarlett2_bluetooth_volume_ctl_get(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_bluetooth_volume_ctl_get() argument
7595 scarlett2_bluetooth_volume_ctl_put(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_bluetooth_volume_ctl_put() argument
7624 scarlett2_bluetooth_volume_ctl_info(struct snd_kcontrol * kctl,struct snd_ctl_elem_info * uinfo) scarlett2_bluetooth_volume_ctl_info() argument
7684 scarlett2_spdif_mode_ctl_info(struct snd_kcontrol * kctl,struct snd_ctl_elem_info * uinfo) scarlett2_spdif_mode_ctl_info() argument
7699 scarlett2_spdif_mode_ctl_get(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_spdif_mode_ctl_get() argument
7709 scarlett2_spdif_mode_ctl_put(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * ucontrol) scarlett2_spdif_mode_ctl_put() argument
[all...]
H A Dmixer.h70 struct snd_kcontrol *kctl;
112 struct snd_kcontrol *kctl, argument
115 #define snd_usb_mixer_add_control(list, kctl) \
116 snd_usb_mixer_add_list(list, kctl, true)
134 extern void snd_usb_mixer_elem_free(struct snd_kcontrol *kctl);
68 struct snd_kcontrol *kctl; global() member
/linux/sound/hda/codecs/side-codecs/
H A Dtas2781_hda.h71 int tasdevice_info_profile(struct snd_kcontrol *kctl,
73 int tasdevice_info_programs(struct snd_kcontrol *kctl,
75 int tasdevice_info_config(struct snd_kcontrol *kctl,
77 int tasdevice_set_profile_id(struct snd_kcontrol *kctl,
79 int tasdevice_get_profile_id(struct snd_kcontrol *kctl,
81 int tasdevice_program_get(struct snd_kcontrol *kctl,
83 int tasdevice_program_put(struct snd_kcontrol *kctl,
85 int tasdevice_config_put(struct snd_kcontrol *kctl,
87 int tasdevice_config_get(struct snd_kcontrol *kctl,
/linux/sound/soc/sdca/
H A Dsdca_asoc.c196 struct snd_kcontrol_new *kctl; in entity_early_parse_ge() local
220 kctl = devm_kzalloc(dev, sizeof(*kctl), GFP_KERNEL); in entity_early_parse_ge()
221 if (!kctl) in entity_early_parse_ge()
262 kctl->iface = SNDRV_CTL_ELEM_IFACE_MIXER; in entity_early_parse_ge()
263 kctl->name = control_name; in entity_early_parse_ge()
264 kctl->info = snd_soc_info_enum_double; in entity_early_parse_ge()
265 kctl->get = snd_soc_dapm_get_enum_double; in entity_early_parse_ge()
266 kctl->put = ge_put_enum_double; in entity_early_parse_ge()
267 kctl->private_value = (unsigned long)soc_enum; in entity_early_parse_ge()
269 entity->ge.kctl = kctl; in entity_early_parse_ge()
[all …]
H A Dsdca_jack.c42 struct snd_kcontrol *kctl = state->kctl; in sdca_jack_process() local
89 soc_enum = (struct soc_enum *)kctl->private_value; in sdca_jack_process()
92 ret = snd_soc_dapm_put_enum_double(kctl, ucontrol); in sdca_jack_process()
98 snd_ctl_notify(card->snd_card, SNDRV_CTL_EVENT_MASK_VALUE, &kctl->id); in sdca_jack_process()
150 jack_state->kctl = snd_soc_component_get_kcontrol(interrupt->component, name); in sdca_jack_init_state()
151 if (!jack_state->kctl) { in sdca_jack_init_state()
/linux/sound/pci/cs5535audio/
H A Dcs5535audio_olpc.c61 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()
/linux/sound/core/oss/
H A Dmixer_oss.c517 struct snd_kcontrol *kctl; in snd_mixer_oss_get_volume1_vol()
525 kctl = snd_ctl_find_numid(card, numid); in snd_mixer_oss_get_volume1_vol()
526 if (!kctl) in snd_mixer_oss_get_volume1_vol()
535 if (kctl->info(kctl, uinfo)) in snd_mixer_oss_get_volume1_vol()
537 if (kctl->get(kctl, uctl)) in snd_mixer_oss_get_volume1_vol()
553 struct snd_kcontrol *kctl; in snd_mixer_oss_get_volume1_sw()
561 kctl = snd_ctl_find_numid(card, numid); in snd_mixer_oss_get_volume1_sw()
562 if (!kctl) in snd_mixer_oss_get_volume1_sw()
520 struct snd_kcontrol *kctl; snd_mixer_oss_get_volume1_vol() local
556 struct snd_kcontrol *kctl; snd_mixer_oss_get_volume1_sw() local
618 struct snd_kcontrol *kctl; snd_mixer_oss_put_volume1_vol() local
658 struct snd_kcontrol *kctl; snd_mixer_oss_put_volume1_sw() local
795 struct snd_kcontrol *kctl; snd_mixer_oss_get_recsrc2() local
839 struct snd_kcontrol *kctl; snd_mixer_oss_put_recsrc2() local
1010 struct snd_kcontrol *kctl; snd_mixer_oss_build_input() local
[all...]
/linux/sound/virtio/
H A Dvirtio_kctl.c97 struct virtio_kctl *kctl = &snd->kctls[kcontrol->private_value];
131 strscpy(uinfo->value.enumerated.name, kctl->items[i].item, in virtsnd_kctl_get()
368 struct virtio_kctl *kctl = &snd->kctls[cid]; in virtsnd_kctl_parse_cfg()
379 kctl->items = devm_kcalloc(&vdev->dev, n, sizeof(*kctl->items), in virtsnd_kctl_parse_cfg()
381 if (!kctl->items) { in virtsnd_kctl_parse_cfg()
386 sg_init_one(&sg, kctl->items, n * sizeof(*kctl->items)); in virtsnd_kctl_parse_cfg()
461 struct virtio_kctl *kctl = &snd->kctls[cid]; in virtsnd_kctl_event() local
488 kctl
51 struct virtio_kctl *kctl = &snd->kctls[kcontrol->private_value]; virtsnd_kctl_info() local
322 struct virtio_kctl *kctl = &snd->kctls[cid]; virtsnd_kctl_get_enum_items() local
411 struct virtio_kctl *kctl = &snd->kctls[cid]; virtsnd_kctl_build_devs() local
[all...]
/linux/sound/pci/au88x0/
H A Dau88x0_pcm.c115 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 …]
/linux/sound/pci/ac97/
H A Dac97_codec.c671 static void set_inv_eapd(struct snd_ac97 *ac97, struct snd_kcontrol *kctl) in set_inv_eapd() argument
673 kctl->private_value = AC97_SINGLE_VALUE(AC97_POWERDOWN, 15, 1, 0); in set_inv_eapd()
1158 struct snd_kcontrol *kctl; in snd_ac97_cmute_new_stereo() local
1179 kctl = snd_ctl_new1(&tmp, ac97); in snd_ac97_cmute_new_stereo()
1185 kctl = snd_ctl_new1(&tmp, ac97); in snd_ac97_cmute_new_stereo()
1187 err = snd_ctl_add(card, kctl); in snd_ac97_cmute_new_stereo()
1214 static void set_tlv_db_scale(struct snd_kcontrol *kctl, const unsigned int *tlv) in set_tlv_db_scale() argument
1216 kctl->tlv.p = tlv; in set_tlv_db_scale()
1218 kctl->vd[0].access |= SNDRV_CTL_ELEM_ACCESS_TLV_READ; in set_tlv_db_scale()
1228 struct snd_kcontrol *kctl; in snd_ac97_cvol_new() local
[all …]
/linux/drivers/usb/gadget/function/
H A Du_audio.c1186 struct snd_kcontrol *kctl; in g_audio_setup() local
1286 kctl = snd_ctl_new1(&u_audio_controls[UAC_FBACK_CTRL], in g_audio_setup()
1288 if (!kctl) { in g_audio_setup()
1293 kctl->id.device = pcm->device; in g_audio_setup()
1294 kctl->id.subdevice = 0; in g_audio_setup()
1296 err = snd_ctl_add(card, kctl); in g_audio_setup()
1302 kctl = snd_ctl_new1(&u_audio_controls[UAC_P_PITCH_CTRL], in g_audio_setup()
1304 if (!kctl) { in g_audio_setup()
1309 kctl->id.device = pcm->device; in g_audio_setup()
1310 kctl->id.subdevice = 0; in g_audio_setup()
[all …]
/linux/sound/drivers/
H A Dmts64.c430 static int snd_mts64_ctl_smpte_switch_get(struct snd_kcontrol* kctl, in snd_mts64_ctl_smpte_switch_get() argument
433 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()
477 static int snd_mts64_ctl_smpte_time_h_info(struct snd_kcontrol *kctl, in snd_mts64_ctl_smpte_time_h_info() argument
487 static int snd_mts64_ctl_smpte_time_f_info(struct snd_kcontrol *kctl, in snd_mts64_ctl_smpte_time_f_info() argument
497 static int snd_mts64_ctl_smpte_time_info(struct snd_kcontrol *kctl, in snd_mts64_ctl_smpte_time_info() argument
507 static int snd_mts64_ctl_smpte_time_get(struct snd_kcontrol *kctl, in snd_mts64_ctl_smpte_time_get() argument
510 struct mts64 *mts = snd_kcontrol_chip(kctl); in snd_mts64_ctl_smpte_time_get()
511 int idx = kctl in snd_mts64_ctl_smpte_time_get()
519 snd_mts64_ctl_smpte_time_put(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * uctl) snd_mts64_ctl_smpte_time_put() argument
580 snd_mts64_ctl_smpte_fps_info(struct snd_kcontrol * kctl,struct snd_ctl_elem_info * uinfo) snd_mts64_ctl_smpte_fps_info() argument
590 snd_mts64_ctl_smpte_fps_get(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * uctl) snd_mts64_ctl_smpte_fps_get() argument
601 snd_mts64_ctl_smpte_fps_put(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * uctl) snd_mts64_ctl_smpte_fps_put() argument
[all...]
/linux/sound/soc/intel/atom/
H A Dsst-atom-controls.c240 /* kctl set to 'none' and we reset the bits so send IPC */ in sst_slot_put()
301 bc = (void *)algo->kctl->private_value; in sst_find_and_send_pipe_algo()
304 algo->kctl->id.name, pipe); in sst_find_and_send_pipe_algo()
597 struct snd_kcontrol *kctl = gain->kctl;
599 dev_dbg(&drv->pdev->dev, "control name=%s\n", kctl->id.name); in sst_set_pipe_gain()
600 mc = (void *)kctl->private_value; in sst_set_pipe_gain()
1365 * @kctl: kcontrol pointer in sst_send_pipe_gains()
1378 static int sst_fill_module_list(struct snd_kcontrol *kctl,
1391 struct sst_gain_mixer_control *mc = (void *)kctl in sst_fill_module_list()
608 struct snd_kcontrol *kctl = gain->kctl; sst_set_pipe_gain() local
1387 sst_fill_module_list(struct snd_kcontrol * kctl,struct snd_soc_dapm_widget * w,int type) sst_fill_module_list() argument
1432 struct snd_kcontrol *kctl; sst_fill_widget_module_info() local
[all...]
/linux/sound/hda/common/
H A Dcodec.c1678 * @kctl: the control element to assign
1691 * specifies if kctl->private_value is a HDA amplifier value.
1694 struct snd_kcontrol *kctl)
1700 if (!kctl) in snd_hda_ctl_add()
1703 if (kctl->id.subdevice & HDA_SUBDEV_AMP_FLAG) { in snd_hda_ctl_add()
1706 nid = get_amp_nid_(kctl->private_value); in snd_hda_ctl_add()
1708 if ((kctl->id.subdevice & HDA_SUBDEV_NID_FLAG) != 0 && nid == 0) in snd_hda_ctl_add()
1709 nid = kctl->id.subdevice & 0xffff; in snd_hda_ctl_add()
1710 if (kctl->id.subdevice & (HDA_SUBDEV_NID_FLAG|HDA_SUBDEV_AMP_FLAG)) in snd_hda_ctl_add()
1711 kctl in snd_hda_ctl_add()
1696 snd_hda_ctl_add(struct hda_codec * codec,hda_nid_t nid,struct snd_kcontrol * kctl) snd_hda_ctl_add() argument
1857 put_kctl_with_value(struct snd_kcontrol * kctl,int val) put_kctl_with_value() argument
1877 init_follower_0dB(struct snd_kcontrol * follower,struct snd_kcontrol * kctl,void * _arg) init_follower_0dB() argument
1924 init_follower_unmute(struct snd_kcontrol * follower,struct snd_kcontrol * kctl,void * _arg) init_follower_unmute() argument
1961 struct snd_kcontrol *kctl; __snd_hda_add_vmaster() local
2405 struct snd_kcontrol *kctl; snd_hda_create_dig_out_ctls() local
2580 struct snd_kcontrol *kctl; snd_hda_create_spdif_share_sw() local
2684 struct snd_kcontrol *kctl; snd_hda_create_spdif_in_ctls() local
3379 struct snd_kcontrol *kctl; snd_hda_add_new_ctls() local
[all...]
/linux/sound/i2c/other/
H A Dak4114.c450 struct snd_kcontrol *kctl; in snd_ak4114_build() local
459 kctl = snd_ctl_new1(&snd_ak4114_iec958_controls[idx], ak4114); in snd_ak4114_build()
460 if (kctl == NULL) in snd_ak4114_build()
462 if (strstr(kctl->id.name, "Playback")) { in snd_ak4114_build()
464 snd_ctl_free_one(kctl); in snd_ak4114_build()
468 kctl->id.device = ply_substream->pcm->device; in snd_ak4114_build()
469 kctl->id.subdevice = ply_substream->number; in snd_ak4114_build()
471 kctl->id.device = cap_substream->pcm->device; in snd_ak4114_build()
472 kctl->id.subdevice = cap_substream->number; in snd_ak4114_build()
474 err = snd_ctl_add(ak4114->card, kctl); in snd_ak4114_build()
[all …]

1234