Linux Kernel
3.7.1
|
#include <linux/types.h>
Go to the source code of this file.
Data Structures | |
struct | atreq |
struct | ptsreq |
Macros | |
#define | MAX_ATR 33 |
#define | CM4000_MAX_DEV 4 |
#define | CM_IOC_MAGIC 'c' |
#define | CM_IOC_MAXNR 255 |
#define | CM_IOCGSTATUS _IOR (CM_IOC_MAGIC, 0, unsigned char *) |
#define | CM_IOCGATR _IOWR(CM_IOC_MAGIC, 1, atreq_t *) |
#define | CM_IOCSPTS _IOW (CM_IOC_MAGIC, 2, ptsreq_t *) |
#define | CM_IOCSRDR _IO (CM_IOC_MAGIC, 3) |
#define | CM_IOCARDOFF _IO (CM_IOC_MAGIC, 4) |
#define | CM_IOSDBGLVL _IOW(CM_IOC_MAGIC, 250, int*) |
#define | CM_CARD_INSERTED 0x01 |
#define | CM_CARD_POWERED 0x02 |
#define | CM_ATR_PRESENT 0x04 |
#define | CM_ATR_VALID 0x08 |
#define | CM_STATE_VALID 0x0f |
#define | CM_NO_READER 0x10 |
#define | CM_BAD_CARD 0x20 |
Typedefs | |
typedef struct atreq | atreq_t |
typedef struct ptsreq | ptsreq_t |
#define CM4000_MAX_DEV 4 |
Definition at line 8 of file cm4000_cs.h.
#define CM_ATR_PRESENT 0x04 |
Definition at line 54 of file cm4000_cs.h.
#define CM_ATR_VALID 0x08 |
Definition at line 55 of file cm4000_cs.h.
#define CM_BAD_CARD 0x20 |
Definition at line 59 of file cm4000_cs.h.
#define CM_CARD_INSERTED 0x01 |
Definition at line 52 of file cm4000_cs.h.
#define CM_CARD_POWERED 0x02 |
Definition at line 53 of file cm4000_cs.h.
#define CM_IOC_MAGIC 'c' |
Definition at line 40 of file cm4000_cs.h.
#define CM_IOC_MAXNR 255 |
Definition at line 41 of file cm4000_cs.h.
#define CM_IOCARDOFF _IO (CM_IOC_MAGIC, 4) |
Definition at line 47 of file cm4000_cs.h.
#define CM_IOCGATR _IOWR(CM_IOC_MAGIC, 1, atreq_t *) |
Definition at line 44 of file cm4000_cs.h.
#define CM_IOCGSTATUS _IOR (CM_IOC_MAGIC, 0, unsigned char *) |
Definition at line 43 of file cm4000_cs.h.
#define CM_IOCSPTS _IOW (CM_IOC_MAGIC, 2, ptsreq_t *) |
Definition at line 45 of file cm4000_cs.h.
#define CM_IOCSRDR _IO (CM_IOC_MAGIC, 3) |
Definition at line 46 of file cm4000_cs.h.
#define CM_IOSDBGLVL _IOW(CM_IOC_MAGIC, 250, int*) |
Definition at line 49 of file cm4000_cs.h.
#define CM_NO_READER 0x10 |
Definition at line 58 of file cm4000_cs.h.
#define CM_STATE_VALID 0x0f |
Definition at line 56 of file cm4000_cs.h.
#define MAX_ATR 33 |
Definition at line 6 of file cm4000_cs.h.