Lines Matching +full:digital +full:- +full:output
3 Copyright Echo Digital Audio Corporation (c) 1998 - 2004
7 This file is part of Echo Digital Audio's generic driver library.
9 Echo Digital Audio's generic driver library is free software;
21 Foundation, Inc., 59 Temple Place - Suite 330, Boston,
22 MA 02111-1307, USA.
26 Translation from C++ and adaptation for use in ALSA-Driver
32 static int set_vmixer_gain(struct echoaudio *chip, u16 output, u16 pipe,
42 return -ENODEV; in init_hw()
46 dev_err(chip->card->dev, in init_hw()
47 "init_hw - could not initialize DSP comm page\n"); in init_hw()
51 chip->device_id = device_id; in init_hw()
52 chip->subdevice_id = subdevice_id; in init_hw()
53 chip->bad_board = true; in init_hw()
54 chip->dsp_code_to_load = FW_INDIGO_IO_DSP; in init_hw()
57 chip->asic_loaded = true; in init_hw()
58 chip->input_clock_types = ECHO_CLOCK_BIT_INTERNAL; in init_hw()
63 chip->bad_board = false; in init_hw()
95 return -EIO; in set_sample_rate()
97 chip->sample_rate = rate; in set_sample_rate()
98 chip->comm_page->sample_rate = cpu_to_le32(rate); in set_sample_rate()
105 /* This function routes the sound from a virtual channel to a real output */
106 static int set_vmixer_gain(struct echoaudio *chip, u16 output, u16 pipe, in set_vmixer_gain() argument
112 output >= num_busses_out(chip))) in set_vmixer_gain()
113 return -EINVAL; in set_vmixer_gain()
116 return -EIO; in set_vmixer_gain()
118 chip->vmixer_gain[output][pipe] = gain; in set_vmixer_gain()
119 index = output * num_pipes_out(chip) + pipe; in set_vmixer_gain()
120 chip->comm_page->vmixer[index] = gain; in set_vmixer_gain()
122 dev_dbg(chip->card->dev, in set_vmixer_gain()
123 "set_vmixer_gain: pipe %d, out %d = %d\n", pipe, output, gain); in set_vmixer_gain()
133 return -EIO; in update_vmixer_level()