Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/gpio.h>
#include <linux/i2c.h>
#include <linux/spi/spi.h>
#include <linux/of_device.h>
#include <linux/of_gpio.h>
#include <sound/pcm.h>
#include <sound/soc.h>
#include <sound/tlv.h>
#include <sound/cs4271.h>
Go to the source code of this file.
Data Structures | |
struct | cs4271_private |
struct | cs4271_clk_cfg |
Functions | |
module_init (cs4271_modinit) | |
module_exit (cs4271_modexit) | |
MODULE_AUTHOR ("Alexander Sverdlin <[email protected]>") | |
MODULE_DESCRIPTION ("Cirrus Logic CS4271 ALSA SoC Codec Driver") | |
MODULE_LICENSE ("GPL") | |
#define CS4171_NR_RATIOS ARRAY_SIZE(cs4271_clk_tab) |
#define CS4271_DACVOL 0x2003 /* DAC Volume & Mixing Control */ |
#define CS4271_FIRSTREG CS4271_MODE1 |
#define CS4271_LASTREG CS4271_MODE2 |
#define CS4271_NR_REGS ((CS4271_LASTREG & 0xFF) + 1) |
#define CS4271_PCM_FORMATS |
#define CS4271_PCM_RATES SNDRV_PCM_RATE_8000_192000 |
#define CS4271_VOLA 0x2004 /* DAC Channel A Volume Control */ |
#define CS4271_VOLB 0x2005 /* DAC Channel B Volume Control */ |
MODULE_AUTHOR | ( | "Alexander Sverdlin <[email protected]>" | ) |
MODULE_DESCRIPTION | ( | "Cirrus Logic CS4271 ALSA SoC Codec Driver" | ) |
module_exit | ( | cs4271_modexit | ) |
module_init | ( | cs4271_modinit | ) |
MODULE_LICENSE | ( | "GPL" | ) |