Lines Matching refs:kc
767 struct snd_kcontrol_new *kc, in sof_control_load_volume() argument
788 kc->info = snd_sof_volume_info; in sof_control_load_volume()
800 if (!kc->tlv.p || get_tlv_data(kc->tlv.p, tlv) < 0) { in sof_control_load_volume()
828 kc->access &= ~SNDRV_CTL_ELEM_ACCESS_LED_MASK; in sof_control_load_volume()
829 kc->access |= mask; in sof_control_load_volume()
847 struct snd_kcontrol_new *kc, in sof_control_load_enum() argument
869 struct snd_kcontrol_new *kc, in sof_control_load_bytes() argument
875 struct soc_bytes_ext *sbe = (struct soc_bytes_ext *)kc->private_value; in sof_control_load_bytes()
897 struct snd_kcontrol_new *kc, in sof_control_load() argument
922 scontrol->access = kc->access; in sof_control_load()
924 scontrol->index = kc->index; in sof_control_load()
930 sm = (struct soc_mixer_control *)kc->private_value; in sof_control_load()
932 ret = sof_control_load_volume(scomp, scontrol, kc, hdr); in sof_control_load()
935 sbe = (struct soc_bytes_ext *)kc->private_value; in sof_control_load()
937 ret = sof_control_load_bytes(scomp, scontrol, kc, hdr); in sof_control_load()
941 se = (struct soc_enum *)kc->private_value; in sof_control_load()
943 ret = sof_control_load_enum(scomp, scontrol, kc, hdr); in sof_control_load()
1417 const struct snd_kcontrol_new *kc; in sof_widget_unload() local
1448 kc = &widget->kcontrol_news[i]; in sof_widget_unload()
1451 sm = (struct soc_mixer_control *)kc->private_value; in sof_widget_unload()
1457 se = (struct soc_enum *)kc->private_value; in sof_widget_unload()
1461 sbe = (struct soc_bytes_ext *)kc->private_value; in sof_widget_unload()