Lines Matching refs:kc
818 struct snd_kcontrol_new *kc, in sof_control_load_volume() argument
839 kc->info = snd_sof_volume_info; in sof_control_load_volume()
851 if (!kc->tlv.p || get_tlv_data(kc->tlv.p, tlv) < 0) { in sof_control_load_volume()
879 kc->access &= ~SNDRV_CTL_ELEM_ACCESS_LED_MASK; in sof_control_load_volume()
880 kc->access |= mask; in sof_control_load_volume()
898 struct snd_kcontrol_new *kc, in sof_control_load_enum() argument
920 struct snd_kcontrol_new *kc, in sof_control_load_bytes() argument
926 struct soc_bytes_ext *sbe = (struct soc_bytes_ext *)kc->private_value; in sof_control_load_bytes()
948 struct snd_kcontrol_new *kc, in sof_control_load() argument
973 scontrol->access = kc->access; in sof_control_load()
975 scontrol->index = kc->index; in sof_control_load()
981 sm = (struct soc_mixer_control *)kc->private_value; in sof_control_load()
983 ret = sof_control_load_volume(scomp, scontrol, kc, hdr); in sof_control_load()
986 sbe = (struct soc_bytes_ext *)kc->private_value; in sof_control_load()
988 ret = sof_control_load_bytes(scomp, scontrol, kc, hdr); in sof_control_load()
992 se = (struct soc_enum *)kc->private_value; in sof_control_load()
994 ret = sof_control_load_enum(scomp, scontrol, kc, hdr); in sof_control_load()
1611 const struct snd_kcontrol_new *kc; in sof_widget_unload() local
1651 kc = &widget->kcontrol_news[i]; in sof_widget_unload()
1654 sm = (struct soc_mixer_control *)kc->private_value; in sof_widget_unload()
1660 se = (struct soc_enum *)kc->private_value; in sof_widget_unload()
1664 sbe = (struct soc_bytes_ext *)kc->private_value; in sof_widget_unload()