Lines Matching refs:cont
292 struct snd_kcontrol_new cont; in snd_wm8766_add_control() local
295 memset(&cont, 0, sizeof(cont)); in snd_wm8766_add_control()
296 cont.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_wm8766_add_control()
297 cont.private_value = num; in snd_wm8766_add_control()
298 cont.name = wm->ctl[num].name; in snd_wm8766_add_control()
299 cont.access = SNDRV_CTL_ELEM_ACCESS_READWRITE; in snd_wm8766_add_control()
302 cont.access |= SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_wm8766_add_control()
303 cont.tlv.p = NULL; in snd_wm8766_add_control()
304 cont.get = snd_wm8766_ctl_get; in snd_wm8766_add_control()
305 cont.put = snd_wm8766_ctl_put; in snd_wm8766_add_control()
309 cont.info = snd_wm8766_volume_info; in snd_wm8766_add_control()
310 cont.access |= SNDRV_CTL_ELEM_ACCESS_TLV_READ; in snd_wm8766_add_control()
311 cont.tlv.p = wm->ctl[num].tlv; in snd_wm8766_add_control()
316 cont.info = snd_ctl_boolean_stereo_info; in snd_wm8766_add_control()
318 cont.info = snd_ctl_boolean_mono_info; in snd_wm8766_add_control()
321 cont.info = snd_wm8766_enum_info; in snd_wm8766_add_control()
326 ctl = snd_ctl_new1(&cont, wm); in snd_wm8766_add_control()