Lines Matching refs:oxfw

148 	struct snd_oxfw *oxfw = control->private_data;  in spkr_mute_get()  local
149 struct fw_spkr *spkr = oxfw->spec; in spkr_mute_get()
159 struct snd_oxfw *oxfw = control->private_data; in spkr_mute_put() local
160 struct fw_spkr *spkr = oxfw->spec; in spkr_mute_put()
169 err = avc_audio_feature_mute(oxfw->unit, spkr->mute_fb_id, &mute, in spkr_mute_put()
181 struct snd_oxfw *oxfw = control->private_data; in spkr_volume_info() local
182 struct fw_spkr *spkr = oxfw->spec; in spkr_volume_info()
197 struct snd_oxfw *oxfw = control->private_data; in spkr_volume_get() local
198 struct fw_spkr *spkr = oxfw->spec; in spkr_volume_get()
210 struct snd_oxfw *oxfw = control->private_data; in spkr_volume_put() local
211 struct fw_spkr *spkr = oxfw->spec; in spkr_volume_put()
238 err = avc_audio_feature_volume(oxfw->unit, in spkr_volume_put()
251 int snd_oxfw_add_spkr(struct snd_oxfw *oxfw, bool is_lacie) in snd_oxfw_add_spkr() argument
273 spkr = devm_kzalloc(&oxfw->card->card_dev, sizeof(struct fw_spkr), in snd_oxfw_add_spkr()
277 oxfw->spec = spkr; in snd_oxfw_add_spkr()
289 err = avc_audio_feature_volume(oxfw->unit, spkr->volume_fb_id, in snd_oxfw_add_spkr()
293 err = avc_audio_feature_volume(oxfw->unit, spkr->volume_fb_id, in snd_oxfw_add_spkr()
298 err = avc_audio_feature_mute(oxfw->unit, spkr->mute_fb_id, &spkr->mute, in snd_oxfw_add_spkr()
305 err = avc_audio_feature_volume(oxfw->unit, spkr->volume_fb_id, in snd_oxfw_add_spkr()
313 err = snd_ctl_add(oxfw->card, in snd_oxfw_add_spkr()
314 snd_ctl_new1(&controls[i], oxfw)); in snd_oxfw_add_spkr()