Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/pm.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <linux/mfd/twl6040.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include <sound/soc.h>
#include <sound/soc-dapm.h>
#include <sound/initval.h>
#include <sound/tlv.h>
#include "twl6040.h"
Go to the source code of this file.
Data Structures | |
struct | twl6040_jack_data |
struct | twl6040_data |
Macros | |
#define | TWL6040_RATES SNDRV_PCM_RATE_8000_96000 |
#define | TWL6040_FORMATS (SNDRV_PCM_FMTBIT_S32_LE) |
#define | TWL6040_OUTHS_0dB 0x00 |
#define | TWL6040_OUTHS_M30dB 0x0F |
#define | TWL6040_OUTHF_0dB 0x03 |
#define | TWL6040_OUTHF_M52dB 0x1D |
#define | TWL6040_REG_SW_SHADOW 0x2F |
#define | TWL6040_CACHEREGNUM (TWL6040_REG_SW_SHADOW + 1) |
#define | TWL6040_EAR_PATH_ENABLE 0x01 |
#define | twl6040_suspend NULL |
#define | twl6040_resume NULL |
Functions | |
void | twl6040_hs_jack_detect (struct snd_soc_codec *codec, struct snd_soc_jack *jack, int report) |
EXPORT_SYMBOL_GPL (twl6040_hs_jack_detect) | |
int | twl6040_get_dl1_gain (struct snd_soc_codec *codec) |
EXPORT_SYMBOL_GPL (twl6040_get_dl1_gain) | |
int | twl6040_get_clk_id (struct snd_soc_codec *codec) |
EXPORT_SYMBOL_GPL (twl6040_get_clk_id) | |
int | twl6040_get_trim_value (struct snd_soc_codec *codec, enum twl6040_trim trim) |
EXPORT_SYMBOL_GPL (twl6040_get_trim_value) | |
int | twl6040_get_hs_step_size (struct snd_soc_codec *codec) |
EXPORT_SYMBOL_GPL (twl6040_get_hs_step_size) | |
module_platform_driver (twl6040_codec_driver) | |
MODULE_DESCRIPTION ("ASoC TWL6040 codec driver") | |
MODULE_AUTHOR ("Misael Lopez Cruz") | |
MODULE_LICENSE ("GPL") | |
#define TWL6040_CACHEREGNUM (TWL6040_REG_SW_SHADOW + 1) |
#define TWL6040_FORMATS (SNDRV_PCM_FMTBIT_S32_LE) |
#define TWL6040_RATES SNDRV_PCM_RATE_8000_96000 |
EXPORT_SYMBOL_GPL | ( | twl6040_hs_jack_detect | ) |
EXPORT_SYMBOL_GPL | ( | twl6040_get_dl1_gain | ) |
EXPORT_SYMBOL_GPL | ( | twl6040_get_clk_id | ) |
EXPORT_SYMBOL_GPL | ( | twl6040_get_trim_value | ) |
EXPORT_SYMBOL_GPL | ( | twl6040_get_hs_step_size | ) |
MODULE_AUTHOR | ( | "Misael Lopez Cruz" | ) |
MODULE_LICENSE | ( | "GPL" | ) |
module_platform_driver | ( | twl6040_codec_driver | ) |
int twl6040_get_clk_id | ( | struct snd_soc_codec * | codec | ) |
int twl6040_get_dl1_gain | ( | struct snd_soc_codec * | codec | ) |
int twl6040_get_hs_step_size | ( | struct snd_soc_codec * | codec | ) |
int twl6040_get_trim_value | ( | struct snd_soc_codec * | codec, |
enum twl6040_trim | trim | ||
) |
void twl6040_hs_jack_detect | ( | struct snd_soc_codec * | codec, |
struct snd_soc_jack * | jack, | ||
int | report | ||
) |