Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/spinlock.h>
#include <linux/usb/input.h>
Go to the source code of this file.
Data Structures | |
struct | powermate_device |
Macros | |
#define | POWERMATE_VENDOR 0x077d /* Griffin Technology, Inc. */ |
#define | POWERMATE_PRODUCT_NEW 0x0410 /* Griffin PowerMate */ |
#define | POWERMATE_PRODUCT_OLD 0x04AA /* Griffin soundKnob */ |
#define | CONTOUR_VENDOR 0x05f3 /* Contour Design, Inc. */ |
#define | CONTOUR_JOG 0x0240 /* Jog and Shuttle */ |
#define | SET_STATIC_BRIGHTNESS 0x01 |
#define | SET_PULSE_ASLEEP 0x02 |
#define | SET_PULSE_AWAKE 0x03 |
#define | SET_PULSE_MODE 0x04 |
#define | UPDATE_STATIC_BRIGHTNESS (1<<0) |
#define | UPDATE_PULSE_ASLEEP (1<<1) |
#define | UPDATE_PULSE_AWAKE (1<<2) |
#define | UPDATE_PULSE_MODE (1<<3) |
#define | POWERMATE_PAYLOAD_SIZE_MAX 6 |
#define | POWERMATE_PAYLOAD_SIZE_MIN 3 |
Functions | |
MODULE_DEVICE_TABLE (usb, powermate_devices) | |
module_usb_driver (powermate_driver) | |
MODULE_AUTHOR ("William R Sowerbutts") | |
MODULE_DESCRIPTION ("Griffin Technology, Inc PowerMate driver") | |
MODULE_LICENSE ("GPL") | |
#define CONTOUR_JOG 0x0240 /* Jog and Shuttle */ |
Definition at line 43 of file powermate.c.
#define CONTOUR_VENDOR 0x05f3 /* Contour Design, Inc. */ |
Definition at line 42 of file powermate.c.
#define POWERMATE_PAYLOAD_SIZE_MAX 6 |
Definition at line 60 of file powermate.c.
#define POWERMATE_PAYLOAD_SIZE_MIN 3 |
Definition at line 61 of file powermate.c.
#define POWERMATE_PRODUCT_NEW 0x0410 /* Griffin PowerMate */ |
Definition at line 39 of file powermate.c.
#define POWERMATE_PRODUCT_OLD 0x04AA /* Griffin soundKnob */ |
Definition at line 40 of file powermate.c.
#define POWERMATE_VENDOR 0x077d /* Griffin Technology, Inc. */ |
Definition at line 38 of file powermate.c.
#define SET_PULSE_ASLEEP 0x02 |
Definition at line 47 of file powermate.c.
#define SET_PULSE_AWAKE 0x03 |
Definition at line 48 of file powermate.c.
#define SET_PULSE_MODE 0x04 |
Definition at line 49 of file powermate.c.
#define SET_STATIC_BRIGHTNESS 0x01 |
Definition at line 46 of file powermate.c.
#define UPDATE_PULSE_ASLEEP (1<<1) |
Definition at line 53 of file powermate.c.
#define UPDATE_PULSE_AWAKE (1<<2) |
Definition at line 54 of file powermate.c.
#define UPDATE_PULSE_MODE (1<<3) |
Definition at line 55 of file powermate.c.
#define UPDATE_STATIC_BRIGHTNESS (1<<0) |
Definition at line 52 of file powermate.c.
MODULE_AUTHOR | ( | "William R Sowerbutts" | ) |
MODULE_DESCRIPTION | ( | "Griffin | Technology, |
Inc PowerMate driver" | |||
) |
MODULE_DEVICE_TABLE | ( | usb | , |
powermate_devices | |||
) |
MODULE_LICENSE | ( | "GPL" | ) |
module_usb_driver | ( | powermate_driver | ) |