#include <linux/module.h>
#include <linux/delay.h>
#include <linux/pm_runtime.h>
#include <linux/dma-mapping.h>
#include <linux/acpi.h>
#include <linux/pci.h>
#include <sound/soc.h>
#include "loongson_i2s.h"
#include "loongson_dma.h"
static bool loongson_i2s_wr_reg(struct device *dev, unsigned int reg)
{ … }
static bool loongson_i2s_rd_reg(struct device *dev, unsigned int reg)
{ … }
static bool loongson_i2s_volatile_reg(struct device *dev, unsigned int reg)
{ … }
static const struct regmap_config loongson_i2s_regmap_config = …;
static int loongson_i2s_pci_probe(struct pci_dev *pdev,
const struct pci_device_id *pid)
{ … }
static const struct pci_device_id loongson_i2s_ids[] = …;
MODULE_DEVICE_TABLE(pci, loongson_i2s_ids);
static struct pci_driver loongson_i2s_driver = …;
module_pci_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;