/sound/pci/ice1712/ |
D | se.c | 420 static int se200pci_cont_volume_info(struct snd_kcontrol *kc, in se200pci_cont_volume_info() argument 432 static int se200pci_cont_enum_info(struct snd_kcontrol *kc, in se200pci_cont_enum_info() argument 437 n = kc->private_value; in se200pci_cont_enum_info() 444 static int se200pci_cont_volume_get(struct snd_kcontrol *kc, in se200pci_cont_volume_get() argument 447 struct snd_ice1712 *ice = snd_kcontrol_chip(kc); in se200pci_cont_volume_get() 449 int n = kc->private_value; in se200pci_cont_volume_get() 455 static int se200pci_cont_boolean_get(struct snd_kcontrol *kc, in se200pci_cont_boolean_get() argument 458 struct snd_ice1712 *ice = snd_kcontrol_chip(kc); in se200pci_cont_boolean_get() 460 int n = kc->private_value; in se200pci_cont_boolean_get() 465 static int se200pci_cont_enum_get(struct snd_kcontrol *kc, in se200pci_cont_enum_get() argument [all …]
|
/sound/soc/ |
D | soc-topology.c | 696 struct snd_kcontrol_new *kc, struct snd_soc_tplg_tlv_dbscale *scale) in soc_tplg_create_tlv_db_scale() argument 711 kc->tlv.p = (void *)p; in soc_tplg_create_tlv_db_scale() 716 struct snd_kcontrol_new *kc, struct snd_soc_tplg_ctl_hdr *tc) in soc_tplg_create_tlv() argument 728 return soc_tplg_create_tlv_db_scale(tplg, kc, in soc_tplg_create_tlv() 743 struct snd_kcontrol_new *kc) in soc_tplg_free_tlv() argument 745 kfree(kc->tlv.p); in soc_tplg_free_tlv() 753 struct snd_kcontrol_new kc; in soc_tplg_dbytes_create() local 783 memset(&kc, 0, sizeof(kc)); in soc_tplg_dbytes_create() 784 kc.name = be->hdr.name; in soc_tplg_dbytes_create() 785 kc.private_value = (long)sbe; in soc_tplg_dbytes_create() [all …]
|
/sound/parisc/ |
D | harmony.c | 676 snd_harmony_mixercontrol_info(struct snd_kcontrol *kc, in snd_harmony_mixercontrol_info() argument 679 int mask = (kc->private_value >> 16) & 0xff; in snd_harmony_mixercontrol_info() 680 int left_shift = (kc->private_value) & 0xff; in snd_harmony_mixercontrol_info() 681 int right_shift = (kc->private_value >> 8) & 0xff; in snd_harmony_mixercontrol_info() 693 snd_harmony_volume_get(struct snd_kcontrol *kc, in snd_harmony_volume_get() argument 696 struct snd_harmony *h = snd_kcontrol_chip(kc); in snd_harmony_volume_get() 697 int shift_left = (kc->private_value) & 0xff; in snd_harmony_volume_get() 698 int shift_right = (kc->private_value >> 8) & 0xff; in snd_harmony_volume_get() 699 int mask = (kc->private_value >> 16) & 0xff; in snd_harmony_volume_get() 700 int invert = (kc->private_value >> 24) & 0xff; in snd_harmony_volume_get() [all …]
|
/sound/soc/codecs/ |
D | hdac_hdmi.c | 769 struct snd_kcontrol *kc, int event) in hdac_hdmi_pin_output_widget_event() argument 814 struct snd_kcontrol *kc, int event) in hdac_hdmi_cvt_output_widget_event() argument 869 struct snd_kcontrol *kc, int event) in hdac_hdmi_pin_mux_widget_event() argument 878 if (!kc) in hdac_hdmi_pin_mux_widget_event() 879 kc = w->kcontrols[0]; in hdac_hdmi_pin_mux_widget_event() 881 mux_idx = dapm_kcontrol_get_value(kc); in hdac_hdmi_pin_mux_widget_event() 968 struct snd_kcontrol_new *kc; in hdac_hdmi_create_pin_port_muxs() local 978 kc = devm_kzalloc(&hdev->dev, sizeof(*kc), GFP_KERNEL); in hdac_hdmi_create_pin_port_muxs() 979 if (!kc) in hdac_hdmi_create_pin_port_muxs() 988 kc->name = devm_kstrdup(&hdev->dev, kc_name, GFP_KERNEL); in hdac_hdmi_create_pin_port_muxs() [all …]
|
D | wcd9335.c | 1269 static int slim_rx_mux_get(struct snd_kcontrol *kc, in slim_rx_mux_get() argument 1272 struct snd_soc_dapm_context *dapm = snd_soc_dapm_kcontrol_dapm(kc); in slim_rx_mux_get() 1280 static int slim_rx_mux_put(struct snd_kcontrol *kc, in slim_rx_mux_put() argument 1283 struct snd_soc_dapm_widget *w = snd_soc_dapm_kcontrol_widget(kc); in slim_rx_mux_put() 1285 struct soc_enum *e = (struct soc_enum *)kc->private_value; in slim_rx_mux_put() 1316 snd_soc_dapm_mux_update_power(w->dapm, kc, wcd->rx_port_value, in slim_rx_mux_put() 1324 static int slim_tx_mixer_get(struct snd_kcontrol *kc, in slim_tx_mixer_get() argument 1328 struct snd_soc_dapm_context *dapm = snd_soc_dapm_kcontrol_dapm(kc); in slim_tx_mixer_get() 1336 static int slim_tx_mixer_put(struct snd_kcontrol *kc, in slim_tx_mixer_put() argument 1340 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_widget(kc); in slim_tx_mixer_put() [all …]
|
/sound/pci/hda/ |
D | hda_local.h | 631 #define get_amp_nid(kc) get_amp_nid_((kc)->private_value) argument 632 #define get_amp_channels(kc) (((kc)->private_value >> 16) & 0x3) argument 634 #define get_amp_direction(kc) get_amp_direction_((kc)->private_value) argument 636 #define get_amp_index(kc) get_amp_index_((kc)->private_value) argument 637 #define get_amp_offset(kc) (((kc)->private_value >> 23) & 0x3f) argument 638 #define get_amp_min_mute(kc) (((kc)->private_value >> 29) & 0x1) argument
|
/sound/soc/ti/ |
D | omap-mcbsp-st.c | 401 omap_mcbsp_set_st_ch##channel##_volume(struct snd_kcontrol *kc, \ 404 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kc); \ 407 (struct soc_mixer_control *)kc->private_value; \ 420 omap_mcbsp_get_st_ch##channel##_volume(struct snd_kcontrol *kc, \ 423 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kc); \
|
/sound/soc/sof/ |
D | topology.c | 441 struct snd_kcontrol_new *kc, in sof_control_load_volume() argument 477 if (get_tlv_data(kc->tlv.p, tlv) < 0) { in sof_control_load_volume() 505 struct snd_kcontrol_new *kc, in sof_control_load_enum() argument 536 struct snd_kcontrol_new *kc, in sof_control_load_bytes() argument 543 struct soc_bytes_ext *sbe = (struct soc_bytes_ext *)kc->private_value; in sof_control_load_bytes() 1045 struct snd_kcontrol_new *kc, in sof_control_load() argument 1069 sm = (struct soc_mixer_control *)kc->private_value; in sof_control_load() 1071 ret = sof_control_load_volume(scomp, scontrol, kc, hdr); in sof_control_load() 1074 sbe = (struct soc_bytes_ext *)kc->private_value; in sof_control_load() 1076 ret = sof_control_load_bytes(scomp, scontrol, kc, hdr); in sof_control_load() [all …]
|
/sound/usb/caiaq/ |
D | control.c | 575 struct snd_kcontrol *kc; in add_controls() local 580 kc = snd_ctl_new1(&kcontrol_template, cdev); in add_controls() 581 ret = snd_ctl_add(cdev->chip.card, kc); in add_controls()
|
/sound/usb/ |
D | mixer_quirks.c | 847 const struct snd_kcontrol_new *kc, in snd_nativeinstruments_create_mixer() argument 862 template.name = kc[i].name; in snd_nativeinstruments_create_mixer() 863 template.private_value = kc[i].private_value; in snd_nativeinstruments_create_mixer()
|