The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/dev/ic/i8042reg.h

Version: -  FREEBSD  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-2  -  FREEBSD-11-1  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-4  -  FREEBSD-10-3  -  FREEBSD-10-2  -  FREEBSD-10-1  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-3  -  FREEBSD-9-2  -  FREEBSD-9-1  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-4  -  FREEBSD-8-3  -  FREEBSD-8-2  -  FREEBSD-8-1  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-4  -  FREEBSD-7-3  -  FREEBSD-7-2  -  FREEBSD-7-1  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-4  -  FREEBSD-6-3  -  FREEBSD-6-2  -  FREEBSD-6-1  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-5  -  FREEBSD-5-4  -  FREEBSD-5-3  -  FREEBSD-5-2  -  FREEBSD-5-1  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  linux-2.6  -  linux-2.4.22  -  MK83  -  MK84  -  PLAN9  -  DFBSD  -  NETBSD  -  NETBSD5  -  NETBSD4  -  NETBSD3  -  NETBSD20  -  OPENBSD  -  xnu-517  -  xnu-792  -  xnu-792.6.70  -  xnu-1228  -  xnu-1456.1.26  -  xnu-1699.24.8  -  xnu-2050.18.24  -  OPENSOLARIS  -  minix-3-1-1 
SearchContext: -  none  -  3  -  10 

    1 /*      $NetBSD: i8042reg.h,v 1.8 2002/01/31 13:25:20 uwe Exp $ */
    2 
    3 #define KBSTATP         4       /* kbd controller status port (I) */
    4 #define  KBS_DIB        0x01    /* kbd data in buffer */
    5 #define  KBS_IBF        0x02    /* kbd input buffer low */
    6 #define  KBS_WARM       0x04    /* kbd system flag */
    7 #define  KBS_OCMD       0x08    /* kbd output buffer has command */
    8 #define  KBS_NOSEC      0x10    /* kbd security lock not engaged */
    9 #define  KBS_TERR       0x20    /* kbd transmission error */
   10 #define  KBS_RERR       0x40    /* kbd receive error */
   11 #define  KBS_PERR       0x80    /* kbd parity error */
   12 
   13 #define KBCMDP          4       /* kbd controller port (O) */
   14 #define  KBC_RAMREAD    0x20    /* read from RAM */
   15 #define  KBC_RAMWRITE   0x60    /* write to RAM */
   16 #define  KBC_AUXDISABLE 0xa7    /* disable auxiliary port */
   17 #define  KBC_AUXENABLE  0xa8    /* enable auxiliary port */
   18 #define  KBC_AUXTEST    0xa9    /* test auxiliary port */
   19 #define  KBC_KBDECHO    0xd2    /* echo to keyboard port */
   20 #define  KBC_AUXECHO    0xd3    /* echo to auxiliary port */
   21 #define  KBC_AUXWRITE   0xd4    /* write to auxiliary port */
   22 #define  KBC_SELFTEST   0xaa    /* start self-test */
   23 #define  KBC_KBDTEST    0xab    /* test keyboard port */
   24 #define  KBC_KBDDISABLE 0xad    /* disable keyboard port */
   25 #define  KBC_KBDENABLE  0xae    /* enable keyboard port */
   26 #define  KBC_PULSE0     0xfe    /* pulse output bit 0 */
   27 #define  KBC_PULSE1     0xfd    /* pulse output bit 1 */
   28 #define  KBC_PULSE2     0xfb    /* pulse output bit 2 */
   29 #define  KBC_PULSE3     0xf7    /* pulse output bit 3 */
   30 
   31 #define KBDATAP         0       /* kbd data port (I) */
   32 #define KBOUTP          0       /* kbd data port (O) */
   33 
   34 #define K_RDCMDBYTE     0x20
   35 #define K_LDCMDBYTE     0x60
   36 
   37 #define KC8_TRANS       0x40    /* convert to old scan codes */
   38 #define KC8_MDISABLE    0x20    /* disable mouse */
   39 #define KC8_KDISABLE    0x10    /* disable keyboard */
   40 #define KC8_IGNSEC      0x08    /* ignore security lock */
   41 #define KC8_CPU         0x04    /* exit from protected mode reset */
   42 #define KC8_MENABLE     0x02    /* enable mouse interrupt */
   43 #define KC8_KENABLE     0x01    /* enable keyboard interrupt */
   44 #define CMDBYTE         (KC8_TRANS|KC8_CPU|KC8_MENABLE|KC8_KENABLE)

Cache object: 7c115ed942f7ec6a1ba51090993e1d6f


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.