Lines Matching refs:ucontrol

283 				       struct snd_ctl_elem_value *ucontrol)  in img_spdif_in_get_status_mask()  argument
285 ucontrol->value.iec958.status[0] = 0xff; in img_spdif_in_get_status_mask()
286 ucontrol->value.iec958.status[1] = 0xff; in img_spdif_in_get_status_mask()
287 ucontrol->value.iec958.status[2] = 0xff; in img_spdif_in_get_status_mask()
288 ucontrol->value.iec958.status[3] = 0xff; in img_spdif_in_get_status_mask()
289 ucontrol->value.iec958.status[4] = 0xff; in img_spdif_in_get_status_mask()
295 struct snd_ctl_elem_value *ucontrol) in img_spdif_in_get_status() argument
302 ucontrol->value.iec958.status[0] = reg & 0xff; in img_spdif_in_get_status()
303 ucontrol->value.iec958.status[1] = (reg >> 8) & 0xff; in img_spdif_in_get_status()
304 ucontrol->value.iec958.status[2] = (reg >> 16) & 0xff; in img_spdif_in_get_status()
305 ucontrol->value.iec958.status[3] = (reg >> 24) & 0xff; in img_spdif_in_get_status()
307 ucontrol->value.iec958.status[4] = (reg & IMG_SPDIF_IN_CSH_MASK) in img_spdif_in_get_status()
325 struct snd_ctl_elem_value *ucontrol) in img_spdif_in_get_multi_freq() argument
333 ucontrol->value.integer.value[0] = spdif->multi_freqs[0]; in img_spdif_in_get_multi_freq()
334 ucontrol->value.integer.value[1] = spdif->multi_freqs[1]; in img_spdif_in_get_multi_freq()
335 ucontrol->value.integer.value[2] = spdif->multi_freqs[2]; in img_spdif_in_get_multi_freq()
336 ucontrol->value.integer.value[3] = spdif->multi_freqs[3]; in img_spdif_in_get_multi_freq()
338 ucontrol->value.integer.value[0] = 0; in img_spdif_in_get_multi_freq()
339 ucontrol->value.integer.value[1] = 0; in img_spdif_in_get_multi_freq()
340 ucontrol->value.integer.value[2] = 0; in img_spdif_in_get_multi_freq()
341 ucontrol->value.integer.value[3] = 0; in img_spdif_in_get_multi_freq()
349 struct snd_ctl_elem_value *ucontrol) in img_spdif_in_set_multi_freq() argument
357 if ((ucontrol->value.integer.value[0] == 0) && in img_spdif_in_set_multi_freq()
358 (ucontrol->value.integer.value[1] == 0) && in img_spdif_in_set_multi_freq()
359 (ucontrol->value.integer.value[2] == 0) && in img_spdif_in_set_multi_freq()
360 (ucontrol->value.integer.value[3] == 0)) { in img_spdif_in_set_multi_freq()
363 multi_freqs[0] = ucontrol->value.integer.value[0]; in img_spdif_in_set_multi_freq()
364 multi_freqs[1] = ucontrol->value.integer.value[1]; in img_spdif_in_set_multi_freq()
365 multi_freqs[2] = ucontrol->value.integer.value[2]; in img_spdif_in_set_multi_freq()
366 multi_freqs[3] = ucontrol->value.integer.value[3]; in img_spdif_in_set_multi_freq()
439 struct snd_ctl_elem_value *ucontrol) in img_spdif_in_get_trk() argument
444 ucontrol->value.integer.value[0] = spdif->trk; in img_spdif_in_get_trk()
450 struct snd_ctl_elem_value *ucontrol) in img_spdif_in_set_trk() argument
465 spdif->trk = ucontrol->value.integer.value[0]; in img_spdif_in_set_trk()
497 struct snd_ctl_elem_value *ucontrol) in img_spdif_in_get_lock_acquire() argument
502 ucontrol->value.integer.value[0] = spdif->lock_acquire; in img_spdif_in_get_lock_acquire()
508 struct snd_ctl_elem_value *ucontrol) in img_spdif_in_set_lock_acquire() argument
522 spdif->lock_acquire = ucontrol->value.integer.value[0]; in img_spdif_in_set_lock_acquire()
536 struct snd_ctl_elem_value *ucontrol) in img_spdif_in_get_lock_release() argument
541 ucontrol->value.integer.value[0] = spdif->lock_release; in img_spdif_in_get_lock_release()
547 struct snd_ctl_elem_value *ucontrol) in img_spdif_in_set_lock_release() argument
561 spdif->lock_release = ucontrol->value.integer.value[0]; in img_spdif_in_set_lock_release()