#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/device.h>
#include <linux/slab.h>
#include <linux/moduleparam.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/pm.h>
#include <linux/platform_device.h>
#include <linux/mutex.h>
#include <linux/mfd/abx500/ab8500.h>
#include <linux/mfd/abx500.h>
#include <linux/mfd/abx500/ab8500-sysctrl.h>
#include <linux/mfd/abx500/ab8500-codec.h>
#include <linux/regulator/consumer.h>
#include <linux/of.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include <sound/initval.h>
#include <sound/soc.h>
#include <sound/soc-dapm.h>
#include <sound/tlv.h>
#include "ab8500-codec.h"
Go to the source code of this file.
|
enum | sid_state { SID_UNCONFIGURED = 0,
SID_APPLY_FIR = 1,
SID_FIR_CONFIGURED = 2
} |
|
enum | anc_state {
ANC_UNCONFIGURED = 0,
ANC_APPLY_FIR_IIR = 1,
ANC_FIR_IIR_CONFIGURED = 2,
ANC_APPLY_FIR = 3,
ANC_FIR_CONFIGURED = 4,
ANC_APPLY_IIR = 5,
ANC_IIR_CONFIGURED = 6
} |
|
enum | amic_idx { AMIC_IDX_1A,
AMIC_IDX_1B,
AMIC_IDX_2
} |
|
enum | ab8500_filter { AB8500_FILTER_ANC_FIR = 0,
AB8500_FILTER_ANC_IIR = 1,
AB8500_FILTER_SID_FIR = 2
} |
|
#define AB8500_ANC_SM_DELAY 2000 |
#define AB8500_CTRL3_REG 0x0200 |
#define AB8500_FILTER_CONTROL |
( |
|
xname, |
|
|
|
xcount, |
|
|
|
xmin, |
|
|
|
xmax |
|
) |
| |
Value:
.
info = filter_control_info, \
.
get = filter_control_get, .
put = filter_control_put, \
{.count = xcount, .min =
xmin, .max =
xmax} }
Definition at line 69 of file ab8500-codec.c.
#define AB8500_GPIO_DIR4_REG 0x1013 |
#define AB8500_NR_OF_ANC_COEFF_BANKS 2 |
#define CLK_32K_OUT2_DISABLE 0x01 |
#define ENABLE_AUDIO_CLK_TO_AUDIO_BLK 0x10 |
#define ENABLE_VINTCORE12_SUPPLY 0x04 |
#define GPIO27_DIR_OUTPUT 0x04 |
#define GPIO29_DIR_OUTPUT 0x10 |
#define GPIO31_DIR_OUTPUT 0x40 |
#define INACTIVE_RESET_AUDIO 0x02 |
- Enumerator:
AB8500_FILTER_ANC_FIR |
|
AB8500_FILTER_ANC_IIR |
|
AB8500_FILTER_SID_FIR |
|
Definition at line 1922 of file ab8500-codec.c.
- Enumerator:
AMIC_IDX_1A |
|
AMIC_IDX_1B |
|
AMIC_IDX_2 |
|
Definition at line 114 of file ab8500-codec.c.
- Enumerator:
ANC_UNCONFIGURED |
|
ANC_APPLY_FIR_IIR |
|
ANC_FIR_IIR_CONFIGURED |
|
ANC_APPLY_FIR |
|
ANC_FIR_CONFIGURED |
|
ANC_APPLY_IIR |
|
ANC_IIR_CONFIGURED |
|
Definition at line 103 of file ab8500-codec.c.
- Enumerator:
SID_UNCONFIGURED |
|
SID_APPLY_FIR |
|
SID_FIR_CONFIGURED |
|
Definition at line 88 of file ab8500-codec.c.
EXPORT_SYMBOL_GPL |
( |
ab8500_audio_setup_mics |
| ) |
|
EXPORT_SYMBOL_GPL |
( |
ab8500_audio_set_ear_cmv |
| ) |
|
MODULE_LICENSE |
( |
"GPL v2" |
| ) |
|
module_platform_driver |
( |
ab8500_codec_platform_driver |
| ) |
|