linux/sound/soc/sof/intel/hda-ctrl.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
//
// Authors: Liam Girdwood <[email protected]>
//	    Ranjani Sridharan <[email protected]>
//	    Rander Wang <[email protected]>
//          Keyon Jie <[email protected]>
//

/*
 * Hardware interface for generic Intel audio DSP HDA IP
 */

#include <linux/module.h>
#include <sound/hdaudio_ext.h>
#include <sound/hda_register.h>
#include <sound/hda_component.h>
#include <sound/hda-mlink.h>
#include "../ops.h"
#include "hda.h"

/*
 * HDA Operations.
 */

int hda_dsp_ctrl_link_reset(struct snd_sof_dev *sdev, bool reset)
{}

int hda_dsp_ctrl_get_caps(struct snd_sof_dev *sdev)
{}
EXPORT_SYMBOL_NS();

void hda_dsp_ctrl_ppcap_enable(struct snd_sof_dev *sdev, bool enable)
{}
EXPORT_SYMBOL_NS();

void hda_dsp_ctrl_ppcap_int_enable(struct snd_sof_dev *sdev, bool enable)
{}
EXPORT_SYMBOL_NS();

void hda_dsp_ctrl_misc_clock_gating(struct snd_sof_dev *sdev, bool enable)
{}

/*
 * enable/disable audio dsp clock gating and power gating bits.
 * This allows the HW to opportunistically power and clock gate
 * the audio dsp when it is idle
 */
int hda_dsp_ctrl_clock_power_gating(struct snd_sof_dev *sdev, bool enable)
{}
EXPORT_SYMBOL_NS();

int hda_dsp_ctrl_init_chip(struct snd_sof_dev *sdev)
{}
EXPORT_SYMBOL_NS();

void hda_dsp_ctrl_stop_chip(struct snd_sof_dev *sdev)
{}

MODULE_LICENSE();
MODULE_DESCRIPTION();
MODULE_IMPORT_NS();
MODULE_IMPORT_NS();
MODULE_IMPORT_NS();