Lines Matching refs:emu1010

401 	ucontrol->value.enumerated.item[0] = emu->emu1010.output_source[channel];  in snd_emu1010_output_source_get()
423 if (emu->emu1010.output_source[channel] == val) in snd_emu1010_output_source_put()
425 emu->emu1010.output_source[channel] = val; in snd_emu1010_output_source_put()
445 ucontrol->value.enumerated.item[0] = emu->emu1010.input_source[channel]; in snd_emu1010_input_source_get()
465 if (emu->emu1010.input_source[channel] == val) in snd_emu1010_input_source_put()
467 emu->emu1010.input_source[channel] = val; in snd_emu1010_input_source_put()
581 ucontrol->value.integer.value[0] = (emu->emu1010.adc_pads & mask) ? 1 : 0; in snd_emu1010_adc_pads_get()
591 cache = emu->emu1010.adc_pads; in snd_emu1010_adc_pads_put()
596 if (cache != emu->emu1010.adc_pads) { in snd_emu1010_adc_pads_put()
598 emu->emu1010.adc_pads = cache; in snd_emu1010_adc_pads_put()
629 ucontrol->value.integer.value[0] = (emu->emu1010.dac_pads & mask) ? 1 : 0; in snd_emu1010_dac_pads_get()
639 cache = emu->emu1010.dac_pads; in snd_emu1010_dac_pads_put()
644 if (cache != emu->emu1010.dac_pads) { in snd_emu1010_dac_pads_put()
646 emu->emu1010.dac_pads = cache; in snd_emu1010_dac_pads_put()
688 ucontrol->value.enumerated.item[0] = emu->emu1010.internal_clock; in snd_emu1010_internal_clock_get()
703 change = (emu->emu1010.internal_clock != val); in snd_emu1010_internal_clock_put()
705 emu->emu1010.internal_clock = val; in snd_emu1010_internal_clock_put()
810 ucontrol->value.enumerated.item[0] = emu->emu1010.optical_out; in snd_emu1010_optical_out_get()
826 change = (emu->emu1010.optical_out != val); in snd_emu1010_optical_out_put()
828 emu->emu1010.optical_out = val; in snd_emu1010_optical_out_put()
829 tmp = (emu->emu1010.optical_in ? EMU_HANA_OPTICAL_IN_ADAT : 0) | in snd_emu1010_optical_out_put()
830 (emu->emu1010.optical_out ? EMU_HANA_OPTICAL_OUT_ADAT : 0); in snd_emu1010_optical_out_put()
861 ucontrol->value.enumerated.item[0] = emu->emu1010.optical_in; in snd_emu1010_optical_in_get()
877 change = (emu->emu1010.optical_in != val); in snd_emu1010_optical_in_put()
879 emu->emu1010.optical_in = val; in snd_emu1010_optical_in_put()
880 tmp = (emu->emu1010.optical_in ? EMU_HANA_OPTICAL_IN_ADAT : 0) | in snd_emu1010_optical_in_put()
881 (emu->emu1010.optical_out ? EMU_HANA_OPTICAL_OUT_ADAT : 0); in snd_emu1010_optical_in_put()