Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
ns87303.h File Reference

Go to the source code of this file.

Macros

#define FER   0x00
 
#define FAR   0x01
 
#define PTR   0x02
 
#define FCR   0x03
 
#define PCR   0x04
 
#define KRR   0x05
 
#define PMC   0x06
 
#define TUP   0x07
 
#define SID   0x08
 
#define ASC   0x09
 
#define CS0CF0   0x0a
 
#define CS0CF1   0x0b
 
#define CS1CF0   0x0c
 
#define CS1CF1   0x0d
 
#define FER_EDM   0x10 /* Encoded Drive and Motor pin information */
 
#define FAR_LPT_MASK   0x03
 
#define FAR_LPTB   0x00
 
#define FAR_LPTA   0x01
 
#define FAR_LPTC   0x02
 
#define PTR_LPTB_IRQ7   0x08
 
#define PTR_LEVEL_IRQ   0x80 /* When not ECP/EPP: Use level IRQ */
 
#define PTR_LPT_REG_DIR   0x80 /* When ECP/EPP: LPT CTR controls direction */
 
#define FCR_LDE   0x10 /* Logical Drive Exchange */
 
#define FCR_ZWS_ENA   0x20 /* Enable short host read/write in ECP/EPP */
 
#define PCR_EPP_ENABLE   0x01
 
#define PCR_EPP_IEEE   0x02 /* Enable EPP Version 1.9 (IEEE 1284) */
 
#define PCR_ECP_ENABLE   0x04
 
#define PCR_ECP_CLK_ENA   0x08 /* If 0 ECP Clock is stopped on Power down */
 
#define PCR_IRQ_POLAR   0x20 /* If 0 IRQ is level high or negative pulse, */
 
#define PCR_IRQ_ODRAIN   0x40 /* If 1, IRQ is open drain */
 
#define TUP_EPP_TIMO   0x02 /* Enable EPP timeout IRQ */
 
#define ASC_LPT_IRQ7   0x01 /* Always use IRQ7 for LPT */
 
#define ASC_DRV2_SEL   0x02 /* Logical Drive Exchange controlled by TDR */
 
#define FER_RESERVED   0x00
 
#define FAR_RESERVED   0x00
 
#define PTR_RESERVED   0x73
 
#define FCR_RESERVED   0xc4
 
#define PCR_RESERVED   0x10
 
#define KRR_RESERVED   0x00
 
#define PMC_RESERVED   0x98
 
#define TUP_RESERVED   0xfb
 
#define SIP_RESERVED   0x00
 
#define ASC_RESERVED   0x18
 
#define CS0CF0_RESERVED   0x00
 
#define CS0CF1_RESERVED   0x08
 
#define CS1CF0_RESERVED   0x00
 
#define CS1CF1_RESERVED   0x08
 

Macro Definition Documentation

#define ASC   0x09

Definition at line 22 of file ns87303.h.

#define ASC_DRV2_SEL   0x02 /* Logical Drive Exchange controlled by TDR */

Definition at line 61 of file ns87303.h.

#define ASC_LPT_IRQ7   0x01 /* Always use IRQ7 for LPT */

Definition at line 60 of file ns87303.h.

#define ASC_RESERVED   0x18

Definition at line 72 of file ns87303.h.

#define CS0CF0   0x0a

Definition at line 23 of file ns87303.h.

#define CS0CF0_RESERVED   0x00

Definition at line 73 of file ns87303.h.

#define CS0CF1   0x0b

Definition at line 24 of file ns87303.h.

#define CS0CF1_RESERVED   0x08

Definition at line 74 of file ns87303.h.

#define CS1CF0   0x0c

Definition at line 25 of file ns87303.h.

#define CS1CF0_RESERVED   0x00

Definition at line 75 of file ns87303.h.

#define CS1CF1   0x0d

Definition at line 26 of file ns87303.h.

#define CS1CF1_RESERVED   0x08

Definition at line 76 of file ns87303.h.

#define FAR   0x01

Definition at line 14 of file ns87303.h.

#define FAR_LPT_MASK   0x03

Definition at line 32 of file ns87303.h.

#define FAR_LPTA   0x01

Definition at line 34 of file ns87303.h.

#define FAR_LPTB   0x00

Definition at line 33 of file ns87303.h.

#define FAR_LPTC   0x02

Definition at line 35 of file ns87303.h.

#define FAR_RESERVED   0x00

Definition at line 64 of file ns87303.h.

#define FCR   0x03

Definition at line 16 of file ns87303.h.

#define FCR_LDE   0x10 /* Logical Drive Exchange */

Definition at line 44 of file ns87303.h.

#define FCR_RESERVED   0xc4

Definition at line 66 of file ns87303.h.

#define FCR_ZWS_ENA   0x20 /* Enable short host read/write in ECP/EPP */

Definition at line 45 of file ns87303.h.

#define FER   0x00

Definition at line 13 of file ns87303.h.

#define FER_EDM   0x10 /* Encoded Drive and Motor pin information */

Definition at line 29 of file ns87303.h.

#define FER_RESERVED   0x00

Definition at line 63 of file ns87303.h.

#define KRR   0x05

Definition at line 18 of file ns87303.h.

#define KRR_RESERVED   0x00

Definition at line 68 of file ns87303.h.

#define PCR   0x04

Definition at line 17 of file ns87303.h.

#define PCR_ECP_CLK_ENA   0x08 /* If 0 ECP Clock is stopped on Power down */

Definition at line 51 of file ns87303.h.

#define PCR_ECP_ENABLE   0x04

Definition at line 50 of file ns87303.h.

#define PCR_EPP_ENABLE   0x01

Definition at line 48 of file ns87303.h.

#define PCR_EPP_IEEE   0x02 /* Enable EPP Version 1.9 (IEEE 1284) */

Definition at line 49 of file ns87303.h.

#define PCR_IRQ_ODRAIN   0x40 /* If 1, IRQ is open drain */

Definition at line 54 of file ns87303.h.

#define PCR_IRQ_POLAR   0x20 /* If 0 IRQ is level high or negative pulse, */

Definition at line 52 of file ns87303.h.

#define PCR_RESERVED   0x10

Definition at line 67 of file ns87303.h.

#define PMC   0x06

Definition at line 19 of file ns87303.h.

#define PMC_RESERVED   0x98

Definition at line 69 of file ns87303.h.

#define PTR   0x02

Definition at line 15 of file ns87303.h.

#define PTR_LEVEL_IRQ   0x80 /* When not ECP/EPP: Use level IRQ */

Definition at line 39 of file ns87303.h.

#define PTR_LPT_REG_DIR   0x80 /* When ECP/EPP: LPT CTR controls direction */

Definition at line 40 of file ns87303.h.

#define PTR_LPTB_IRQ7   0x08

Definition at line 38 of file ns87303.h.

#define PTR_RESERVED   0x73

Definition at line 65 of file ns87303.h.

#define SID   0x08

Definition at line 21 of file ns87303.h.

#define SIP_RESERVED   0x00

Definition at line 71 of file ns87303.h.

#define TUP   0x07

Definition at line 20 of file ns87303.h.

#define TUP_EPP_TIMO   0x02 /* Enable EPP timeout IRQ */

Definition at line 57 of file ns87303.h.

#define TUP_RESERVED   0xfb

Definition at line 70 of file ns87303.h.