Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Typedefs | Functions
keyboard.c File Reference
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/sysrq.h>
#include <linux/consolemap.h>
#include <linux/kbd_kern.h>
#include <linux/kbd_diacr.h>
#include <asm/uaccess.h>
#include "keyboard.h"

Go to the source code of this file.

Macros

#define K_HANDLERS
 

Typedefs

typedef voidk_handler_fn )(struct kbd_data *, unsigned char)
 

Functions

struct kbd_datakbd_alloc (void)
 
void kbd_free (struct kbd_data *kbd)
 
void kbd_ascebc (struct kbd_data *kbd, unsigned char *ascebc)
 
void kbd_keycode (struct kbd_data *kbd, unsigned int keycode)
 
int kbd_ioctl (struct kbd_data *kbd, unsigned int cmd, unsigned long arg)
 
 EXPORT_SYMBOL (kbd_ioctl)
 
 EXPORT_SYMBOL (kbd_ascebc)
 
 EXPORT_SYMBOL (kbd_free)
 
 EXPORT_SYMBOL (kbd_alloc)
 
 EXPORT_SYMBOL (kbd_keycode)
 

Macro Definition Documentation

#define K_HANDLERS
Value:
k_self, k_fn, k_spec, k_ignore,\
k_dead, k_ignore, k_ignore, k_ignore,\
k_ignore, k_ignore, k_ignore, k_ignore,\
k_ignore, k_ignore, k_ignore, k_ignore

Definition at line 24 of file keyboard.c.

Typedef Documentation

typedef void( k_handler_fn)(struct kbd_data *, unsigned char)

Definition at line 30 of file keyboard.c.

Function Documentation

EXPORT_SYMBOL ( kbd_ioctl  )
EXPORT_SYMBOL ( kbd_ascebc  )
EXPORT_SYMBOL ( kbd_free  )
EXPORT_SYMBOL ( kbd_alloc  )
EXPORT_SYMBOL ( kbd_keycode  )
struct kbd_data* kbd_alloc ( void  )
read

Definition at line 49 of file keyboard.c.

void kbd_ascebc ( struct kbd_data kbd,
unsigned char ascebc 
)

Definition at line 127 of file keyboard.c.

void kbd_free ( struct kbd_data kbd)

Definition at line 108 of file keyboard.c.

int kbd_ioctl ( struct kbd_data kbd,
unsigned int  cmd,
unsigned long  arg 
)

Definition at line 457 of file keyboard.c.

void kbd_keycode ( struct kbd_data kbd,
unsigned int  keycode 
)

Definition at line 280 of file keyboard.c.