37 static int set_professional_spdif(
struct echoaudio *
chip,
char prof);
38 static int set_phantom_power(
struct echoaudio *
chip,
char on);
49 DE_INIT((
"init_hw() - Echo3G\n"));
53 if ((err = init_dsp_comm_page(chip))) {
54 DE_INIT((
"init_hw - could not initialize DSP comm page\n"));
68 err = load_firmware(chip);
77 chip->px_digital_out = chip->bx_digital_out = 6;
78 chip->px_analog_in = chip->bx_analog_in = 14;
79 chip->px_digital_in = chip->bx_digital_in = 16;
80 chip->px_num = chip->bx_num = 24;
89 chip->px_digital_out = chip->bx_digital_out = 8;
90 chip->px_analog_in = chip->bx_analog_in = 16;
91 chip->px_digital_in = chip->bx_digital_in = 24;
92 chip->px_num = chip->bx_num = 32;
107 static int set_mixer_defaults(
struct echoaudio *chip)
114 return init_line_levels(chip);
119 static int set_phantom_power(
struct echoaudio *chip,
char on)
129 return write_control_reg(chip, control_reg,