Lines Matching refs:ucontrol
1354 struct snd_ctl_elem_value *ucontrol) in snd_ens1373_spdif_default_get() argument
1358 ucontrol->value.iec958.status[0] = (ensoniq->spdif_default >> 0) & 0xff; in snd_ens1373_spdif_default_get()
1359 ucontrol->value.iec958.status[1] = (ensoniq->spdif_default >> 8) & 0xff; in snd_ens1373_spdif_default_get()
1360 ucontrol->value.iec958.status[2] = (ensoniq->spdif_default >> 16) & 0xff; in snd_ens1373_spdif_default_get()
1361 ucontrol->value.iec958.status[3] = (ensoniq->spdif_default >> 24) & 0xff; in snd_ens1373_spdif_default_get()
1367 struct snd_ctl_elem_value *ucontrol) in snd_ens1373_spdif_default_put() argument
1373 val = ((u32)ucontrol->value.iec958.status[0] << 0) | in snd_ens1373_spdif_default_put()
1374 ((u32)ucontrol->value.iec958.status[1] << 8) | in snd_ens1373_spdif_default_put()
1375 ((u32)ucontrol->value.iec958.status[2] << 16) | in snd_ens1373_spdif_default_put()
1376 ((u32)ucontrol->value.iec958.status[3] << 24); in snd_ens1373_spdif_default_put()
1388 struct snd_ctl_elem_value *ucontrol) in snd_ens1373_spdif_mask_get() argument
1390 ucontrol->value.iec958.status[0] = 0xff; in snd_ens1373_spdif_mask_get()
1391 ucontrol->value.iec958.status[1] = 0xff; in snd_ens1373_spdif_mask_get()
1392 ucontrol->value.iec958.status[2] = 0xff; in snd_ens1373_spdif_mask_get()
1393 ucontrol->value.iec958.status[3] = 0xff; in snd_ens1373_spdif_mask_get()
1398 struct snd_ctl_elem_value *ucontrol) in snd_ens1373_spdif_stream_get() argument
1402 ucontrol->value.iec958.status[0] = (ensoniq->spdif_stream >> 0) & 0xff; in snd_ens1373_spdif_stream_get()
1403 ucontrol->value.iec958.status[1] = (ensoniq->spdif_stream >> 8) & 0xff; in snd_ens1373_spdif_stream_get()
1404 ucontrol->value.iec958.status[2] = (ensoniq->spdif_stream >> 16) & 0xff; in snd_ens1373_spdif_stream_get()
1405 ucontrol->value.iec958.status[3] = (ensoniq->spdif_stream >> 24) & 0xff; in snd_ens1373_spdif_stream_get()
1411 struct snd_ctl_elem_value *ucontrol) in snd_ens1373_spdif_stream_put() argument
1417 val = ((u32)ucontrol->value.iec958.status[0] << 0) | in snd_ens1373_spdif_stream_put()
1418 ((u32)ucontrol->value.iec958.status[1] << 8) | in snd_ens1373_spdif_stream_put()
1419 ((u32)ucontrol->value.iec958.status[2] << 16) | in snd_ens1373_spdif_stream_put()
1420 ((u32)ucontrol->value.iec958.status[3] << 24); in snd_ens1373_spdif_stream_put()
1438 struct snd_ctl_elem_value *ucontrol) in snd_es1371_spdif_get() argument
1443 ucontrol->value.integer.value[0] = ensoniq->ctrl & ES_1373_SPDIF_THRU ? 1 : 0; in snd_es1371_spdif_get()
1449 struct snd_ctl_elem_value *ucontrol) in snd_es1371_spdif_put() argument
1455 nval1 = ucontrol->value.integer.value[0] ? ES_1373_SPDIF_THRU : 0; in snd_es1371_spdif_put()
1456 nval2 = ucontrol->value.integer.value[0] ? ES_1373_SPDIF_EN : 0; in snd_es1371_spdif_put()
1500 struct snd_ctl_elem_value *ucontrol) in snd_es1373_rear_get() argument
1509 ucontrol->value.integer.value[0] = val; in snd_es1373_rear_get()
1515 struct snd_ctl_elem_value *ucontrol) in snd_es1373_rear_put() argument
1521 nval1 = ucontrol->value.integer.value[0] ? in snd_es1373_rear_put()
1545 struct snd_ctl_elem_value *ucontrol) in snd_es1373_line_get() argument
1553 ucontrol->value.integer.value[0] = val; in snd_es1373_line_get()
1559 struct snd_ctl_elem_value *ucontrol) in snd_es1373_line_put() argument
1567 if (ucontrol->value.integer.value[0]) in snd_es1373_line_put()
1703 struct snd_ctl_elem_value *ucontrol) in snd_ensoniq_control_get() argument
1709 ucontrol->value.integer.value[0] = ensoniq->ctrl & mask ? 1 : 0; in snd_ensoniq_control_get()
1715 struct snd_ctl_elem_value *ucontrol) in snd_ensoniq_control_put() argument
1722 nval = ucontrol->value.integer.value[0] ? mask : 0; in snd_ensoniq_control_put()