Linux Kernel
3.7.1
|
#include <linux/clk.h>
#include <linux/device.h>
#include <linux/init.h>
#include <linux/io.h>
#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <sound/designware_i2s.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include <sound/soc.h>
Go to the source code of this file.
Data Structures | |
struct | dw_i2s_dev |
Macros | |
#define | IER 0x000 |
#define | IRER 0x004 |
#define | ITER 0x008 |
#define | CER 0x00C |
#define | CCR 0x010 |
#define | RXFFR 0x014 |
#define | TXFFR 0x018 |
#define | LRBR_LTHR(x) (0x40 * x + 0x020) |
#define | RRBR_RTHR(x) (0x40 * x + 0x024) |
#define | RER(x) (0x40 * x + 0x028) |
#define | TER(x) (0x40 * x + 0x02C) |
#define | RCR(x) (0x40 * x + 0x030) |
#define | TCR(x) (0x40 * x + 0x034) |
#define | ISR(x) (0x40 * x + 0x038) |
#define | IMR(x) (0x40 * x + 0x03C) |
#define | ROR(x) (0x40 * x + 0x040) |
#define | TOR(x) (0x40 * x + 0x044) |
#define | RFCR(x) (0x40 * x + 0x048) |
#define | TFCR(x) (0x40 * x + 0x04C) |
#define | RFF(x) (0x40 * x + 0x050) |
#define | TFF(x) (0x40 * x + 0x054) |
#define | I2S_COMP_PARAM_2 0x01F0 |
#define | I2S_COMP_PARAM_1 0x01F4 |
#define | I2S_COMP_VERSION 0x01F8 |
#define | I2S_COMP_TYPE 0x01FC |
#define | MAX_CHANNEL_NUM 8 |
#define | MIN_CHANNEL_NUM 2 |
#define | dw_i2s_suspend NULL |
#define | dw_i2s_resume NULL |
Functions | |
module_platform_driver (dw_i2s_driver) | |
MODULE_AUTHOR ("Rajeev Kumar <[email protected]>") | |
MODULE_DESCRIPTION ("DESIGNWARE I2S SoC Interface") | |
MODULE_LICENSE ("GPL") | |
MODULE_ALIAS ("platform:designware_i2s") | |
#define CCR 0x010 |
Definition at line 31 of file designware_i2s.c.
#define CER 0x00C |
Definition at line 30 of file designware_i2s.c.
#define dw_i2s_resume NULL |
Definition at line 316 of file designware_i2s.c.
#define dw_i2s_suspend NULL |
Definition at line 315 of file designware_i2s.c.
#define I2S_COMP_PARAM_1 0x01F4 |
Definition at line 53 of file designware_i2s.c.
#define I2S_COMP_PARAM_2 0x01F0 |
Definition at line 52 of file designware_i2s.c.
#define I2S_COMP_TYPE 0x01FC |
Definition at line 55 of file designware_i2s.c.
#define I2S_COMP_VERSION 0x01F8 |
Definition at line 54 of file designware_i2s.c.
#define IER 0x000 |
Definition at line 27 of file designware_i2s.c.
#define IMR | ( | x | ) | (0x40 * x + 0x03C) |
Definition at line 43 of file designware_i2s.c.
#define IRER 0x004 |
Definition at line 28 of file designware_i2s.c.
#define ISR | ( | x | ) | (0x40 * x + 0x038) |
Definition at line 42 of file designware_i2s.c.
#define ITER 0x008 |
Definition at line 29 of file designware_i2s.c.
#define LRBR_LTHR | ( | x | ) | (0x40 * x + 0x020) |
Definition at line 36 of file designware_i2s.c.
#define MAX_CHANNEL_NUM 8 |
Definition at line 57 of file designware_i2s.c.
#define MIN_CHANNEL_NUM 2 |
Definition at line 58 of file designware_i2s.c.
#define RCR | ( | x | ) | (0x40 * x + 0x030) |
Definition at line 40 of file designware_i2s.c.
#define RER | ( | x | ) | (0x40 * x + 0x028) |
Definition at line 38 of file designware_i2s.c.
#define RFCR | ( | x | ) | (0x40 * x + 0x048) |
Definition at line 46 of file designware_i2s.c.
#define RFF | ( | x | ) | (0x40 * x + 0x050) |
Definition at line 48 of file designware_i2s.c.
#define ROR | ( | x | ) | (0x40 * x + 0x040) |
Definition at line 44 of file designware_i2s.c.
#define RRBR_RTHR | ( | x | ) | (0x40 * x + 0x024) |
Definition at line 37 of file designware_i2s.c.
#define RXFFR 0x014 |
Definition at line 32 of file designware_i2s.c.
#define TCR | ( | x | ) | (0x40 * x + 0x034) |
Definition at line 41 of file designware_i2s.c.
#define TER | ( | x | ) | (0x40 * x + 0x02C) |
Definition at line 39 of file designware_i2s.c.
#define TFCR | ( | x | ) | (0x40 * x + 0x04C) |
Definition at line 47 of file designware_i2s.c.
#define TFF | ( | x | ) | (0x40 * x + 0x054) |
Definition at line 49 of file designware_i2s.c.
#define TOR | ( | x | ) | (0x40 * x + 0x044) |
Definition at line 45 of file designware_i2s.c.
#define TXFFR 0x018 |
Definition at line 33 of file designware_i2s.c.
MODULE_ALIAS | ( | "platform:designware_i2s" | ) |
MODULE_AUTHOR | ( | "Rajeev Kumar <[email protected]>" | ) |
MODULE_LICENSE | ( | "GPL" | ) |
module_platform_driver | ( | dw_i2s_driver | ) |