#include <linux/ioctl.h>
Go to the source code of this file.
Defines | |
#define | TRUE 1 |
#define | FALSE 0 |
#define | QEINT_MAJOR_NUMBER 210 |
#define | QEINT_MINOR_NUMBER 0 |
#define | QEINT_NUM_INTERRUPTS 32 |
#define | QEINT_BASE_ADDR 0x20000ff0 |
#define | QEINT_WIDTH 0x10 |
#define | QEINT_INTERRUPT IRQ_EP93XX_EXT0 |
#define | QEINT_MODE_UNUSED 0 |
#define | QEINT_MODE_FAST 1 |
#define | QEINT_MODE_DEFERRED 2 |
#define | QEINT_IOC_MAGIC 0xe1 |
#define | QEINT_IOC_READ_STATUS _IOR(QEINT_IOC_MAGIC, 1, char) |
#define | QEINT_IOC_RESET_STATUS _IO(QEINT_IOC_MAGIC, 2) |
#define | QEINT_IOC_DISABLE _IO(QEINT_IOC_MAGIC, 3) |
#define | QEINT_IOC_ENABLE _IO(QEINT_IOC_MAGIC, 4) |
#define | QEINT_IOC_MAXNR 4 |
Functions | |
int | qe_interrupt_enable (unsigned char vector) |
int | qe_interrupt_disable (unsigned char vector) |
int | qe_interrupt_register (unsigned char vector, unsigned char mode, void(*callback)(unsigned char)) |
void | qe_interrupt_time (int vector, struct timeval *ptv) |
int | qe_interrupt_unregister (int vector) |
#define FALSE 0 |
#define QEINT_BASE_ADDR 0x20000ff0 |
#define QEINT_INTERRUPT IRQ_EP93XX_EXT0 |
#define QEINT_IOC_DISABLE _IO(QEINT_IOC_MAGIC, 3) |
#define QEINT_IOC_ENABLE _IO(QEINT_IOC_MAGIC, 4) |
#define QEINT_IOC_MAGIC 0xe1 |
#define QEINT_IOC_MAXNR 4 |
#define QEINT_IOC_READ_STATUS _IOR(QEINT_IOC_MAGIC, 1, char) |
#define QEINT_IOC_RESET_STATUS _IO(QEINT_IOC_MAGIC, 2) |
#define QEINT_MAJOR_NUMBER 210 |
#define QEINT_MINOR_NUMBER 0 |
#define QEINT_MODE_DEFERRED 2 |
#define QEINT_MODE_FAST 1 |
#define QEINT_MODE_UNUSED 0 |
#define QEINT_NUM_INTERRUPTS 32 |
#define QEINT_WIDTH 0x10 |
#define TRUE 1 |
int qe_interrupt_disable | ( | unsigned char | vector | ) |
int qe_interrupt_enable | ( | unsigned char | vector | ) |
int qe_interrupt_register | ( | unsigned char | vector, | |
unsigned char | mode, | |||
void(*)(unsigned char) | callback | |||
) |
void qe_interrupt_time | ( | int | vector, | |
struct timeval * | ptv | |||
) |
int qe_interrupt_unregister | ( | int | vector | ) |