Lines Matching refs:active
97 unsigned short active; /* active channel mask */ member
489 if (chip->active & DAC2) in snd_es18xx_playback1_trigger()
491 chip->active |= DAC2; in snd_es18xx_playback1_trigger()
510 if (!(chip->active & DAC2)) in snd_es18xx_playback1_trigger()
512 chip->active &= ~DAC2; in snd_es18xx_playback1_trigger()
598 if (chip->active & ADC1) in snd_es18xx_capture_trigger()
600 chip->active |= ADC1; in snd_es18xx_capture_trigger()
606 if (!(chip->active & ADC1)) in snd_es18xx_capture_trigger()
608 chip->active &= ~ADC1; in snd_es18xx_capture_trigger()
661 if (chip->active & DAC1) in snd_es18xx_playback2_trigger()
663 chip->active |= DAC1; in snd_es18xx_playback2_trigger()
675 if (!(chip->active & DAC1)) in snd_es18xx_playback2_trigger()
677 chip->active &= ~DAC1; in snd_es18xx_playback2_trigger()
741 if (chip->active & DAC2) in snd_es18xx_interrupt()
748 if (chip->active & ADC1) in snd_es18xx_interrupt()
751 else if (chip->active & DAC1) in snd_es18xx_interrupt()
790 if (!(chip->active & DAC2)) in snd_es18xx_playback_pointer()
795 if (!(chip->active & DAC1)) in snd_es18xx_playback_pointer()
808 if (!(chip->active & ADC1)) in snd_es18xx_capture_pointer()
1738 chip->active = 0; in snd_es18xx_new_device()