#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/usb/input.h>
#include <linux/hid.h>
Go to the source code of this file.
|
struct usb_kbd - state of each attached keyboard : input device associated with this keyboard : usb device associated with this keyboard : data received in the past from the URB representing which keys were pressed. By comparing with the current list of keys that are pressed, we are able to see key releases. : URB for receiving a list of keys that are pressed when a new key is pressed or a key that was pressed is released. : URB for sending LEDs (e.g. numlock, ...) : data that will be sent with the URB representing which LEDs should be on
: Physical path of the keyboard. 's phys field points to this buffer : Buffer for the URB : Control request for URB : Buffer for the URB : DMA address for URB : DMA address for URB : spinlock that protects , , and : indicates whether is in progress, i.e. it has been submitted and its completion handler has not returned yet without resubmitting
|
| MODULE_DEVICE_TABLE (usb, usb_kbd_id_table) |
|
| module_usb_driver (usb_kbd_driver) |
|
#define DRIVER_LICENSE "GPL" |
#define DRIVER_VERSION "" |
#define pr_fmt |
( |
|
fmt | ) |
KBUILD_MODNAME ": " fmt |
MODULE_DEVICE_TABLE |
( |
usb |
, |
|
|
usb_kbd_id_table |
|
|
) |
| |
module_usb_driver |
( |
usb_kbd_driver |
| ) |
|