Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
hid-quirks.c File Reference
#include <linux/hid.h>
#include <linux/export.h>
#include <linux/slab.h>
#include "../hid-ids.h"

Go to the source code of this file.

Data Structures

struct  hid_blacklist
 
struct  quirks_list_struct
 

Functions

int usbhid_quirks_init (char **quirks_param)
 
void usbhid_quirks_exit (void)
 
u32 usbhid_lookup_quirk (const u16 idVendor, const u16 idProduct)
 
 EXPORT_SYMBOL_GPL (usbhid_lookup_quirk)
 

Function Documentation

EXPORT_SYMBOL_GPL ( usbhid_lookup_quirk  )
u32 usbhid_lookup_quirk ( const u16  idVendor,
const u16  idProduct 
)

usbhid_lookup_quirk: return any quirks associated with a USB HID device : the 16-bit USB vendor ID, in native byteorder : the 16-bit USB product ID, in native byteorder

Description: Given a USB vendor ID and product ID, return any quirks associated with that device.

Returns: a u32 quirks value.

Definition at line 313 of file hid-quirks.c.

void usbhid_quirks_exit ( void  )

usbhid_quirks_exit: release memory associated with dynamic_quirks

Description: Release all memory associated with dynamic quirks. Called upon module unload.

Returns: nothing

Definition at line 268 of file hid-quirks.c.

int usbhid_quirks_init ( char **  quirks_param)

usbhid_quirks_init: apply USB HID quirks specified at module load time

Definition at line 237 of file hid-quirks.c.