41 DE_INIT((
"init_hw() - Indigo DJ\n"));
45 if ((err = init_dsp_comm_page(chip))) {
46 DE_INIT((
"init_hw - could not initialize DSP comm page\n"));
59 if ((err = load_firmware(chip)) < 0)
69 static int set_mixer_defaults(
struct echoaudio *chip)
71 return init_line_levels(chip);
76 static u32 detect_input_clocks(
const struct echoaudio *chip)
84 static int load_asic(
struct echoaudio *chip)
112 DE_ACT((
"set_sample_rate: %d invalid!\n", rate));
118 if (wait_handshake(chip))
125 clear_handshake(chip);
140 output >= num_busses_out(chip)))
143 if (wait_handshake(chip))
147 index = output * num_pipes_out(chip) +
pipe;
150 DE_ACT((
"set_vmixer_gain: pipe %d, out %d = %d\n", pipe, output, gain));
157 static int update_vmixer_level(
struct echoaudio *chip)
159 if (wait_handshake(chip))
161 clear_handshake(chip);