Linux Kernel
3.7.1
|
#include <linux/delay.h>
#include <linux/gpio.h>
#include <linux/interrupt.h>
#include <linux/pm.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/resource.h>
#include <linux/slab.h>
#include <linux/spinlock.h>
#include <pcmcia/ss.h>
#include <asm/mach-au1x00/au1000.h>
#include <asm/mach-db1x00/bcsr.h>
Go to the source code of this file.
Data Structures | |
struct | db1x_pcmcia_sock |
Macros | |
#define | MEM_MAP_SIZE 0x400000 |
#define | IO_MAP_SIZE 0x1000 |
#define | BOARD_TYPE_DEFAULT 0 /* most boards */ |
#define | BOARD_TYPE_DB1200 1 /* IRQs aren't gpios */ |
#define | BOARD_TYPE_PB1100 2 /* VS bits slightly different */ |
#define | BOARD_TYPE_DB1300 3 /* no power control */ |
#define | to_db1x_socket(x) container_of(x, struct db1x_pcmcia_sock, socket) |
#define | GET_VCC(cr, socknr) ((((cr) >> 2) >> ((socknr) * 8)) & 3) |
#define | GET_VS(sr, socknr) (((sr) >> (2 * (socknr))) & 3) |
#define | GET_RESET(cr, socknr) ((cr) & (1 << (7 + (8 * (socknr))))) |
Functions | |
module_platform_driver (db1x_pcmcia_socket_driver) | |
MODULE_LICENSE ("GPL") | |
MODULE_DESCRIPTION ("PCMCIA Socket Services for Alchemy Db/Pb1x00 boards") | |
MODULE_AUTHOR ("Manuel Lauss") | |
#define BOARD_TYPE_DB1200 1 /* IRQs aren't gpios */ |
Definition at line 61 of file db1xxx_ss.c.
Definition at line 63 of file db1xxx_ss.c.
#define BOARD_TYPE_DEFAULT 0 /* most boards */ |
Definition at line 60 of file db1xxx_ss.c.
Definition at line 62 of file db1xxx_ss.c.
Definition at line 324 of file db1xxx_ss.c.
Definition at line 316 of file db1xxx_ss.c.
Definition at line 320 of file db1xxx_ss.c.
#define IO_MAP_SIZE 0x1000 |
Definition at line 40 of file db1xxx_ss.c.
#define MEM_MAP_SIZE 0x400000 |
Definition at line 39 of file db1xxx_ss.c.
#define to_db1x_socket | ( | x | ) | container_of(x, struct db1x_pcmcia_sock, socket) |
Definition at line 67 of file db1xxx_ss.c.
MODULE_AUTHOR | ( | "Manuel Lauss" | ) |
MODULE_DESCRIPTION | ( | "PCMCIA Socket Services for Alchemy Db/Pb1x00 boards" | ) |
MODULE_LICENSE | ( | "GPL" | ) |
module_platform_driver | ( | db1x_pcmcia_socket_driver | ) |