• Home
  • Raw
  • Download

Lines Matching refs:kc

763 					struct snd_kcontrol *kc, int event)  in hdac_hdmi_pin_output_widget_event()  argument
808 struct snd_kcontrol *kc, int event) in hdac_hdmi_cvt_output_widget_event() argument
863 struct snd_kcontrol *kc, int event) in hdac_hdmi_pin_mux_widget_event() argument
872 if (!kc) in hdac_hdmi_pin_mux_widget_event()
873 kc = w->kcontrols[0]; in hdac_hdmi_pin_mux_widget_event()
875 mux_idx = dapm_kcontrol_get_value(kc); in hdac_hdmi_pin_mux_widget_event()
962 struct snd_kcontrol_new *kc; in hdac_hdmi_create_pin_port_muxs() local
972 kc = devm_kzalloc(&hdev->dev, sizeof(*kc), GFP_KERNEL); in hdac_hdmi_create_pin_port_muxs()
973 if (!kc) in hdac_hdmi_create_pin_port_muxs()
982 kc->name = devm_kstrdup(&hdev->dev, kc_name, GFP_KERNEL); in hdac_hdmi_create_pin_port_muxs()
983 if (!kc->name) in hdac_hdmi_create_pin_port_muxs()
986 kc->private_value = (long)se; in hdac_hdmi_create_pin_port_muxs()
987 kc->iface = SNDRV_CTL_ELEM_IFACE_MIXER; in hdac_hdmi_create_pin_port_muxs()
988 kc->access = 0; in hdac_hdmi_create_pin_port_muxs()
989 kc->info = snd_soc_info_enum_double; in hdac_hdmi_create_pin_port_muxs()
990 kc->put = hdac_hdmi_set_pin_port_mux; in hdac_hdmi_create_pin_port_muxs()
991 kc->get = snd_soc_dapm_get_enum_double; in hdac_hdmi_create_pin_port_muxs()
1018 snd_soc_dapm_mux, port, widget_name, NULL, kc, 1, in hdac_hdmi_create_pin_port_muxs()
1029 const struct snd_kcontrol_new *kc; in hdac_hdmi_add_pinmux_cvt_route() local
1035 kc = widgets[mux_index].kcontrol_news; in hdac_hdmi_add_pinmux_cvt_route()
1036 se = (struct soc_enum *)kc->private_value; in hdac_hdmi_add_pinmux_cvt_route()
1768 struct snd_kcontrol_new *kc; in create_fill_jack_kcontrols() local
1775 kc = devm_kcalloc(component->dev, hdmi->num_ports, in create_fill_jack_kcontrols()
1776 sizeof(*kc), GFP_KERNEL); in create_fill_jack_kcontrols()
1778 if (!kc) in create_fill_jack_kcontrols()
1789 kc[i].name = devm_kstrdup(component->dev, kc_name, in create_fill_jack_kcontrols()
1791 if (!kc[i].name) in create_fill_jack_kcontrols()
1794 kc[i].private_value = (unsigned long)name; in create_fill_jack_kcontrols()
1795 kc[i].iface = SNDRV_CTL_ELEM_IFACE_MIXER; in create_fill_jack_kcontrols()
1796 kc[i].access = 0; in create_fill_jack_kcontrols()
1797 kc[i].info = snd_soc_dapm_info_pin_switch; in create_fill_jack_kcontrols()
1798 kc[i].put = snd_soc_dapm_put_pin_switch; in create_fill_jack_kcontrols()
1799 kc[i].get = snd_soc_dapm_get_pin_switch; in create_fill_jack_kcontrols()
1804 return snd_soc_add_card_controls(card, kc, i); in create_fill_jack_kcontrols()