Linux Kernel
3.7.1
|
#include <linux/device.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/usb.h>
#include <linux/usb/input.h>
#include <linux/slab.h>
#include <linux/completion.h>
#include <media/rc-core.h>
Go to the source code of this file.
Data Structures | |
struct | iguanair |
struct | packet |
struct | send_packet |
Macros | |
#define | DRIVER_NAME "iguanair" |
#define | BUF_SIZE 152 |
#define | CMD_GET_VERSION 0x01 |
#define | CMD_GET_BUFSIZE 0x11 |
#define | CMD_GET_FEATURES 0x10 |
#define | CMD_SEND 0x15 |
#define | CMD_EXECUTE 0x1f |
#define | CMD_RX_OVERFLOW 0x31 |
#define | CMD_TX_OVERFLOW 0x32 |
#define | CMD_RECEIVER_ON 0x12 |
#define | CMD_RECEIVER_OFF 0x14 |
#define | DIR_IN 0xdc |
#define | DIR_OUT 0xcd |
#define | MAX_IN_PACKET 8u |
#define | MAX_OUT_PACKET (sizeof(struct send_packet) + BUF_SIZE) |
#define | TIMEOUT 1000 |
#define | RX_RESOLUTION 21333 |
Functions | |
module_usb_driver (iguanair_driver) | |
MODULE_DESCRIPTION ("IguanaWorks USB IR Transceiver") | |
MODULE_AUTHOR ("Sean Young <[email protected]>") | |
MODULE_LICENSE ("GPL") | |
MODULE_DEVICE_TABLE (usb, iguanair_table) | |
#define BUF_SIZE 152 |
Definition at line 31 of file iguanair.c.
#define CMD_EXECUTE 0x1f |
Definition at line 65 of file iguanair.c.
#define CMD_GET_BUFSIZE 0x11 |
Definition at line 62 of file iguanair.c.
#define CMD_GET_FEATURES 0x10 |
Definition at line 63 of file iguanair.c.
#define CMD_GET_VERSION 0x01 |
Definition at line 61 of file iguanair.c.
#define CMD_RECEIVER_OFF 0x14 |
Definition at line 69 of file iguanair.c.
#define CMD_RECEIVER_ON 0x12 |
Definition at line 68 of file iguanair.c.
#define CMD_RX_OVERFLOW 0x31 |
Definition at line 66 of file iguanair.c.
#define CMD_SEND 0x15 |
Definition at line 64 of file iguanair.c.
#define CMD_TX_OVERFLOW 0x32 |
Definition at line 67 of file iguanair.c.
#define DIR_IN 0xdc |
Definition at line 71 of file iguanair.c.
#define DIR_OUT 0xcd |
Definition at line 72 of file iguanair.c.
#define DRIVER_NAME "iguanair" |
Definition at line 30 of file iguanair.c.
#define MAX_IN_PACKET 8u |
Definition at line 74 of file iguanair.c.
#define MAX_OUT_PACKET (sizeof(struct send_packet) + BUF_SIZE) |
Definition at line 75 of file iguanair.c.
#define RX_RESOLUTION 21333 |
Definition at line 77 of file iguanair.c.
#define TIMEOUT 1000 |
Definition at line 76 of file iguanair.c.
MODULE_AUTHOR | ( | "Sean Young <[email protected]>" | ) |
MODULE_DEVICE_TABLE | ( | usb | , |
iguanair_table | |||
) |
MODULE_LICENSE | ( | "GPL" | ) |
module_usb_driver | ( | iguanair_driver | ) |