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

Go to the source code of this file.

Data Structures

struct  bpp_regs
 

Macros

#define P_HCR_TEST   0x8000 /* Allows buried counters to be read */
 
#define P_HCR_DSW   0x7f00 /* Data strobe width (in ticks) */
 
#define P_HCR_DDS   0x007f /* Data setup before strobe (in ticks) */
 
#define P_OCR_MEM_CLR   0x8000
 
#define P_OCR_DATA_SRC   0x4000 /* ) */
 
#define P_OCR_DS_DSEL   0x2000 /* ) Bidirectional */
 
#define P_OCR_BUSY_DSEL   0x1000 /* ) selects */
 
#define P_OCR_ACK_DSEL   0x0800 /* ) */
 
#define P_OCR_EN_DIAG   0x0400
 
#define P_OCR_BUSY_OP   0x0200 /* Busy operation */
 
#define P_OCR_ACK_OP   0x0100 /* Ack operation */
 
#define P_OCR_SRST   0x0080 /* Reset state machines. Not selfcleaning. */
 
#define P_OCR_IDLE   0x0008 /* PP data transfer state machine is idle */
 
#define P_OCR_V_ILCK   0x0002 /* Versatec faded. Zebra only. */
 
#define P_OCR_EN_VER   0x0001 /* Enable Versatec (0 - enable). Zebra only. */
 
#define P_TCR_DIR   0x08
 
#define P_TCR_BUSY   0x04
 
#define P_TCR_ACK   0x02
 
#define P_TCR_DS   0x01 /* Strobe */
 
#define P_OR_V3   0x20 /* ) */
 
#define P_OR_V2   0x10 /* ) on Zebra only */
 
#define P_OR_V1   0x08 /* ) */
 
#define P_OR_INIT   0x04
 
#define P_OR_AFXN   0x02 /* Auto Feed */
 
#define P_OR_SLCT_IN   0x01
 
#define P_IR_PE   0x04
 
#define P_IR_SLCT   0x02
 
#define P_IR_ERR   0x01
 
#define P_DS_IRQ   0x8000 /* RW1 */
 
#define P_ACK_IRQ   0x4000 /* RW1 */
 
#define P_BUSY_IRQ   0x2000 /* RW1 */
 
#define P_PE_IRQ   0x1000 /* RW1 */
 
#define P_SLCT_IRQ   0x0800 /* RW1 */
 
#define P_ERR_IRQ   0x0400 /* RW1 */
 
#define P_DS_IRQ_EN   0x0200 /* RW Always on rising edge */
 
#define P_ACK_IRQ_EN   0x0100 /* RW Always on rising edge */
 
#define P_BUSY_IRP   0x0080 /* RW 1= rising edge */
 
#define P_BUSY_IRQ_EN   0x0040 /* RW */
 
#define P_PE_IRP   0x0020 /* RW 1= rising edge */
 
#define P_PE_IRQ_EN   0x0010 /* RW */
 
#define P_SLCT_IRP   0x0008 /* RW 1= rising edge */
 
#define P_SLCT_IRQ_EN   0x0004 /* RW */
 
#define P_ERR_IRP   0x0002 /* RW1 1= rising edge */
 
#define P_ERR_IRQ_EN   0x0001 /* RW */
 

Macro Definition Documentation

#define P_ACK_IRQ   0x4000 /* RW1 */

Definition at line 64 of file sunbpp.h.

#define P_ACK_IRQ_EN   0x0100 /* RW Always on rising edge */

Definition at line 70 of file sunbpp.h.

#define P_BUSY_IRP   0x0080 /* RW 1= rising edge */

Definition at line 71 of file sunbpp.h.

#define P_BUSY_IRQ   0x2000 /* RW1 */

Definition at line 65 of file sunbpp.h.

#define P_BUSY_IRQ_EN   0x0040 /* RW */

Definition at line 72 of file sunbpp.h.

#define P_DS_IRQ   0x8000 /* RW1 */

Definition at line 63 of file sunbpp.h.

#define P_DS_IRQ_EN   0x0200 /* RW Always on rising edge */

Definition at line 69 of file sunbpp.h.

#define P_ERR_IRP   0x0002 /* RW1 1= rising edge */

Definition at line 77 of file sunbpp.h.

#define P_ERR_IRQ   0x0400 /* RW1 */

Definition at line 68 of file sunbpp.h.

#define P_ERR_IRQ_EN   0x0001 /* RW */

Definition at line 78 of file sunbpp.h.

#define P_HCR_DDS   0x007f /* Data setup before strobe (in ticks) */

Definition at line 27 of file sunbpp.h.

#define P_HCR_DSW   0x7f00 /* Data strobe width (in ticks) */

Definition at line 26 of file sunbpp.h.

#define P_HCR_TEST   0x8000 /* Allows buried counters to be read */

Definition at line 25 of file sunbpp.h.

#define P_IR_ERR   0x01

Definition at line 60 of file sunbpp.h.

#define P_IR_PE   0x04

Definition at line 58 of file sunbpp.h.

#define P_IR_SLCT   0x02

Definition at line 59 of file sunbpp.h.

#define P_OCR_ACK_DSEL   0x0800 /* ) */

Definition at line 34 of file sunbpp.h.

#define P_OCR_ACK_OP   0x0100 /* Ack operation */

Definition at line 37 of file sunbpp.h.

#define P_OCR_BUSY_DSEL   0x1000 /* ) selects */

Definition at line 33 of file sunbpp.h.

#define P_OCR_BUSY_OP   0x0200 /* Busy operation */

Definition at line 36 of file sunbpp.h.

#define P_OCR_DATA_SRC   0x4000 /* ) */

Definition at line 31 of file sunbpp.h.

#define P_OCR_DS_DSEL   0x2000 /* ) Bidirectional */

Definition at line 32 of file sunbpp.h.

#define P_OCR_EN_DIAG   0x0400

Definition at line 35 of file sunbpp.h.

#define P_OCR_EN_VER   0x0001 /* Enable Versatec (0 - enable). Zebra only. */

Definition at line 41 of file sunbpp.h.

#define P_OCR_IDLE   0x0008 /* PP data transfer state machine is idle */

Definition at line 39 of file sunbpp.h.

#define P_OCR_MEM_CLR   0x8000

Definition at line 30 of file sunbpp.h.

#define P_OCR_SRST   0x0080 /* Reset state machines. Not selfcleaning. */

Definition at line 38 of file sunbpp.h.

#define P_OCR_V_ILCK   0x0002 /* Versatec faded. Zebra only. */

Definition at line 40 of file sunbpp.h.

#define P_OR_AFXN   0x02 /* Auto Feed */

Definition at line 54 of file sunbpp.h.

#define P_OR_INIT   0x04

Definition at line 53 of file sunbpp.h.

#define P_OR_SLCT_IN   0x01

Definition at line 55 of file sunbpp.h.

#define P_OR_V1   0x08 /* ) */

Definition at line 52 of file sunbpp.h.

#define P_OR_V2   0x10 /* ) on Zebra only */

Definition at line 51 of file sunbpp.h.

#define P_OR_V3   0x20 /* ) */

Definition at line 50 of file sunbpp.h.

#define P_PE_IRP   0x0020 /* RW 1= rising edge */

Definition at line 73 of file sunbpp.h.

#define P_PE_IRQ   0x1000 /* RW1 */

Definition at line 66 of file sunbpp.h.

#define P_PE_IRQ_EN   0x0010 /* RW */

Definition at line 74 of file sunbpp.h.

#define P_SLCT_IRP   0x0008 /* RW 1= rising edge */

Definition at line 75 of file sunbpp.h.

#define P_SLCT_IRQ   0x0800 /* RW1 */

Definition at line 67 of file sunbpp.h.

#define P_SLCT_IRQ_EN   0x0004 /* RW */

Definition at line 76 of file sunbpp.h.

#define P_TCR_ACK   0x02

Definition at line 46 of file sunbpp.h.

#define P_TCR_BUSY   0x04

Definition at line 45 of file sunbpp.h.

#define P_TCR_DIR   0x08

Definition at line 44 of file sunbpp.h.

#define P_TCR_DS   0x01 /* Strobe */

Definition at line 47 of file sunbpp.h.