Lines Matching refs:kc
820 struct snd_kcontrol_new *kc, in sof_control_load_volume() argument
841 kc->info = snd_sof_volume_info; in sof_control_load_volume()
853 if (!kc->tlv.p || get_tlv_data(kc->tlv.p, tlv) < 0) { in sof_control_load_volume()
881 kc->access &= ~SNDRV_CTL_ELEM_ACCESS_LED_MASK; in sof_control_load_volume()
882 kc->access |= mask; in sof_control_load_volume()
900 struct snd_kcontrol_new *kc, in sof_control_load_enum() argument
922 struct snd_kcontrol_new *kc, in sof_control_load_bytes() argument
928 struct soc_bytes_ext *sbe = (struct soc_bytes_ext *)kc->private_value; in sof_control_load_bytes()
950 struct snd_kcontrol_new *kc, in sof_control_load() argument
975 scontrol->access = kc->access; in sof_control_load()
977 scontrol->index = kc->index; in sof_control_load()
983 sm = (struct soc_mixer_control *)kc->private_value; in sof_control_load()
985 ret = sof_control_load_volume(scomp, scontrol, kc, hdr); in sof_control_load()
988 sbe = (struct soc_bytes_ext *)kc->private_value; in sof_control_load()
990 ret = sof_control_load_bytes(scomp, scontrol, kc, hdr); in sof_control_load()
994 se = (struct soc_enum *)kc->private_value; in sof_control_load()
996 ret = sof_control_load_enum(scomp, scontrol, kc, hdr); in sof_control_load()
1612 const struct snd_kcontrol_new *kc; in sof_widget_unload() local
1652 kc = &widget->kcontrol_news[i]; in sof_widget_unload()
1655 sm = (struct soc_mixer_control *)kc->private_value; in sof_widget_unload()
1661 se = (struct soc_enum *)kc->private_value; in sof_widget_unload()
1665 sbe = (struct soc_bytes_ext *)kc->private_value; in sof_widget_unload()