#include <linux/firmware.h>
#include <linux/dmi.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/platform_data/x86/soc.h>
#include <linux/pm_runtime.h>
#include <sound/soc-acpi.h>
#include <sound/soc-acpi-intel-match.h>
#include <sound/sof.h>
#include "ops.h"
#include "sof-pci-dev.h"
static char *fw_path;
module_param(fw_path, charp, 0444);
MODULE_PARM_DESC(…) …;
static char *fw_filename;
module_param(fw_filename, charp, 0444);
MODULE_PARM_DESC(…) …;
static char *lib_path;
module_param(lib_path, charp, 0444);
MODULE_PARM_DESC(…) …;
static char *tplg_path;
module_param(tplg_path, charp, 0444);
MODULE_PARM_DESC(…) …;
static char *tplg_filename;
module_param(tplg_filename, charp, 0444);
MODULE_PARM_DESC(…) …;
static int sof_pci_debug;
module_param_named(sof_pci_debug, sof_pci_debug, int, 0444);
MODULE_PARM_DESC(…) …;
static int sof_pci_ipc_type = …;
module_param_named(ipc_type, sof_pci_ipc_type, int, 0444);
MODULE_PARM_DESC(…) …;
static const char *sof_dmi_override_tplg_name;
static bool sof_dmi_use_community_key;
#define SOF_PCI_DISABLE_PM_RUNTIME …
static int sof_tplg_cb(const struct dmi_system_id *id)
{ … }
static const struct dmi_system_id sof_tplg_table[] = …;
static int up_use_community_key(const struct dmi_system_id *id)
{ … }
static int chromebook_use_community_key(const struct dmi_system_id *id)
{ … }
static const struct dmi_system_id community_key_platforms[] = …;
const struct dev_pm_ops sof_pci_pm = …;
EXPORT_SYMBOL_NS(…);
static void sof_pci_probe_complete(struct device *dev)
{ … }
int sof_pci_probe(struct pci_dev *pci, const struct pci_device_id *pci_id)
{ … }
EXPORT_SYMBOL_NS(…);
void sof_pci_remove(struct pci_dev *pci)
{ … }
EXPORT_SYMBOL_NS(…);
void sof_pci_shutdown(struct pci_dev *pci)
{ … }
EXPORT_SYMBOL_NS(…);
MODULE_LICENSE(…) …;
MODULE_DESCRIPTION(…) …;