Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/fs.h>
#include <linux/delay.h>
#include <linux/poll.h>
#include <linux/mutex.h>
#include <linux/wait.h>
#include <asm/uaccess.h>
#include <asm/io.h>
#include <pcmcia/cistpl.h>
#include <pcmcia/cisreg.h>
#include <pcmcia/ciscode.h>
#include <pcmcia/ds.h>
#include "cm4040_cs.h"
Go to the source code of this file.
Data Structures | |
struct | reader_dev |
Macros | |
#define | reader_to_dev(x) (&x->p_dev->dev) |
#define | DEBUGP(n, rdr, x, args...) |
#define | CCID_DRIVER_BULK_DEFAULT_TIMEOUT (150*HZ) |
#define | CCID_DRIVER_ASYNC_POWERUP_TIMEOUT (35*HZ) |
#define | CCID_DRIVER_MINIMUM_TIMEOUT (3*HZ) |
#define | READ_WRITE_BUFFER_SIZE 512 |
#define | POLL_LOOP_COUNT 1000 |
#define | POLL_PERIOD msecs_to_jiffies(10) |
#define | BS_READABLE 0x01 |
#define | BS_WRITABLE 0x02 |
#define | xoutb outb |
#define | xinb inb |
Functions | |
MODULE_DEVICE_TABLE (pcmcia, cm4040_ids) | |
module_init (cm4040_init) | |
module_exit (cm4040_exit) | |
MODULE_LICENSE ("Dual BSD/GPL") | |
#define BS_READABLE 0x01 |
Definition at line 67 of file cm4040_cs.c.
#define BS_WRITABLE 0x02 |
Definition at line 68 of file cm4040_cs.c.
#define CCID_DRIVER_ASYNC_POWERUP_TIMEOUT (35*HZ) |
Definition at line 54 of file cm4040_cs.c.
#define CCID_DRIVER_BULK_DEFAULT_TIMEOUT (150*HZ) |
Definition at line 53 of file cm4040_cs.c.
#define CCID_DRIVER_MINIMUM_TIMEOUT (3*HZ) |
Definition at line 55 of file cm4040_cs.c.
Definition at line 46 of file cm4040_cs.c.
#define POLL_LOOP_COUNT 1000 |
Definition at line 57 of file cm4040_cs.c.
#define POLL_PERIOD msecs_to_jiffies(10) |
Definition at line 60 of file cm4040_cs.c.
#define READ_WRITE_BUFFER_SIZE 512 |
Definition at line 56 of file cm4040_cs.c.
Definition at line 40 of file cm4040_cs.c.
#define xinb inb |
Definition at line 87 of file cm4040_cs.c.
#define xoutb outb |
Definition at line 86 of file cm4040_cs.c.
MODULE_DEVICE_TABLE | ( | pcmcia | , |
cm4040_ids | |||
) |
module_exit | ( | cm4040_exit | ) |
module_init | ( | cm4040_init | ) |
MODULE_LICENSE | ( | "Dual BSD/GPL" | ) |