#include <sound/pcm.h>
#include "../common/sst-dsp.h"
#include "../common/sst-ipc.h"
#include "../common/sst-dsp-priv.h"
#include "skl.h"
#define SKL_DSP_PU_TO …
#define SKL_DSP_PD_TO …
#define SKL_DSP_RESET_TO …
void skl_dsp_set_state_locked(struct sst_dsp *ctx, int state)
{ … }
void skl_dsp_init_core_state(struct sst_dsp *ctx)
{ … }
unsigned int skl_dsp_get_enabled_cores(struct sst_dsp *ctx)
{ … }
static int
skl_dsp_core_set_reset_state(struct sst_dsp *ctx, unsigned int core_mask)
{ … }
int skl_dsp_core_unset_reset_state(
struct sst_dsp *ctx, unsigned int core_mask)
{ … }
static bool
is_skl_dsp_core_enable(struct sst_dsp *ctx, unsigned int core_mask)
{ … }
static int skl_dsp_reset_core(struct sst_dsp *ctx, unsigned int core_mask)
{ … }
int skl_dsp_start_core(struct sst_dsp *ctx, unsigned int core_mask)
{ … }
int skl_dsp_core_power_up(struct sst_dsp *ctx, unsigned int core_mask)
{ … }
int skl_dsp_core_power_down(struct sst_dsp *ctx, unsigned int core_mask)
{ … }
int skl_dsp_enable_core(struct sst_dsp *ctx, unsigned int core_mask)
{ … }
int skl_dsp_disable_core(struct sst_dsp *ctx, unsigned int core_mask)
{ … }
int skl_dsp_boot(struct sst_dsp *ctx)
{ … }
irqreturn_t skl_dsp_sst_interrupt(int irq, void *dev_id)
{ … }
int skl_dsp_get_core(struct sst_dsp *ctx, unsigned int core_id)
{ … }
EXPORT_SYMBOL_GPL(…);
int skl_dsp_put_core(struct sst_dsp *ctx, unsigned int core_id)
{ … }
EXPORT_SYMBOL_GPL(…);
int skl_dsp_wake(struct sst_dsp *ctx)
{ … }
EXPORT_SYMBOL_GPL(…);
int skl_dsp_sleep(struct sst_dsp *ctx)
{ … }
EXPORT_SYMBOL_GPL(…);
struct sst_dsp *skl_dsp_ctx_init(struct device *dev,
struct sst_dsp_device *sst_dev, int irq)
{ … }
int skl_dsp_acquire_irq(struct sst_dsp *sst)
{ … }
void skl_dsp_free(struct sst_dsp *dsp)
{ … }
EXPORT_SYMBOL_GPL(…);
bool is_skl_dsp_running(struct sst_dsp *ctx)
{ … }
EXPORT_SYMBOL_GPL(…);