Lines Matching refs:ucontrol

194 				   struct snd_ctl_elem_value *ucontrol)  in snd_ak4114_in_error_get()  argument
201 ucontrol->value.integer.value[0] = *ptr; in snd_ak4114_in_error_get()
210 struct snd_ctl_elem_value *ucontrol) in snd_ak4114_in_bit_get() argument
217 ucontrol->value.integer.value[0] = ((reg_read(chip, reg) & (1 << bit)) ? 1 : 0) ^ inv; in snd_ak4114_in_bit_get()
232 struct snd_ctl_elem_value *ucontrol) in snd_ak4114_rate_get() argument
236 ucontrol->value.integer.value[0] = external_rate(reg_read(chip, AK4114_REG_RCS1)); in snd_ak4114_rate_get()
248 struct snd_ctl_elem_value *ucontrol) in snd_ak4114_spdif_get() argument
254 ucontrol->value.iec958.status[i] = reg_read(chip, AK4114_REG_RXCSB0 + i); in snd_ak4114_spdif_get()
259 struct snd_ctl_elem_value *ucontrol) in snd_ak4114_spdif_playback_get() argument
265 ucontrol->value.iec958.status[i] = chip->txcsb[i]; in snd_ak4114_spdif_playback_get()
270 struct snd_ctl_elem_value *ucontrol) in snd_ak4114_spdif_playback_put() argument
276 reg_write(chip, AK4114_REG_TXCSB0 + i, ucontrol->value.iec958.status[i]); in snd_ak4114_spdif_playback_put()
288 struct snd_ctl_elem_value *ucontrol) in snd_ak4114_spdif_mask_get() argument
290 memset(ucontrol->value.iec958.status, 0xff, AK4114_REG_RXCSB_SIZE); in snd_ak4114_spdif_mask_get()
304 struct snd_ctl_elem_value *ucontrol) in snd_ak4114_spdif_pget() argument
309 ucontrol->value.integer.value[0] = 0xf8f2; in snd_ak4114_spdif_pget()
310 ucontrol->value.integer.value[1] = 0x4e1f; in snd_ak4114_spdif_pget()
312 ucontrol->value.integer.value[2] = tmp; in snd_ak4114_spdif_pget()
314 ucontrol->value.integer.value[3] = tmp; in snd_ak4114_spdif_pget()
326 struct snd_ctl_elem_value *ucontrol) in snd_ak4114_spdif_qget() argument
332 ucontrol->value.bytes.data[i] = reg_read(chip, AK4114_REG_QSUB_ADDR + i); in snd_ak4114_spdif_qget()