Lines Matching refs:dsp_cmd
492 unsigned char dsp_cmd[3]; in set_codec_parameter() local
494 dsp_cmd[0] = 0x05; /* CSP set codec parameter */ in set_codec_parameter()
495 dsp_cmd[1] = val; /* Parameter value */ in set_codec_parameter()
496 dsp_cmd[2] = par; /* Parameter */ in set_codec_parameter()
497 command_seq(chip, dsp_cmd, 3); in set_codec_parameter()
509 unsigned char dsp_cmd[3]; in set_register() local
511 dsp_cmd[0] = 0x0e; /* CSP set register */ in set_register()
512 dsp_cmd[1] = reg; /* CSP Register */ in set_register()
513 dsp_cmd[2] = val; /* value */ in set_register()
514 return command_seq(chip, dsp_cmd, 3); in set_register()
523 unsigned char dsp_cmd[2]; in read_register() local
525 dsp_cmd[0] = 0x0f; /* CSP read register */ in read_register()
526 dsp_cmd[1] = reg; /* CSP Register */ in read_register()
527 command_seq(chip, dsp_cmd, 2); in read_register()
536 unsigned char dsp_cmd[2]; in set_mode_register() local
538 dsp_cmd[0] = 0x04; /* CSP set mode register */ in set_mode_register()
539 dsp_cmd[1] = mode; /* mode */ in set_mode_register()
540 return command_seq(chip, dsp_cmd, 2); in set_mode_register()
586 unsigned char dsp_cmd[2]; in get_version() local
588 dsp_cmd[0] = 0x08; /* SB_DSP_!something! */ in get_version()
589 dsp_cmd[1] = 0x03; /* get chip version id? */ in get_version()
590 command_seq(chip, dsp_cmd, 2); in get_version()