#include <linux/init.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/device.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include <sound/initval.h>
#include <sound/soc.h>
#include <sound/tlv.h>
#include <linux/spi/spi.h>
#include <linux/regmap.h>
#include "ad1836.h"
Go to the source code of this file.
#define AD1836_ADC_SWITCH |
( |
|
x | ) |
|
#define AD1836_DAC_SWITCH |
( |
|
x | ) |
|
#define AD1836_DAC_VOLUME |
( |
|
x | ) |
|
#define ad1836_resume NULL |
#define ad1836_suspend NULL |
#define AD183X_DAI |
( |
|
_name, |
|
|
|
num_dacs, |
|
|
|
num_adcs |
|
) |
| |
Value:{ \
.name = _name "-hifi", \
.playback = { \
.stream_name = "Playback", \
.channels_min = 2, \
.channels_max = (num_dacs) * 2, \
}, \
.capture = { \
.stream_name = "Capture", \
.channels_min = 2, \
.channels_max = (num_adcs) * 2, \
}, \
.ops = &ad1836_dai_ops, \
}
Definition at line 200 of file ad1836.c.
- Enumerator:
-
Definition at line 26 of file ad1836.c.
MODULE_DESCRIPTION |
( |
"ASoC ad1836 driver" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
spi |
, |
|
|
ad1836_ids |
|
|
) |
| |
module_spi_driver |
( |
ad1836_spi_driver |
| ) |
|