#include <linux/module.h>
#include <sound/sof.h>
#include <sound/sof/xtensa.h>
#include <sound/soc-acpi.h>
#include <sound/soc-acpi-intel-match.h>
#include <sound/intel-dsp-config.h>
#include "../ops.h"
#include "shim.h"
#include "../sof-acpi-dev.h"
#include "../sof-audio.h"
#define BDW_DSP_BAR …
#define BDW_PCI_BAR …
#define IRAM_OFFSET …
#define BDW_IRAM_SIZE …
#define DRAM_OFFSET …
#define BDW_DRAM_SIZE …
#define SHIM_OFFSET …
#define SHIM_SIZE …
#define MBOX_OFFSET …
#define MBOX_SIZE …
#define MBOX_DUMP_SIZE …
#define EXCEPT_OFFSET …
#define EXCEPT_MAX_HDR_SIZE …
#define DMAC0_OFFSET …
#define DMAC1_OFFSET …
#define DMAC_SIZE …
#define SSP0_OFFSET …
#define SSP1_OFFSET …
#define SSP_SIZE …
#define BDW_STACK_DUMP_SIZE …
#define BDW_PANIC_OFFSET(x) …
static const struct snd_sof_debugfs_map bdw_debugfs[] = …;
static void bdw_host_done(struct snd_sof_dev *sdev);
static void bdw_dsp_done(struct snd_sof_dev *sdev);
static int bdw_run(struct snd_sof_dev *sdev)
{ … }
static int bdw_reset(struct snd_sof_dev *sdev)
{ … }
static int bdw_set_dsp_D0(struct snd_sof_dev *sdev)
{ … }
static void bdw_get_registers(struct snd_sof_dev *sdev,
struct sof_ipc_dsp_oops_xtensa *xoops,
struct sof_ipc_panic_info *panic_info,
u32 *stack, size_t stack_words)
{ … }
static void bdw_dump(struct snd_sof_dev *sdev, u32 flags)
{ … }
static irqreturn_t bdw_irq_handler(int irq, void *context)
{ … }
static irqreturn_t bdw_irq_thread(int irq, void *context)
{ … }
static int bdw_send_msg(struct snd_sof_dev *sdev, struct snd_sof_ipc_msg *msg)
{ … }
static int bdw_get_mailbox_offset(struct snd_sof_dev *sdev)
{ … }
static int bdw_get_window_offset(struct snd_sof_dev *sdev, u32 id)
{ … }
static void bdw_host_done(struct snd_sof_dev *sdev)
{ … }
static void bdw_dsp_done(struct snd_sof_dev *sdev)
{ … }
static int bdw_probe(struct snd_sof_dev *sdev)
{ … }
static struct snd_soc_acpi_mach *bdw_machine_select(struct snd_sof_dev *sdev)
{ … }
static void bdw_set_mach_params(struct snd_soc_acpi_mach *mach,
struct snd_sof_dev *sdev)
{ … }
static struct snd_soc_dai_driver bdw_dai[] = …;
static const struct snd_sof_dsp_ops sof_bdw_ops = …;
static const struct sof_intel_dsp_desc bdw_chip_info = …;
static const struct sof_dev_desc sof_acpi_broadwell_desc = …;
static const struct acpi_device_id sof_broadwell_match[] = …;
MODULE_DEVICE_TABLE(acpi, sof_broadwell_match);
static int sof_broadwell_probe(struct platform_device *pdev)
{ … }
static struct platform_driver snd_sof_acpi_intel_bdw_driver = …;
module_platform_driver(…) …;
MODULE_LICENSE(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_IMPORT_NS(…);
MODULE_IMPORT_NS(…);
MODULE_IMPORT_NS(…);