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

Go to the source code of this file.

Data Structures

struct  sgi_vino_channel
 
struct  sgi_vino
 

Macros

#define VINO_BASE
 
#define VINO_PAGE_SIZE   4096
 
#define VINO_CLIP_X(x)   ((x) & 0x3ff) /* bits 0:9 */
 
#define VINO_CLIP_ODD(x)   (((x) & 0x1ff) << 10) /* bits 10:18 */
 
#define VINO_CLIP_EVEN(x)   (((x) & 0x1ff) << 19) /* bits 19:27 */
 
#define VINO_FRAMERT_FULL   0xfff
 
#define VINO_FRAMERT_PAL   (1<<0) /* 0=NTSC 1=PAL */
 
#define VINO_FRAMERT_RT(x)   (((x) & 0xfff) << 1) /* bits 1:12 */
 
#define VINO_DESC_JUMP   (1<<30)
 
#define VINO_DESC_STOP   (1<<31)
 
#define VINO_DESC_VALID   (1<<32)
 
#define VINO_CHIP_ID   0xb
 
#define VINO_REV_NUM(x)   ((x) & 0x0f)
 
#define VINO_ID_VALUE(x)   (((x) & 0xf0) >> 4)
 
#define VINO_CTRL_LITTLE_ENDIAN   (1<<0)
 
#define VINO_CTRL_A_EOF_INT   (1<<1) /* Field transferred int */
 
#define VINO_CTRL_A_FIFO_INT   (1<<2) /* FIFO overflow int */
 
#define VINO_CTRL_A_EOD_INT   (1<<3) /* End of desc table int */
 
#define VINO_CTRL_A_INT
 
#define VINO_CTRL_B_EOF_INT   (1<<4) /* Field transferred int */
 
#define VINO_CTRL_B_FIFO_INT   (1<<5) /* FIFO overflow int */
 
#define VINO_CTRL_B_EOD_INT   (1<<6) /* End of desc table int */
 
#define VINO_CTRL_B_INT
 
#define VINO_CTRL_A_DMA_ENBL   (1<<7)
 
#define VINO_CTRL_A_INTERLEAVE_ENBL   (1<<8)
 
#define VINO_CTRL_A_SYNC_ENBL   (1<<9)
 
#define VINO_CTRL_A_SELECT   (1<<10) /* 1=D1 0=Philips */
 
#define VINO_CTRL_A_RGB   (1<<11) /* 1=RGB 0=YUV */
 
#define VINO_CTRL_A_LUMA_ONLY   (1<<12)
 
#define VINO_CTRL_A_DEC_ENBL   (1<<13) /* Decimation */
 
#define VINO_CTRL_A_DEC_SCALE_MASK   0x1c000 /* bits 14:17 */
 
#define VINO_CTRL_A_DEC_SCALE_SHIFT   (14)
 
#define VINO_CTRL_A_DEC_HOR_ONLY   (1<<17) /* Horizontal only */
 
#define VINO_CTRL_A_DITHER   (1<<18) /* 24 -> 8 bit dither */
 
#define VINO_CTRL_B_DMA_ENBL   (1<<19)
 
#define VINO_CTRL_B_INTERLEAVE_ENBL   (1<<20)
 
#define VINO_CTRL_B_SYNC_ENBL   (1<<21)
 
#define VINO_CTRL_B_SELECT   (1<<22) /* 1=D1 0=Philips */
 
#define VINO_CTRL_B_RGB   (1<<23) /* 1=RGB 0=YUV */
 
#define VINO_CTRL_B_LUMA_ONLY   (1<<24)
 
#define VINO_CTRL_B_DEC_ENBL   (1<<25) /* Decimation */
 
#define VINO_CTRL_B_DEC_SCALE_MASK   0x1c000000 /* bits 26:28 */
 
#define VINO_CTRL_B_DEC_SCALE_SHIFT   (26)
 
#define VINO_CTRL_B_DEC_HOR_ONLY   (1<<29) /* Decimation horizontal only */
 
#define VINO_CTRL_B_DITHER   (1<<30) /* ChanB 24 -> 8 bit dither */
 
#define VINO_INTSTAT_A_EOF   (1<<0) /* Field transferred int */
 
#define VINO_INTSTAT_A_FIFO   (1<<1) /* FIFO overflow int */
 
#define VINO_INTSTAT_A_EOD   (1<<2) /* End of desc table int */
 
#define VINO_INTSTAT_A
 
#define VINO_INTSTAT_B_EOF   (1<<3) /* Field transferred int */
 
#define VINO_INTSTAT_B_FIFO   (1<<4) /* FIFO overflow int */
 
#define VINO_INTSTAT_B_EOD   (1<<5) /* End of desc table int */
 
#define VINO_INTSTAT_B
 

Macro Definition Documentation

#define VINO_BASE
Value:
0x00080000 /* Vino is in the EISA address space,
* but it is not an EISA bus card */

Definition at line 14 of file vino.h.

#define VINO_CHIP_ID   0xb

Definition at line 69 of file vino.h.

#define VINO_CLIP_EVEN (   x)    (((x) & 0x1ff) << 19) /* bits 19:27 */

Definition at line 23 of file vino.h.

#define VINO_CLIP_ODD (   x)    (((x) & 0x1ff) << 10) /* bits 10:18 */

Definition at line 22 of file vino.h.

#define VINO_CLIP_X (   x)    ((x) & 0x3ff) /* bits 0:9 */

Definition at line 21 of file vino.h.

#define VINO_CTRL_A_DEC_ENBL   (1<<13) /* Decimation */

Definition at line 94 of file vino.h.

#define VINO_CTRL_A_DEC_HOR_ONLY   (1<<17) /* Horizontal only */

Definition at line 97 of file vino.h.

#define VINO_CTRL_A_DEC_SCALE_MASK   0x1c000 /* bits 14:17 */

Definition at line 95 of file vino.h.

#define VINO_CTRL_A_DEC_SCALE_SHIFT   (14)

Definition at line 96 of file vino.h.

#define VINO_CTRL_A_DITHER   (1<<18) /* 24 -> 8 bit dither */

Definition at line 98 of file vino.h.

#define VINO_CTRL_A_DMA_ENBL   (1<<7)

Definition at line 88 of file vino.h.

#define VINO_CTRL_A_EOD_INT   (1<<3) /* End of desc table int */

Definition at line 78 of file vino.h.

#define VINO_CTRL_A_EOF_INT   (1<<1) /* Field transferred int */

Definition at line 76 of file vino.h.

#define VINO_CTRL_A_FIFO_INT   (1<<2) /* FIFO overflow int */

Definition at line 77 of file vino.h.

#define VINO_CTRL_A_INT
Value:
VINO_CTRL_A_FIFO_INT | \
VINO_CTRL_A_EOD_INT)

Definition at line 79 of file vino.h.

#define VINO_CTRL_A_INTERLEAVE_ENBL   (1<<8)

Definition at line 89 of file vino.h.

#define VINO_CTRL_A_LUMA_ONLY   (1<<12)

Definition at line 93 of file vino.h.

#define VINO_CTRL_A_RGB   (1<<11) /* 1=RGB 0=YUV */

Definition at line 92 of file vino.h.

#define VINO_CTRL_A_SELECT   (1<<10) /* 1=D1 0=Philips */

Definition at line 91 of file vino.h.

#define VINO_CTRL_A_SYNC_ENBL   (1<<9)

Definition at line 90 of file vino.h.

#define VINO_CTRL_B_DEC_ENBL   (1<<25) /* Decimation */

Definition at line 105 of file vino.h.

#define VINO_CTRL_B_DEC_HOR_ONLY   (1<<29) /* Decimation horizontal only */

Definition at line 108 of file vino.h.

#define VINO_CTRL_B_DEC_SCALE_MASK   0x1c000000 /* bits 26:28 */

Definition at line 106 of file vino.h.

#define VINO_CTRL_B_DEC_SCALE_SHIFT   (26)

Definition at line 107 of file vino.h.

#define VINO_CTRL_B_DITHER   (1<<30) /* ChanB 24 -> 8 bit dither */

Definition at line 109 of file vino.h.

#define VINO_CTRL_B_DMA_ENBL   (1<<19)

Definition at line 99 of file vino.h.

#define VINO_CTRL_B_EOD_INT   (1<<6) /* End of desc table int */

Definition at line 84 of file vino.h.

#define VINO_CTRL_B_EOF_INT   (1<<4) /* Field transferred int */

Definition at line 82 of file vino.h.

#define VINO_CTRL_B_FIFO_INT   (1<<5) /* FIFO overflow int */

Definition at line 83 of file vino.h.

#define VINO_CTRL_B_INT
Value:
VINO_CTRL_B_FIFO_INT | \
VINO_CTRL_B_EOD_INT)

Definition at line 85 of file vino.h.

#define VINO_CTRL_B_INTERLEAVE_ENBL   (1<<20)

Definition at line 100 of file vino.h.

#define VINO_CTRL_B_LUMA_ONLY   (1<<24)

Definition at line 104 of file vino.h.

#define VINO_CTRL_B_RGB   (1<<23) /* 1=RGB 0=YUV */

Definition at line 103 of file vino.h.

#define VINO_CTRL_B_SELECT   (1<<22) /* 1=D1 0=Philips */

Definition at line 102 of file vino.h.

#define VINO_CTRL_B_SYNC_ENBL   (1<<21)

Definition at line 101 of file vino.h.

#define VINO_CTRL_LITTLE_ENDIAN   (1<<0)

Definition at line 75 of file vino.h.

#define VINO_DESC_JUMP   (1<<30)

Definition at line 48 of file vino.h.

#define VINO_DESC_STOP   (1<<31)

Definition at line 49 of file vino.h.

#define VINO_DESC_VALID   (1<<32)

Definition at line 50 of file vino.h.

#define VINO_FRAMERT_FULL   0xfff

Definition at line 29 of file vino.h.

#define VINO_FRAMERT_PAL   (1<<0) /* 0=NTSC 1=PAL */

Definition at line 30 of file vino.h.

#define VINO_FRAMERT_RT (   x)    (((x) & 0xfff) << 1) /* bits 1:12 */

Definition at line 31 of file vino.h.

#define VINO_ID_VALUE (   x)    (((x) & 0xf0) >> 4)

Definition at line 71 of file vino.h.

#define VINO_INTSTAT_A
Value:
VINO_INTSTAT_A_FIFO | \
VINO_INTSTAT_A_EOD)

Definition at line 116 of file vino.h.

#define VINO_INTSTAT_A_EOD   (1<<2) /* End of desc table int */

Definition at line 115 of file vino.h.

#define VINO_INTSTAT_A_EOF   (1<<0) /* Field transferred int */

Definition at line 113 of file vino.h.

#define VINO_INTSTAT_A_FIFO   (1<<1) /* FIFO overflow int */

Definition at line 114 of file vino.h.

#define VINO_INTSTAT_B
Value:
VINO_INTSTAT_B_FIFO | \
VINO_INTSTAT_B_EOD)

Definition at line 122 of file vino.h.

#define VINO_INTSTAT_B_EOD   (1<<5) /* End of desc table int */

Definition at line 121 of file vino.h.

#define VINO_INTSTAT_B_EOF   (1<<3) /* Field transferred int */

Definition at line 119 of file vino.h.

#define VINO_INTSTAT_B_FIFO   (1<<4) /* FIFO overflow int */

Definition at line 120 of file vino.h.

#define VINO_PAGE_SIZE   4096

Definition at line 15 of file vino.h.

#define VINO_REV_NUM (   x)    ((x) & 0x0f)

Definition at line 70 of file vino.h.