|
Linux Kernel
3.7.1
|
#include <linux/kernel.h>#include <linux/errno.h>#include <linux/init.h>#include <linux/slab.h>#include <linux/module.h>#include <linux/string.h>#include <linux/usb.h>Go to the source code of this file.
Data Structures | |
| struct | usb_sevsegdev |
Macros | |
| #define | DRIVER_AUTHOR "Harrison Metzger <[email protected]>" |
| #define | DRIVER_DESC "USB 7 Segment Driver" |
| #define | VENDOR_ID 0x0fc5 |
| #define | PRODUCT_ID 0x1227 |
| #define | MAXLEN 8 |
| #define | MYDEV_ATTR_SIMPLE_UNSIGNED(name, update_fcn) |
Functions | |
| MODULE_DEVICE_TABLE (usb, id_table) | |
| size_t | my_memlen (const char *buf, size_t count) |
| MYDEV_ATTR_SIMPLE_UNSIGNED (powered, update_display_powered) | |
| MYDEV_ATTR_SIMPLE_UNSIGNED (mode_msb, update_display_mode) | |
| MYDEV_ATTR_SIMPLE_UNSIGNED (mode_lsb, update_display_mode) | |
| module_usb_driver (sevseg_driver) | |
| MODULE_AUTHOR (DRIVER_AUTHOR) | |
| MODULE_DESCRIPTION (DRIVER_DESC) | |
| MODULE_LICENSE ("GPL") | |
| #define DRIVER_AUTHOR "Harrison Metzger <[email protected]>" |
Definition at line 22 of file usbsevseg.c.
| #define DRIVER_DESC "USB 7 Segment Driver" |
Definition at line 23 of file usbsevseg.c.
| #define MAXLEN 8 |
Definition at line 27 of file usbsevseg.c.
| #define MYDEV_ATTR_SIMPLE_UNSIGNED | ( | name, | |
| update_fcn | |||
| ) |
Definition at line 174 of file usbsevseg.c.
| #define PRODUCT_ID 0x1227 |
Definition at line 26 of file usbsevseg.c.
| #define VENDOR_ID 0x0fc5 |
Definition at line 25 of file usbsevseg.c.
| MODULE_AUTHOR | ( | DRIVER_AUTHOR | ) |
| MODULE_DESCRIPTION | ( | DRIVER_DESC | ) |
| MODULE_DEVICE_TABLE | ( | usb | , |
| id_table | |||
| ) |
| MODULE_LICENSE | ( | "GPL" | ) |
| module_usb_driver | ( | sevseg_driver | ) |
Definition at line 60 of file usbsevseg.c.
| MYDEV_ATTR_SIMPLE_UNSIGNED | ( | powered | , |
| update_display_powered | |||
| ) |
| MYDEV_ATTR_SIMPLE_UNSIGNED | ( | mode_msb | , |
| update_display_mode | |||
| ) |
| MYDEV_ATTR_SIMPLE_UNSIGNED | ( | mode_lsb | , |
| update_display_mode | |||
| ) |
1.8.2