Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/cpufreq.h>
#include <linux/ioport.h>
#include <linux/kernel.h>
#include <linux/spinlock.h>
#include <linux/platform_device.h>
#include <mach/hardware.h>
#include <mach/smemc.h>
#include <asm/io.h>
#include <asm/irq.h>
#include <mach/pxa2xx-regs.h>
#include <asm/mach-types.h>
#include <pcmcia/ss.h>
#include <pcmcia/cistpl.h>
#include "soc_common.h"
#include "pxa2xx_base.h"
Go to the source code of this file.
Functions | |
void | pxa2xx_configure_sockets (struct device *dev) |
EXPORT_SYMBOL (pxa2xx_configure_sockets) | |
int | pxa2xx_drv_pcmcia_add_one (struct soc_pcmcia_socket *skt) |
EXPORT_SYMBOL (pxa2xx_drv_pcmcia_add_one) | |
void | pxa2xx_drv_pcmcia_ops (struct pcmcia_low_level *ops) |
EXPORT_SYMBOL (pxa2xx_drv_pcmcia_ops) | |
fs_initcall (pxa2xx_pcmcia_init) | |
module_exit (pxa2xx_pcmcia_exit) | |
MODULE_AUTHOR ("Stefan Eletzhofer <[email protected]> and Ian Molton <[email protected]>") | |
MODULE_DESCRIPTION ("Linux PCMCIA Card Services: PXA2xx core socket driver") | |
MODULE_LICENSE ("GPL") | |
MODULE_ALIAS ("platform:pxa2xx-pcmcia") | |
#define _PCMCIA | ( | Nb | ) |
Definition at line 61 of file pxa2xx_base.c.
Definition at line 69 of file pxa2xx_base.c.
#define _PCMCIA0Attr _PCMCIAAttr(0) /* PCMCIA 0 Attribute */ |
Definition at line 71 of file pxa2xx_base.c.
Definition at line 70 of file pxa2xx_base.c.
#define _PCMCIA0Mem _PCMCIAMem(0) /* PCMCIA 0 Memory */ |
Definition at line 72 of file pxa2xx_base.c.
Definition at line 74 of file pxa2xx_base.c.
#define _PCMCIA1Attr _PCMCIAAttr(1) /* PCMCIA 1 Attribute */ |
Definition at line 76 of file pxa2xx_base.c.
Definition at line 75 of file pxa2xx_base.c.
#define _PCMCIA1Mem _PCMCIAMem(1) /* PCMCIA 1 Memory */ |
Definition at line 77 of file pxa2xx_base.c.
#define _PCMCIAAttr | ( | Nb | ) |
Definition at line 64 of file pxa2xx_base.c.
Definition at line 63 of file pxa2xx_base.c.
#define _PCMCIAMem | ( | Nb | ) |
Definition at line 66 of file pxa2xx_base.c.
#define MCXX_ASST_MASK (0x1f) |
Definition at line 81 of file pxa2xx_base.c.
#define MCXX_ASST_SHIFT (7) |
Definition at line 84 of file pxa2xx_base.c.
#define MCXX_HOLD_MASK (0x3f) |
Definition at line 82 of file pxa2xx_base.c.
#define MCXX_HOLD_SHIFT (14) |
Definition at line 85 of file pxa2xx_base.c.
#define MCXX_SETUP_MASK (0x7f) |
Definition at line 80 of file pxa2xx_base.c.
#define MCXX_SETUP_SHIFT (0) |
Definition at line 83 of file pxa2xx_base.c.
#define PCMCIA0AttrSp PCMCIAAttrSp /* PCMCIA 0 Attribute Space [byte] */ |
Definition at line 53 of file pxa2xx_base.c.
#define PCMCIA0IOSp PCMCIAIOSp /* PCMCIA 0 I/O Space [byte] */ |
Definition at line 52 of file pxa2xx_base.c.
#define PCMCIA0MemSp PCMCIAMemSp /* PCMCIA 0 Memory Space [byte] */ |
Definition at line 54 of file pxa2xx_base.c.
Definition at line 51 of file pxa2xx_base.c.
#define PCMCIA1AttrSp PCMCIAAttrSp /* PCMCIA 1 Attribute Space [byte] */ |
Definition at line 58 of file pxa2xx_base.c.
#define PCMCIA1IOSp PCMCIAIOSp /* PCMCIA 1 I/O Space [byte] */ |
Definition at line 57 of file pxa2xx_base.c.
#define PCMCIA1MemSp PCMCIAMemSp /* PCMCIA 1 Memory Space [byte] */ |
Definition at line 59 of file pxa2xx_base.c.
Definition at line 56 of file pxa2xx_base.c.
#define PCMCIAAttrSp PCMCIAPrtSp /* PCMCIA Attribute Space [byte] */ |
Definition at line 48 of file pxa2xx_base.c.
#define PCMCIAIOSp PCMCIAPrtSp /* PCMCIA I/O Space [byte] */ |
Definition at line 47 of file pxa2xx_base.c.
#define PCMCIAMemSp PCMCIAPrtSp /* PCMCIA Memory Space [byte] */ |
Definition at line 49 of file pxa2xx_base.c.
#define PCMCIAPrtSp 0x04000000 /* PCMCIA Partition Space [byte] */ |
Definition at line 45 of file pxa2xx_base.c.
#define PCMCIASp (4*PCMCIAPrtSp) /* PCMCIA Space [byte] */ |
Definition at line 46 of file pxa2xx_base.c.
#define SKT_DEV_INFO_SIZE | ( | n | ) | (sizeof(struct skt_dev_info) + (n)*sizeof(struct soc_pcmcia_socket)) |
Definition at line 240 of file pxa2xx_base.c.
EXPORT_SYMBOL | ( | pxa2xx_configure_sockets | ) |
EXPORT_SYMBOL | ( | pxa2xx_drv_pcmcia_add_one | ) |
EXPORT_SYMBOL | ( | pxa2xx_drv_pcmcia_ops | ) |
fs_initcall | ( | pxa2xx_pcmcia_init | ) |
MODULE_ALIAS | ( | "platform:pxa2xx-pcmcia" | ) |
MODULE_AUTHOR | ( | "Stefan Eletzhofer <[email protected]> and Ian Molton <[email protected]>" | ) |
module_exit | ( | pxa2xx_pcmcia_exit | ) |
MODULE_LICENSE | ( | "GPL" | ) |
Definition at line 217 of file pxa2xx_base.c.
int pxa2xx_drv_pcmcia_add_one | ( | struct soc_pcmcia_socket * | skt | ) |
Definition at line 243 of file pxa2xx_base.c.
void pxa2xx_drv_pcmcia_ops | ( | struct pcmcia_low_level * | ops | ) |
Definition at line 269 of file pxa2xx_base.c.