u64 (*read64)(void __iomem *addr, u32 offset);
/* DSP I/DRAM IO */
- void (*ram_read)(struct sst_dsp *sst, void *dest, void *src, size_t bytes);
- void (*ram_write)(struct sst_dsp *sst, void *dest, void *src, size_t bytes);
+ void (*ram_read)(struct sst_dsp *sst, void *dest, void __iomem *src,
+ size_t bytes);
+ void (*ram_write)(struct sst_dsp *sst, void __iomem *dest, void *src,
+ size_t bytes);
void (*dump)(struct sst_dsp *);
struct sst_module *sst_mem_block_alloc_scratch(struct sst_dsp *dsp);
void sst_mem_block_free_scratch(struct sst_dsp *dsp,
struct sst_module *scratch);
+int sst_block_module_remove(struct sst_module *module);
/* Register the DSPs memory blocks - would be nice to read from ACPI */
struct sst_mem_block *sst_mem_block_register(struct sst_dsp *dsp, u32 offset,
#include "sst-dsp.h"
#include "sst-dsp-priv.h"
-static void sst_memcpy32(void *dest, void *src, u32 bytes)
+static void sst_memcpy32(volatile void __iomem *dest, void *src, u32 bytes)
{
u32 i;