Lines Matching refs:knew
172 struct snd_kcontrol_new knew; in snd_pt2258_build_controls() local
181 memset(&knew, 0, sizeof(knew)); in snd_pt2258_build_controls()
182 knew.name = names[i]; in snd_pt2258_build_controls()
183 knew.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_pt2258_build_controls()
184 knew.count = 1; in snd_pt2258_build_controls()
185 knew.access = SNDRV_CTL_ELEM_ACCESS_READWRITE | in snd_pt2258_build_controls()
187 knew.private_value = 2 * i; in snd_pt2258_build_controls()
188 knew.info = pt2258_stereo_volume_info; in snd_pt2258_build_controls()
189 knew.get = pt2258_stereo_volume_get; in snd_pt2258_build_controls()
190 knew.put = pt2258_stereo_volume_put; in snd_pt2258_build_controls()
191 knew.tlv.p = pt2258_db_scale; in snd_pt2258_build_controls()
193 err = snd_ctl_add(pt->card, snd_ctl_new1(&knew, pt)); in snd_pt2258_build_controls()
198 memset(&knew, 0, sizeof(knew)); in snd_pt2258_build_controls()
199 knew.name = "Loopback Switch"; in snd_pt2258_build_controls()
200 knew.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_pt2258_build_controls()
201 knew.info = pt2258_switch_info; in snd_pt2258_build_controls()
202 knew.get = pt2258_switch_get; in snd_pt2258_build_controls()
203 knew.put = pt2258_switch_put; in snd_pt2258_build_controls()
204 knew.access = 0; in snd_pt2258_build_controls()
205 err = snd_ctl_add(pt->card, snd_ctl_new1(&knew, pt)); in snd_pt2258_build_controls()