Lines Matching refs:emu1010

415 	ucontrol->value.enumerated.item[0] = emu->emu1010.output_source[channel];  in snd_emu1010_output_source_get()
437 if (emu->emu1010.output_source[channel] == val) in snd_emu1010_output_source_put()
439 emu->emu1010.output_source[channel] = val; in snd_emu1010_output_source_put()
459 ucontrol->value.enumerated.item[0] = emu->emu1010.input_source[channel]; in snd_emu1010_input_source_get()
479 if (emu->emu1010.input_source[channel] == val) in snd_emu1010_input_source_put()
481 emu->emu1010.input_source[channel] = val; in snd_emu1010_input_source_put()
595 ucontrol->value.integer.value[0] = (emu->emu1010.adc_pads & mask) ? 1 : 0; in snd_emu1010_adc_pads_get()
605 cache = emu->emu1010.adc_pads; in snd_emu1010_adc_pads_put()
610 if (cache != emu->emu1010.adc_pads) { in snd_emu1010_adc_pads_put()
612 emu->emu1010.adc_pads = cache; in snd_emu1010_adc_pads_put()
643 ucontrol->value.integer.value[0] = (emu->emu1010.dac_pads & mask) ? 1 : 0; in snd_emu1010_dac_pads_get()
653 cache = emu->emu1010.dac_pads; in snd_emu1010_dac_pads_put()
658 if (cache != emu->emu1010.dac_pads) { in snd_emu1010_dac_pads_put()
660 emu->emu1010.dac_pads = cache; in snd_emu1010_dac_pads_put()
702 ucontrol->value.enumerated.item[0] = emu->emu1010.internal_clock; in snd_emu1010_internal_clock_get()
717 change = (emu->emu1010.internal_clock != val); in snd_emu1010_internal_clock_put()
719 emu->emu1010.internal_clock = val; in snd_emu1010_internal_clock_put()
824 ucontrol->value.enumerated.item[0] = emu->emu1010.optical_out; in snd_emu1010_optical_out_get()
840 change = (emu->emu1010.optical_out != val); in snd_emu1010_optical_out_put()
842 emu->emu1010.optical_out = val; in snd_emu1010_optical_out_put()
843 tmp = (emu->emu1010.optical_in ? EMU_HANA_OPTICAL_IN_ADAT : 0) | in snd_emu1010_optical_out_put()
844 (emu->emu1010.optical_out ? EMU_HANA_OPTICAL_OUT_ADAT : 0); in snd_emu1010_optical_out_put()
875 ucontrol->value.enumerated.item[0] = emu->emu1010.optical_in; in snd_emu1010_optical_in_get()
891 change = (emu->emu1010.optical_in != val); in snd_emu1010_optical_in_put()
893 emu->emu1010.optical_in = val; in snd_emu1010_optical_in_put()
894 tmp = (emu->emu1010.optical_in ? EMU_HANA_OPTICAL_IN_ADAT : 0) | in snd_emu1010_optical_in_put()
895 (emu->emu1010.optical_out ? EMU_HANA_OPTICAL_OUT_ADAT : 0); in snd_emu1010_optical_in_put()