Linux Kernel
3.7.1
|
#include <linux/gpio.h>
#include <linux/spinlock.h>
#include <linux/tty.h>
#include <linux/module.h>
#include <sound/soc.h>
#include <sound/jack.h>
#include <asm/mach-types.h>
#include <mach/board-ams-delta.h>
#include <linux/platform_data/asoc-ti-mcbsp.h>
#include "omap-mcbsp.h"
#include "omap-pcm.h"
#include "../codecs/cx20442.h"
Go to the source code of this file.
Macros | |
#define | AMS_DELTA_MOUTHPIECE 0 |
#define | AMS_DELTA_EARPIECE 1 |
#define | AMS_DELTA_MICROPHONE 2 |
#define | AMS_DELTA_SPEAKER 3 |
#define | AMS_DELTA_AGC 4 |
#define | AMS_DELTA_MIXED |
#define | AMS_DELTA_HANDSET |
#define | AMS_DELTA_HANDSFREE |
#define | AMS_DELTA_SPEAKERPHONE (AMS_DELTA_HANDSFREE | (1 << AMS_DELTA_AGC)) |
#define | DRV_NAME "ams-delta-audio" |
Functions | |
module_platform_driver (ams_delta_driver) | |
MODULE_AUTHOR ("Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>") | |
MODULE_DESCRIPTION ("ALSA SoC driver for Amstrad E3 (Delta) videophone") | |
MODULE_LICENSE ("GPL") | |
MODULE_ALIAS ("platform:"DRV_NAME) | |
#define AMS_DELTA_AGC 4 |
Definition at line 75 of file ams-delta.c.
#define AMS_DELTA_EARPIECE 1 |
Definition at line 72 of file ams-delta.c.
#define AMS_DELTA_HANDSET |
Definition at line 79 of file ams-delta.c.
#define AMS_DELTA_HANDSFREE |
Definition at line 81 of file ams-delta.c.
#define AMS_DELTA_MICROPHONE 2 |
Definition at line 73 of file ams-delta.c.
#define AMS_DELTA_MIXED |
Definition at line 77 of file ams-delta.c.
#define AMS_DELTA_MOUTHPIECE 0 |
Definition at line 71 of file ams-delta.c.
#define AMS_DELTA_SPEAKER 3 |
Definition at line 74 of file ams-delta.c.
#define AMS_DELTA_SPEAKERPHONE (AMS_DELTA_HANDSFREE | (1 << AMS_DELTA_AGC)) |
Definition at line 83 of file ams-delta.c.
Definition at line 611 of file ams-delta.c.
MODULE_ALIAS | ( | "platform:" | DRV_NAME | ) |
MODULE_AUTHOR | ( | "Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>" | ) |
MODULE_LICENSE | ( | "GPL" | ) |
module_platform_driver | ( | ams_delta_driver | ) |