#include <linux/module.h>
#include <linux/init.h>
#include <linux/irq.h>
#include <linux/kernel.h>
#include <linux/delay.h>
#include <linux/errno.h>
#include <linux/ioport.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <linux/spinlock.h>
#include <linux/dma-mapping.h>
#include <linux/clk.h>
#include <linux/io.h>
#include <mach/hardware.h>
#include <asm/mach/irq.h>
#include <asm/mach-types.h>
#include <asm/sizes.h>
#include <asm/hardware/sa1111.h>
Go to the source code of this file.
#define AUDRCVDMADONEA (33) |
#define AUDRCVDMADONEB (35) |
#define AUDXMTDMADONEA (32) |
#define AUDXMTDMADONEB (34) |
#define IRQ_HCIBUFFACC (45) |
#define IRQ_HCIRMTWKP (46) |
#define IRQ_MSSTOPERRINT (20) |
#define IRQ_NHCIMFCIR (47) |
#define IRQ_S0_BVD1_STSCHG (53) |
#define IRQ_S0_CD_VALID (51) |
#define IRQ_S0_READY_NINT (49) |
#define IRQ_S1_BVD1_STSCHG (54) |
#define IRQ_S1_CD_VALID (52) |
#define IRQ_S1_READY_NINT (50) |
#define IRQ_TPSTOPERRINT (23) |
#define IRQ_USB_PORT_RESUME (48) |
#define SA1111_IRQ_NR (55) |
#define SA1111_IRQMASK_HI |
( |
|
x | ) |
(1 << (x - sachip->irq_base - 32)) |
#define SA1111_IRQMASK_LO |
( |
|
x | ) |
(1 << (x - sachip->irq_base)) |
#define sa1111_resume NULL |
#define sa1111_suspend NULL |
MODULE_DESCRIPTION |
( |
"Intel Corporation SA1111 core driver" |
| ) |
|
module_exit |
( |
sa1111_exit |
| ) |
|
sa1111_disable_device - disable an on-chip SA1111 function block : SA1111 function block device to disable
Definition at line 1271 of file sa1111.c.
sa1111_enable_device - enable an on-chip SA1111 function block : SA1111 function block device to enable
Definition at line 1247 of file sa1111.c.
sa1111_get_audio_rate - get the audio sample rate : SA1111 SAC function block device
Definition at line 1166 of file sa1111.c.
sa1111_pll_clock - return the current PLL clock frequency. : SA1111 function block
BUG: we should look at SKCR. We also blindly believe that the chip is being fed with the 3.6864MHz clock.
Returns the PLL clock in Hz.
Definition at line 1101 of file sa1111.c.
sa1111_select_audio_mode - select I2S or AC link mode : SA1111 function block : One of SA1111_AUDIO_ACLINK or SA1111_AUDIO_I2S
Frob the SKCR to select AC Link mode or I2S mode for the audio block.
Definition at line 1117 of file sa1111.c.
sa1111_set_audio_rate - set the audio sample rate : SA1111 SAC function block : sample rate to select
Definition at line 1142 of file sa1111.c.
subsys_initcall |
( |
sa1111_init |
| ) |
|
Initial value:= {
.name = "sa1111-rab",
.match = sa1111_match,
.probe = sa1111_bus_probe,
.remove = sa1111_bus_remove,
.suspend = sa1111_bus_suspend,
.resume = sa1111_bus_resume,
.shutdown = sa1111_bus_shutdown,
}
Definition at line 1353 of file sa1111.c.