linux/sound/soc/sof/pm.c

// SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
//
// This file is provided under a dual BSD/GPLv2 license.  When using or
// redistributing this file, you may do so under either license.
//
// Copyright(c) 2018 Intel Corporation
//
// Author: Liam Girdwood <[email protected]>
//

#include "ops.h"
#include "sof-priv.h"
#include "sof-audio.h"

/*
 * Helper function to determine the target DSP state during
 * system suspend. This function only cares about the device
 * D-states. Platform-specific substates, if any, should be
 * handled by the platform-specific parts.
 */
static u32 snd_sof_dsp_power_target(struct snd_sof_dev *sdev)
{}

#if IS_ENABLED(CONFIG_SND_SOC_SOF_DEBUG_ENABLE_DEBUGFS_CACHE)
static void sof_cache_debugfs(struct snd_sof_dev *sdev)
{}
#endif

static int sof_resume(struct device *dev, bool runtime_resume)
{}

static int sof_suspend(struct device *dev, bool runtime_suspend)
{}

int snd_sof_dsp_power_down_notify(struct snd_sof_dev *sdev)
{}

int snd_sof_runtime_suspend(struct device *dev)
{}
EXPORT_SYMBOL();

int snd_sof_runtime_idle(struct device *dev)
{}
EXPORT_SYMBOL();

int snd_sof_runtime_resume(struct device *dev)
{}
EXPORT_SYMBOL();

int snd_sof_resume(struct device *dev)
{}
EXPORT_SYMBOL();

int snd_sof_suspend(struct device *dev)
{}
EXPORT_SYMBOL();

int snd_sof_prepare(struct device *dev)
{}
EXPORT_SYMBOL();

void snd_sof_complete(struct device *dev)
{}
EXPORT_SYMBOL();