dsp_control.h 586 B

123456789101112131415161718192021
  1. #ifndef DSP_CONTROL_HEADER
  2. #define DSP_CONTROL_HEADER
  3. #include <asm/cacheflush.h>
  4. #include "audiodsp_module.h"
  5. #include "dsp_microcode.h"
  6. #include <asm/system.h>
  7. #include <linux/dma-mapping.h>
  8. void halt_dsp( struct audiodsp_priv *priv);
  9. void reset_dsp( struct audiodsp_priv *priv);
  10. int dsp_start( struct audiodsp_priv *priv, struct audiodsp_microcode *mcode);
  11. int dsp_stop( struct audiodsp_priv *priv);
  12. #define DSP_RD(reg) (*((volatile unsigned long *)reg))
  13. #define DSP_WD(reg,val) ({(*((volatile unsigned long *)(reg)))=val;})
  14. #define AUDIODSP_RESET
  15. #endif