Lines Matching refs:write_dsp
89 /* write_dsp writes a 32-bit value to the DSP; this is used almost
91 static int write_dsp(struct echoaudio *chip, u32 data)
107 dev_dbg(chip->card->dev, "write_dsp: Set bad_board to true\n");
197 if (write_dsp(chip, cmd) < 0)
201 if (write_dsp(chip, size) < 0)
205 if (write_dsp(chip, code[i]) < 0)
213 dev_err(chip->card->dev, "failed on write_dsp\n");
286 if (write_dsp(chip, words)) {
292 if (write_dsp(chip, address)) {
302 if (write_dsp(chip, data)) {
412 if (write_dsp(chip, words) < 0) {
417 if (write_dsp(chip, address) < 0) {
422 if (write_dsp(chip, mem_type) < 0) {
430 if (write_dsp(chip, data) < 0) {
438 if (write_dsp(chip, 0) < 0) { /* We're done!!! */
452 if (write_dsp(chip, DSP_FNC_SET_COMMPAGE_ADDR) < 0) {
458 if (write_dsp(chip, chip->comm_page_phys) < 0) {