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

Go to the source code of this file.

Data Structures

union  npfloat
 
union  np_dcb
 
struct  newport_rexregs
 
struct  newport_cregs
 
struct  newport_regs
 
struct  newport_ctx
 

Macros

#define DM1_PLANES   0x00000007
 
#define DM1_NOPLANES   0x00000000
 
#define DM1_RGBPLANES   0x00000001
 
#define DM1_RGBAPLANES   0x00000002
 
#define DM1_OLAYPLANES   0x00000004
 
#define DM1_PUPPLANES   0x00000005
 
#define DM1_CIDPLANES   0x00000006
 
#define NPORT_DMODE1_DDMASK   0x00000018
 
#define NPORT_DMODE1_DD4   0x00000000
 
#define NPORT_DMODE1_DD8   0x00000008
 
#define NPORT_DMODE1_DD12   0x00000010
 
#define NPORT_DMODE1_DD24   0x00000018
 
#define NPORT_DMODE1_DSRC   0x00000020
 
#define NPORT_DMODE1_YFLIP   0x00000040
 
#define NPORT_DMODE1_RWPCKD   0x00000080
 
#define NPORT_DMODE1_HDMASK   0x00000300
 
#define NPORT_DMODE1_HD4   0x00000000
 
#define NPORT_DMODE1_HD8   0x00000100
 
#define NPORT_DMODE1_HD12   0x00000200
 
#define NPORT_DMODE1_HD32   0x00000300
 
#define NPORT_DMODE1_RWDBL   0x00000400
 
#define NPORT_DMODE1_ESWAP   0x00000800 /* Endian swap */
 
#define NPORT_DMODE1_CCMASK   0x00007000
 
#define NPORT_DMODE1_CCLT   0x00001000
 
#define NPORT_DMODE1_CCEQ   0x00002000
 
#define NPORT_DMODE1_CCGT   0x00004000
 
#define NPORT_DMODE1_RGBMD   0x00008000
 
#define NPORT_DMODE1_DENAB   0x00010000 /* Dither enable */
 
#define NPORT_DMODE1_FCLR   0x00020000 /* Fast clear */
 
#define NPORT_DMODE1_BENAB   0x00040000 /* Blend enable */
 
#define NPORT_DMODE1_SFMASK   0x00380000
 
#define NPORT_DMODE1_SF0   0x00000000
 
#define NPORT_DMODE1_SF1   0x00080000
 
#define NPORT_DMODE1_SFDC   0x00100000
 
#define NPORT_DMODE1_SFMDC   0x00180000
 
#define NPORT_DMODE1_SFSA   0x00200000
 
#define NPORT_DMODE1_SFMSA   0x00280000
 
#define NPORT_DMODE1_DFMASK   0x01c00000
 
#define NPORT_DMODE1_DF0   0x00000000
 
#define NPORT_DMODE1_DF1   0x00400000
 
#define NPORT_DMODE1_DFSC   0x00800000
 
#define NPORT_DMODE1_DFMSC   0x00c00000
 
#define NPORT_DMODE1_DFSA   0x01000000
 
#define NPORT_DMODE1_DFMSA   0x01400000
 
#define NPORT_DMODE1_BBENAB   0x02000000 /* Back blend enable */
 
#define NPORT_DMODE1_PFENAB   0x04000000 /* Pre-fetch enable */
 
#define NPORT_DMODE1_ABLEND   0x08000000 /* Alpha blend */
 
#define NPORT_DMODE1_LOMASK   0xf0000000
 
#define NPORT_DMODE1_LOZERO   0x00000000
 
#define NPORT_DMODE1_LOAND   0x10000000
 
#define NPORT_DMODE1_LOANDR   0x20000000
 
#define NPORT_DMODE1_LOSRC   0x30000000
 
#define NPORT_DMODE1_LOANDI   0x40000000
 
#define NPORT_DMODE1_LODST   0x50000000
 
#define NPORT_DMODE1_LOXOR   0x60000000
 
#define NPORT_DMODE1_LOOR   0x70000000
 
#define NPORT_DMODE1_LONOR   0x80000000
 
#define NPORT_DMODE1_LOXNOR   0x90000000
 
#define NPORT_DMODE1_LONDST   0xa0000000
 
#define NPORT_DMODE1_LOORR   0xb0000000
 
#define NPORT_DMODE1_LONSRC   0xc0000000
 
#define NPORT_DMODE1_LOORI   0xd0000000
 
#define NPORT_DMODE1_LONAND   0xe0000000
 
#define NPORT_DMODE1_LOONE   0xf0000000
 
#define NPORT_DMODE0_OPMASK   0x00000003 /* Opcode mask */
 
#define NPORT_DMODE0_NOP   0x00000000 /* No operation */
 
#define NPORT_DMODE0_RD   0x00000001 /* Read operation */
 
#define NPORT_DMODE0_DRAW   0x00000002 /* Draw operation */
 
#define NPORT_DMODE0_S2S   0x00000003 /* Screen to screen operation */
 
#define NPORT_DMODE0_AMMASK   0x0000001c /* Address mode mask */
 
#define NPORT_DMODE0_SPAN   0x00000000 /* Spanning address mode */
 
#define NPORT_DMODE0_BLOCK   0x00000004 /* Block address mode */
 
#define NPORT_DMODE0_ILINE   0x00000008 /* Iline address mode */
 
#define NPORT_DMODE0_FLINE   0x0000000c /* Fline address mode */
 
#define NPORT_DMODE0_ALINE   0x00000010 /* Aline address mode */
 
#define NPORT_DMODE0_TLINE   0x00000014 /* Tline address mode */
 
#define NPORT_DMODE0_BLINE   0x00000018 /* Bline address mode */
 
#define NPORT_DMODE0_DOSETUP   0x00000020
 
#define NPORT_DMODE0_CHOST   0x00000040
 
#define NPORT_DMODE0_AHOST   0x00000080
 
#define NPORT_DMODE0_STOPX   0x00000100
 
#define NPORT_DMODE0_STOPY   0x00000200
 
#define NPORT_DMODE0_SK1ST   0x00000400
 
#define NPORT_DMODE0_SKLST   0x00000800
 
#define NPORT_DMODE0_ZPENAB   0x00001000
 
#define NPORT_DMODE0_LISPENAB   0x00002000
 
#define NPORT_DMODE0_LISLST   0x00004000
 
#define NPORT_DMODE0_L32   0x00008000
 
#define NPORT_DMODE0_ZOPQ   0x00010000
 
#define NPORT_DMODE0_LISOPQ   0x00020000
 
#define NPORT_DMODE0_SHADE   0x00040000
 
#define NPORT_DMODE0_LRONLY   0x00080000
 
#define NPORT_DMODE0_XYOFF   0x00100000
 
#define NPORT_DMODE0_CLAMP   0x00200000
 
#define NPORT_DMODE0_ENDPF   0x00400000
 
#define NPORT_DMODE0_YSTR   0x00800000
 
#define NPORT_DMODE_WMASK   0x00000003
 
#define NPORT_DMODE_W4   0x00000000
 
#define NPORT_DMODE_W1   0x00000001
 
#define NPORT_DMODE_W2   0x00000002
 
#define NPORT_DMODE_W3   0x00000003
 
#define NPORT_DMODE_EDPACK   0x00000004
 
#define NPORT_DMODE_ECINC   0x00000008
 
#define NPORT_DMODE_CMASK   0x00000070
 
#define NPORT_DMODE_AMASK   0x00000780
 
#define NPORT_DMODE_AVC2   0x00000000
 
#define NPORT_DMODE_ACMALL   0x00000080
 
#define NPORT_DMODE_ACM0   0x00000100
 
#define NPORT_DMODE_ACM1   0x00000180
 
#define NPORT_DMODE_AXMALL   0x00000200
 
#define NPORT_DMODE_AXM0   0x00000280
 
#define NPORT_DMODE_AXM1   0x00000300
 
#define NPORT_DMODE_ABT   0x00000380
 
#define NPORT_DMODE_AVCC1   0x00000400
 
#define NPORT_DMODE_AVAB1   0x00000480
 
#define NPORT_DMODE_ALG3V0   0x00000500
 
#define NPORT_DMODE_A1562   0x00000580
 
#define NPORT_DMODE_ESACK   0x00000800
 
#define NPORT_DMODE_EASACK   0x00001000
 
#define NPORT_DMODE_CWMASK   0x0003e000
 
#define NPORT_DMODE_CHMASK   0x007c0000
 
#define NPORT_DMODE_CSMASK   0x0f800000
 
#define NPORT_DMODE_SENDIAN   0x10000000
 
#define NPORT_CMODE_SM0   0x00000001
 
#define NPORT_CMODE_SM1   0x00000002
 
#define NPORT_CMODE_SM2   0x00000004
 
#define NPORT_CMODE_SM3   0x00000008
 
#define NPORT_CMODE_SM4   0x00000010
 
#define NPORT_CMODE_CMSK   0x00001e00
 
#define NPORT_CFG_G32MD   0x00000001
 
#define NPORT_CFG_BWIDTH   0x00000002
 
#define NPORT_CFG_ERCVR   0x00000004
 
#define NPORT_CFG_BDMSK   0x00000078
 
#define NPORT_CFG_BFAINT   0x00000080
 
#define NPORT_CFG_GDMSK   0x00001f80
 
#define NPORT_CFG_GD0   0x00000100
 
#define NPORT_CFG_GD1   0x00000200
 
#define NPORT_CFG_GD2   0x00000400
 
#define NPORT_CFG_GD3   0x00000800
 
#define NPORT_CFG_GD4   0x00001000
 
#define NPORT_CFG_GFAINT   0x00002000
 
#define NPORT_CFG_TOMSK   0x0001c000
 
#define NPORT_CFG_VRMSK   0x000e0000
 
#define NPORT_CFG_FBTYP   0x00100000
 
#define NPORT_STAT_VERS   0x00000007
 
#define NPORT_STAT_GBUSY   0x00000008
 
#define NPORT_STAT_BBUSY   0x00000010
 
#define NPORT_STAT_VRINT   0x00000020
 
#define NPORT_STAT_VIDINT   0x00000040
 
#define NPORT_STAT_GLMSK   0x00001f80
 
#define NPORT_STAT_BLMSK   0x0007e000
 
#define NPORT_STAT_BFIRQ   0x00080000
 
#define NPORT_STAT_GFIRQ   0x00100000
 
#define VC2_REGADDR_INDEX   0x00000000
 
#define VC2_REGADDR_IREG   0x00000010
 
#define VC2_REGADDR_RAM   0x00000030
 
#define VC2_PROTOCOL   (NPORT_DMODE_EASACK | 0x00800000 | 0x00040000)
 
#define VC2_VLINET_ADDR   0x000
 
#define VC2_VFRAMET_ADDR   0x400
 
#define VC2_CGLYPH_ADDR   0x500
 
#define VC2_IREG_VENTRY   0x00
 
#define VC2_IREG_CENTRY   0x01
 
#define VC2_IREG_CURSX   0x02
 
#define VC2_IREG_CURSY   0x03
 
#define VC2_IREG_CCURSX   0x04
 
#define VC2_IREG_DENTRY   0x05
 
#define VC2_IREG_SLEN   0x06
 
#define VC2_IREG_RADDR   0x07
 
#define VC2_IREG_VFPTR   0x08
 
#define VC2_IREG_VLSPTR   0x09
 
#define VC2_IREG_VLIR   0x0a
 
#define VC2_IREG_VLCTR   0x0b
 
#define VC2_IREG_CTPTR   0x0c
 
#define VC2_IREG_WCURSY   0x0d
 
#define VC2_IREG_DFPTR   0x0e
 
#define VC2_IREG_DLTPTR   0x0f
 
#define VC2_IREG_CONTROL   0x10
 
#define VC2_IREG_CONFIG   0x20
 
#define VC2_CTRL_EVIRQ   0x0001
 
#define VC2_CTRL_EDISP   0x0002
 
#define VC2_CTRL_EVIDEO   0x0004
 
#define VC2_CTRL_EDIDS   0x0008
 
#define VC2_CTRL_ECURS   0x0010
 
#define VC2_CTRL_EGSYNC   0x0020
 
#define VC2_CTRL_EILACE   0x0040
 
#define VC2_CTRL_ECDISP   0x0080
 
#define VC2_CTRL_ECCURS   0x0100
 
#define VC2_CTRL_ECG64   0x0200
 
#define VC2_CTRL_GLSEL   0x0400
 
#define NCMAP_REGADDR_AREG   0x00000000
 
#define NCMAP_REGADDR_ALO   0x00000000
 
#define NCMAP_REGADDR_AHI   0x00000010
 
#define NCMAP_REGADDR_PBUF   0x00000020
 
#define NCMAP_REGADDR_CREG   0x00000030
 
#define NCMAP_REGADDR_SREG   0x00000040
 
#define NCMAP_REGADDR_RREG   0x00000060
 
#define NCMAP_PROTOCOL   (0x00008000 | 0x00040000 | 0x00800000)
 
#define BUSY_TIMEOUT   100000
 
#define DCB_DATAWIDTH_4   0x0
 
#define DCB_DATAWIDTH_1   0x1
 
#define DCB_DATAWIDTH_2   0x2
 
#define DCB_DATAWIDTH_3   0x3
 
#define DCB_ENDATAPACK   (1 << 2)
 
#define DCB_ENCRSINC   (1 << 3)
 
#define DCB_CRS_SHIFT   4
 
#define DCB_ADDR_SHIFT   7
 
#define DCB_VC2   (0 << DCB_ADDR_SHIFT)
 
#define DCB_CMAP_ALL   (1 << DCB_ADDR_SHIFT)
 
#define DCB_CMAP0   (2 << DCB_ADDR_SHIFT)
 
#define DCB_CMAP1   (3 << DCB_ADDR_SHIFT)
 
#define DCB_XMAP_ALL   (4 << DCB_ADDR_SHIFT)
 
#define DCB_XMAP0   (5 << DCB_ADDR_SHIFT)
 
#define DCB_XMAP1   (6 << DCB_ADDR_SHIFT)
 
#define DCB_BT445   (7 << DCB_ADDR_SHIFT)
 
#define DCB_VCC1   (8 << DCB_ADDR_SHIFT)
 
#define DCB_VAB1   (9 << DCB_ADDR_SHIFT)
 
#define DCB_LG3_BDVERS0   (10 << DCB_ADDR_SHIFT)
 
#define DCB_LG3_ICS1562   (11 << DCB_ADDR_SHIFT)
 
#define DCB_RESERVED   (15 << DCB_ADDR_SHIFT)
 
#define DCB_ENSYNCACK   (1 << 11)
 
#define DCB_ENASYNCACK   (1 << 12)
 
#define DCB_CSWIDTH_SHIFT   13
 
#define DCB_CSHOLD_SHIFT   18
 
#define DCB_CSSETUP_SHIFT   23
 
#define XM9_CRS_CONFIG   (0 << DCB_CRS_SHIFT)
 
#define XM9_PUPMODE   (1 << 0)
 
#define XM9_ODD_PIXEL   (1 << 1)
 
#define XM9_8_BITPLANES   (1 << 2)
 
#define XM9_SLOW_DCB   (1 << 3)
 
#define XM9_VIDEO_RGBMAP_MASK   (3 << 4)
 
#define XM9_EXPRESS_VIDEO   (1 << 6)
 
#define XM9_VIDEO_OPTION   (1 << 7)
 
#define XM9_CRS_REVISION   (1 << DCB_CRS_SHIFT)
 
#define XM9_CRS_FIFO_AVAIL   (2 << DCB_CRS_SHIFT)
 
#define XM9_FIFO_0_AVAIL   0
 
#define XM9_FIFO_1_AVAIL   1
 
#define XM9_FIFO_2_AVAIL   3
 
#define XM9_FIFO_3_AVAIL   2
 
#define XM9_FIFO_FULL   XM9_FIFO_0_AVAIL
 
#define XM9_FIFO_EMPTY   XM9_FIFO_3_AVAIL
 
#define XM9_CRS_CURS_CMAP_MSB   (3 << DCB_CRS_SHIFT)
 
#define XM9_CRS_PUP_CMAP_MSB   (4 << DCB_CRS_SHIFT)
 
#define XM9_CRS_MODE_REG_DATA   (5 << DCB_CRS_SHIFT)
 
#define XM9_CRS_MODE_REG_INDEX   (7 << DCB_CRS_SHIFT)
 
#define DCB_CYCLES(setup, hold, width)
 
#define W_DCB_XMAP9_PROTOCOL   DCB_CYCLES (2, 1, 0)
 
#define WSLOW_DCB_XMAP9_PROTOCOL   DCB_CYCLES (5, 5, 0)
 
#define WAYSLOW_DCB_XMAP9_PROTOCOL   DCB_CYCLES (12, 12, 0)
 
#define R_DCB_XMAP9_PROTOCOL   DCB_CYCLES (2, 1, 3)
 
#define BT445_PROTOCOL   DCB_CYCLES(1,1,3)
 
#define BT445_CSR_ADDR_REG   (0 << DCB_CRS_SHIFT)
 
#define BT445_CSR_REVISION   (2 << DCB_CRS_SHIFT)
 
#define BT445_REVISION_REG   0x01
 

Typedefs

typedef volatile unsigned int npireg_t
 
typedef union npfloat npfreg_t
 

Macro Definition Documentation

#define BT445_CSR_ADDR_REG   (0 << DCB_CRS_SHIFT)

Definition at line 577 of file newport.h.

#define BT445_CSR_REVISION   (2 << DCB_CRS_SHIFT)

Definition at line 578 of file newport.h.

#define BT445_PROTOCOL   DCB_CYCLES(1,1,3)

Definition at line 575 of file newport.h.

#define BT445_REVISION_REG   0x01

Definition at line 580 of file newport.h.

#define BUSY_TIMEOUT   100000

Definition at line 451 of file newport.h.

#define DCB_ADDR_SHIFT   7

Definition at line 492 of file newport.h.

#define DCB_BT445   (7 << DCB_ADDR_SHIFT)

Definition at line 500 of file newport.h.

#define DCB_CMAP0   (2 << DCB_ADDR_SHIFT)

Definition at line 495 of file newport.h.

#define DCB_CMAP1   (3 << DCB_ADDR_SHIFT)

Definition at line 496 of file newport.h.

#define DCB_CMAP_ALL   (1 << DCB_ADDR_SHIFT)

Definition at line 494 of file newport.h.

#define DCB_CRS_SHIFT   4

Definition at line 489 of file newport.h.

#define DCB_CSHOLD_SHIFT   18

Definition at line 512 of file newport.h.

#define DCB_CSSETUP_SHIFT   23

Definition at line 513 of file newport.h.

#define DCB_CSWIDTH_SHIFT   13

Definition at line 511 of file newport.h.

#define DCB_CYCLES (   setup,
  hold,
  width 
)
Value:

Definition at line 539 of file newport.h.

#define DCB_DATAWIDTH_1   0x1

Definition at line 478 of file newport.h.

#define DCB_DATAWIDTH_2   0x2

Definition at line 479 of file newport.h.

#define DCB_DATAWIDTH_3   0x3

Definition at line 480 of file newport.h.

#define DCB_DATAWIDTH_4   0x0

Definition at line 477 of file newport.h.

#define DCB_ENASYNCACK   (1 << 12)

Definition at line 509 of file newport.h.

#define DCB_ENCRSINC   (1 << 3)

Definition at line 486 of file newport.h.

#define DCB_ENDATAPACK   (1 << 2)

Definition at line 483 of file newport.h.

#define DCB_ENSYNCACK   (1 << 11)

Definition at line 508 of file newport.h.

#define DCB_LG3_BDVERS0   (10 << DCB_ADDR_SHIFT)

Definition at line 503 of file newport.h.

#define DCB_LG3_ICS1562   (11 << DCB_ADDR_SHIFT)

Definition at line 504 of file newport.h.

#define DCB_RESERVED   (15 << DCB_ADDR_SHIFT)

Definition at line 505 of file newport.h.

#define DCB_VAB1   (9 << DCB_ADDR_SHIFT)

Definition at line 502 of file newport.h.

#define DCB_VC2   (0 << DCB_ADDR_SHIFT)

Definition at line 493 of file newport.h.

#define DCB_VCC1   (8 << DCB_ADDR_SHIFT)

Definition at line 501 of file newport.h.

#define DCB_XMAP0   (5 << DCB_ADDR_SHIFT)

Definition at line 498 of file newport.h.

#define DCB_XMAP1   (6 << DCB_ADDR_SHIFT)

Definition at line 499 of file newport.h.

#define DCB_XMAP_ALL   (4 << DCB_ADDR_SHIFT)

Definition at line 497 of file newport.h.

#define DM1_CIDPLANES   0x00000006

Definition at line 39 of file newport.h.

#define DM1_NOPLANES   0x00000000

Definition at line 34 of file newport.h.

#define DM1_OLAYPLANES   0x00000004

Definition at line 37 of file newport.h.

#define DM1_PLANES   0x00000007

Definition at line 33 of file newport.h.

#define DM1_PUPPLANES   0x00000005

Definition at line 38 of file newport.h.

#define DM1_RGBAPLANES   0x00000002

Definition at line 36 of file newport.h.

#define DM1_RGBPLANES   0x00000001

Definition at line 35 of file newport.h.

#define NCMAP_PROTOCOL   (0x00008000 | 0x00040000 | 0x00800000)

Definition at line 426 of file newport.h.

#define NCMAP_REGADDR_AHI   0x00000010

Definition at line 421 of file newport.h.

#define NCMAP_REGADDR_ALO   0x00000000

Definition at line 420 of file newport.h.

#define NCMAP_REGADDR_AREG   0x00000000

Definition at line 419 of file newport.h.

#define NCMAP_REGADDR_CREG   0x00000030

Definition at line 423 of file newport.h.

#define NCMAP_REGADDR_PBUF   0x00000020

Definition at line 422 of file newport.h.

#define NCMAP_REGADDR_RREG   0x00000060

Definition at line 425 of file newport.h.

#define NCMAP_REGADDR_SREG   0x00000040

Definition at line 424 of file newport.h.

#define NPORT_CFG_BDMSK   0x00000078

Definition at line 256 of file newport.h.

#define NPORT_CFG_BFAINT   0x00000080

Definition at line 257 of file newport.h.

#define NPORT_CFG_BWIDTH   0x00000002

Definition at line 254 of file newport.h.

#define NPORT_CFG_ERCVR   0x00000004

Definition at line 255 of file newport.h.

#define NPORT_CFG_FBTYP   0x00100000

Definition at line 267 of file newport.h.

#define NPORT_CFG_G32MD   0x00000001

Definition at line 253 of file newport.h.

#define NPORT_CFG_GD0   0x00000100

Definition at line 259 of file newport.h.

#define NPORT_CFG_GD1   0x00000200

Definition at line 260 of file newport.h.

#define NPORT_CFG_GD2   0x00000400

Definition at line 261 of file newport.h.

#define NPORT_CFG_GD3   0x00000800

Definition at line 262 of file newport.h.

#define NPORT_CFG_GD4   0x00001000

Definition at line 263 of file newport.h.

#define NPORT_CFG_GDMSK   0x00001f80

Definition at line 258 of file newport.h.

#define NPORT_CFG_GFAINT   0x00002000

Definition at line 264 of file newport.h.

#define NPORT_CFG_TOMSK   0x0001c000

Definition at line 265 of file newport.h.

#define NPORT_CFG_VRMSK   0x000e0000

Definition at line 266 of file newport.h.

#define NPORT_CMODE_CMSK   0x00001e00

Definition at line 249 of file newport.h.

#define NPORT_CMODE_SM0   0x00000001

Definition at line 244 of file newport.h.

#define NPORT_CMODE_SM1   0x00000002

Definition at line 245 of file newport.h.

#define NPORT_CMODE_SM2   0x00000004

Definition at line 246 of file newport.h.

#define NPORT_CMODE_SM3   0x00000008

Definition at line 247 of file newport.h.

#define NPORT_CMODE_SM4   0x00000010

Definition at line 248 of file newport.h.

#define NPORT_DMODE0_AHOST   0x00000080

Definition at line 121 of file newport.h.

#define NPORT_DMODE0_ALINE   0x00000010 /* Aline address mode */

Definition at line 114 of file newport.h.

#define NPORT_DMODE0_AMMASK   0x0000001c /* Address mode mask */

Definition at line 109 of file newport.h.

#define NPORT_DMODE0_BLINE   0x00000018 /* Bline address mode */

Definition at line 116 of file newport.h.

#define NPORT_DMODE0_BLOCK   0x00000004 /* Block address mode */

Definition at line 111 of file newport.h.

#define NPORT_DMODE0_CHOST   0x00000040

Definition at line 120 of file newport.h.

#define NPORT_DMODE0_CLAMP   0x00200000

Definition at line 135 of file newport.h.

#define NPORT_DMODE0_DOSETUP   0x00000020

Definition at line 119 of file newport.h.

#define NPORT_DMODE0_DRAW   0x00000002 /* Draw operation */

Definition at line 105 of file newport.h.

#define NPORT_DMODE0_ENDPF   0x00400000

Definition at line 136 of file newport.h.

#define NPORT_DMODE0_FLINE   0x0000000c /* Fline address mode */

Definition at line 113 of file newport.h.

#define NPORT_DMODE0_ILINE   0x00000008 /* Iline address mode */

Definition at line 112 of file newport.h.

#define NPORT_DMODE0_L32   0x00008000

Definition at line 129 of file newport.h.

#define NPORT_DMODE0_LISLST   0x00004000

Definition at line 128 of file newport.h.

#define NPORT_DMODE0_LISOPQ   0x00020000

Definition at line 131 of file newport.h.

#define NPORT_DMODE0_LISPENAB   0x00002000

Definition at line 127 of file newport.h.

#define NPORT_DMODE0_LRONLY   0x00080000

Definition at line 133 of file newport.h.

#define NPORT_DMODE0_NOP   0x00000000 /* No operation */

Definition at line 103 of file newport.h.

#define NPORT_DMODE0_OPMASK   0x00000003 /* Opcode mask */

Definition at line 102 of file newport.h.

#define NPORT_DMODE0_RD   0x00000001 /* Read operation */

Definition at line 104 of file newport.h.

#define NPORT_DMODE0_S2S   0x00000003 /* Screen to screen operation */

Definition at line 106 of file newport.h.

#define NPORT_DMODE0_SHADE   0x00040000

Definition at line 132 of file newport.h.

#define NPORT_DMODE0_SK1ST   0x00000400

Definition at line 124 of file newport.h.

#define NPORT_DMODE0_SKLST   0x00000800

Definition at line 125 of file newport.h.

#define NPORT_DMODE0_SPAN   0x00000000 /* Spanning address mode */

Definition at line 110 of file newport.h.

#define NPORT_DMODE0_STOPX   0x00000100

Definition at line 122 of file newport.h.

#define NPORT_DMODE0_STOPY   0x00000200

Definition at line 123 of file newport.h.

#define NPORT_DMODE0_TLINE   0x00000014 /* Tline address mode */

Definition at line 115 of file newport.h.

#define NPORT_DMODE0_XYOFF   0x00100000

Definition at line 134 of file newport.h.

#define NPORT_DMODE0_YSTR   0x00800000

Definition at line 137 of file newport.h.

#define NPORT_DMODE0_ZOPQ   0x00010000

Definition at line 130 of file newport.h.

#define NPORT_DMODE0_ZPENAB   0x00001000

Definition at line 126 of file newport.h.

#define NPORT_DMODE1_ABLEND   0x08000000 /* Alpha blend */

Definition at line 80 of file newport.h.

#define NPORT_DMODE1_BBENAB   0x02000000 /* Back blend enable */

Definition at line 78 of file newport.h.

#define NPORT_DMODE1_BENAB   0x00040000 /* Blend enable */

Definition at line 63 of file newport.h.

#define NPORT_DMODE1_CCEQ   0x00002000

Definition at line 58 of file newport.h.

#define NPORT_DMODE1_CCGT   0x00004000

Definition at line 59 of file newport.h.

#define NPORT_DMODE1_CCLT   0x00001000

Definition at line 57 of file newport.h.

#define NPORT_DMODE1_CCMASK   0x00007000

Definition at line 56 of file newport.h.

#define NPORT_DMODE1_DD12   0x00000010

Definition at line 44 of file newport.h.

#define NPORT_DMODE1_DD24   0x00000018

Definition at line 45 of file newport.h.

#define NPORT_DMODE1_DD4   0x00000000

Definition at line 42 of file newport.h.

#define NPORT_DMODE1_DD8   0x00000008

Definition at line 43 of file newport.h.

#define NPORT_DMODE1_DDMASK   0x00000018

Definition at line 41 of file newport.h.

#define NPORT_DMODE1_DENAB   0x00010000 /* Dither enable */

Definition at line 61 of file newport.h.

#define NPORT_DMODE1_DF0   0x00000000

Definition at line 72 of file newport.h.

#define NPORT_DMODE1_DF1   0x00400000

Definition at line 73 of file newport.h.

#define NPORT_DMODE1_DFMASK   0x01c00000

Definition at line 71 of file newport.h.

#define NPORT_DMODE1_DFMSA   0x01400000

Definition at line 77 of file newport.h.

#define NPORT_DMODE1_DFMSC   0x00c00000

Definition at line 75 of file newport.h.

#define NPORT_DMODE1_DFSA   0x01000000

Definition at line 76 of file newport.h.

#define NPORT_DMODE1_DFSC   0x00800000

Definition at line 74 of file newport.h.

#define NPORT_DMODE1_DSRC   0x00000020

Definition at line 46 of file newport.h.

#define NPORT_DMODE1_ESWAP   0x00000800 /* Endian swap */

Definition at line 55 of file newport.h.

#define NPORT_DMODE1_FCLR   0x00020000 /* Fast clear */

Definition at line 62 of file newport.h.

#define NPORT_DMODE1_HD12   0x00000200

Definition at line 52 of file newport.h.

#define NPORT_DMODE1_HD32   0x00000300

Definition at line 53 of file newport.h.

#define NPORT_DMODE1_HD4   0x00000000

Definition at line 50 of file newport.h.

#define NPORT_DMODE1_HD8   0x00000100

Definition at line 51 of file newport.h.

#define NPORT_DMODE1_HDMASK   0x00000300

Definition at line 49 of file newport.h.

#define NPORT_DMODE1_LOAND   0x10000000

Definition at line 83 of file newport.h.

#define NPORT_DMODE1_LOANDI   0x40000000

Definition at line 86 of file newport.h.

#define NPORT_DMODE1_LOANDR   0x20000000

Definition at line 84 of file newport.h.

#define NPORT_DMODE1_LODST   0x50000000

Definition at line 87 of file newport.h.

#define NPORT_DMODE1_LOMASK   0xf0000000

Definition at line 81 of file newport.h.

#define NPORT_DMODE1_LONAND   0xe0000000

Definition at line 96 of file newport.h.

#define NPORT_DMODE1_LONDST   0xa0000000

Definition at line 92 of file newport.h.

#define NPORT_DMODE1_LONOR   0x80000000

Definition at line 90 of file newport.h.

#define NPORT_DMODE1_LONSRC   0xc0000000

Definition at line 94 of file newport.h.

#define NPORT_DMODE1_LOONE   0xf0000000

Definition at line 97 of file newport.h.

#define NPORT_DMODE1_LOOR   0x70000000

Definition at line 89 of file newport.h.

#define NPORT_DMODE1_LOORI   0xd0000000

Definition at line 95 of file newport.h.

#define NPORT_DMODE1_LOORR   0xb0000000

Definition at line 93 of file newport.h.

#define NPORT_DMODE1_LOSRC   0x30000000

Definition at line 85 of file newport.h.

#define NPORT_DMODE1_LOXNOR   0x90000000

Definition at line 91 of file newport.h.

#define NPORT_DMODE1_LOXOR   0x60000000

Definition at line 88 of file newport.h.

#define NPORT_DMODE1_LOZERO   0x00000000

Definition at line 82 of file newport.h.

#define NPORT_DMODE1_PFENAB   0x04000000 /* Pre-fetch enable */

Definition at line 79 of file newport.h.

#define NPORT_DMODE1_RGBMD   0x00008000

Definition at line 60 of file newport.h.

#define NPORT_DMODE1_RWDBL   0x00000400

Definition at line 54 of file newport.h.

#define NPORT_DMODE1_RWPCKD   0x00000080

Definition at line 48 of file newport.h.

#define NPORT_DMODE1_SF0   0x00000000

Definition at line 65 of file newport.h.

#define NPORT_DMODE1_SF1   0x00080000

Definition at line 66 of file newport.h.

#define NPORT_DMODE1_SFDC   0x00100000

Definition at line 67 of file newport.h.

#define NPORT_DMODE1_SFMASK   0x00380000

Definition at line 64 of file newport.h.

#define NPORT_DMODE1_SFMDC   0x00180000

Definition at line 68 of file newport.h.

#define NPORT_DMODE1_SFMSA   0x00280000

Definition at line 70 of file newport.h.

#define NPORT_DMODE1_SFSA   0x00200000

Definition at line 69 of file newport.h.

#define NPORT_DMODE1_YFLIP   0x00000040

Definition at line 47 of file newport.h.

#define NPORT_DMODE_A1562   0x00000580

Definition at line 218 of file newport.h.

#define NPORT_DMODE_ABT   0x00000380

Definition at line 214 of file newport.h.

#define NPORT_DMODE_ACM0   0x00000100

Definition at line 209 of file newport.h.

#define NPORT_DMODE_ACM1   0x00000180

Definition at line 210 of file newport.h.

#define NPORT_DMODE_ACMALL   0x00000080

Definition at line 208 of file newport.h.

#define NPORT_DMODE_ALG3V0   0x00000500

Definition at line 217 of file newport.h.

#define NPORT_DMODE_AMASK   0x00000780

Definition at line 206 of file newport.h.

#define NPORT_DMODE_AVAB1   0x00000480

Definition at line 216 of file newport.h.

#define NPORT_DMODE_AVC2   0x00000000

Definition at line 207 of file newport.h.

#define NPORT_DMODE_AVCC1   0x00000400

Definition at line 215 of file newport.h.

#define NPORT_DMODE_AXM0   0x00000280

Definition at line 212 of file newport.h.

#define NPORT_DMODE_AXM1   0x00000300

Definition at line 213 of file newport.h.

#define NPORT_DMODE_AXMALL   0x00000200

Definition at line 211 of file newport.h.

#define NPORT_DMODE_CHMASK   0x007c0000

Definition at line 222 of file newport.h.

#define NPORT_DMODE_CMASK   0x00000070

Definition at line 205 of file newport.h.

#define NPORT_DMODE_CSMASK   0x0f800000

Definition at line 223 of file newport.h.

#define NPORT_DMODE_CWMASK   0x0003e000

Definition at line 221 of file newport.h.

#define NPORT_DMODE_EASACK   0x00001000

Definition at line 220 of file newport.h.

#define NPORT_DMODE_ECINC   0x00000008

Definition at line 204 of file newport.h.

#define NPORT_DMODE_EDPACK   0x00000004

Definition at line 203 of file newport.h.

#define NPORT_DMODE_ESACK   0x00000800

Definition at line 219 of file newport.h.

#define NPORT_DMODE_SENDIAN   0x10000000

Definition at line 224 of file newport.h.

#define NPORT_DMODE_W1   0x00000001

Definition at line 200 of file newport.h.

#define NPORT_DMODE_W2   0x00000002

Definition at line 201 of file newport.h.

#define NPORT_DMODE_W3   0x00000003

Definition at line 202 of file newport.h.

#define NPORT_DMODE_W4   0x00000000

Definition at line 199 of file newport.h.

#define NPORT_DMODE_WMASK   0x00000003

Definition at line 198 of file newport.h.

#define NPORT_STAT_BBUSY   0x00000010

Definition at line 273 of file newport.h.

#define NPORT_STAT_BFIRQ   0x00080000

Definition at line 278 of file newport.h.

#define NPORT_STAT_BLMSK   0x0007e000

Definition at line 277 of file newport.h.

#define NPORT_STAT_GBUSY   0x00000008

Definition at line 272 of file newport.h.

#define NPORT_STAT_GFIRQ   0x00100000

Definition at line 279 of file newport.h.

#define NPORT_STAT_GLMSK   0x00001f80

Definition at line 276 of file newport.h.

#define NPORT_STAT_VERS   0x00000007

Definition at line 271 of file newport.h.

#define NPORT_STAT_VIDINT   0x00000040

Definition at line 275 of file newport.h.

#define NPORT_STAT_VRINT   0x00000020

Definition at line 274 of file newport.h.

#define R_DCB_XMAP9_PROTOCOL   DCB_CYCLES (2, 1, 3)

Definition at line 547 of file newport.h.

#define VC2_CGLYPH_ADDR   0x500

Definition at line 363 of file newport.h.

#define VC2_CTRL_ECCURS   0x0100

Definition at line 414 of file newport.h.

#define VC2_CTRL_ECDISP   0x0080

Definition at line 413 of file newport.h.

#define VC2_CTRL_ECG64   0x0200

Definition at line 415 of file newport.h.

#define VC2_CTRL_ECURS   0x0010

Definition at line 410 of file newport.h.

#define VC2_CTRL_EDIDS   0x0008

Definition at line 409 of file newport.h.

#define VC2_CTRL_EDISP   0x0002

Definition at line 407 of file newport.h.

#define VC2_CTRL_EGSYNC   0x0020

Definition at line 411 of file newport.h.

#define VC2_CTRL_EILACE   0x0040

Definition at line 412 of file newport.h.

#define VC2_CTRL_EVIDEO   0x0004

Definition at line 408 of file newport.h.

#define VC2_CTRL_EVIRQ   0x0001

Definition at line 406 of file newport.h.

#define VC2_CTRL_GLSEL   0x0400

Definition at line 416 of file newport.h.

#define VC2_IREG_CCURSX   0x04

Definition at line 370 of file newport.h.

#define VC2_IREG_CENTRY   0x01

Definition at line 367 of file newport.h.

#define VC2_IREG_CONFIG   0x20

Definition at line 383 of file newport.h.

#define VC2_IREG_CONTROL   0x10

Definition at line 382 of file newport.h.

#define VC2_IREG_CTPTR   0x0c

Definition at line 378 of file newport.h.

#define VC2_IREG_CURSX   0x02

Definition at line 368 of file newport.h.

#define VC2_IREG_CURSY   0x03

Definition at line 369 of file newport.h.

#define VC2_IREG_DENTRY   0x05

Definition at line 371 of file newport.h.

#define VC2_IREG_DFPTR   0x0e

Definition at line 380 of file newport.h.

#define VC2_IREG_DLTPTR   0x0f

Definition at line 381 of file newport.h.

#define VC2_IREG_RADDR   0x07

Definition at line 373 of file newport.h.

#define VC2_IREG_SLEN   0x06

Definition at line 372 of file newport.h.

#define VC2_IREG_VENTRY   0x00

Definition at line 366 of file newport.h.

#define VC2_IREG_VFPTR   0x08

Definition at line 374 of file newport.h.

#define VC2_IREG_VLCTR   0x0b

Definition at line 377 of file newport.h.

#define VC2_IREG_VLIR   0x0a

Definition at line 376 of file newport.h.

#define VC2_IREG_VLSPTR   0x09

Definition at line 375 of file newport.h.

#define VC2_IREG_WCURSY   0x0d

Definition at line 379 of file newport.h.

#define VC2_PROTOCOL   (NPORT_DMODE_EASACK | 0x00800000 | 0x00040000)

Definition at line 359 of file newport.h.

#define VC2_REGADDR_INDEX   0x00000000

Definition at line 356 of file newport.h.

#define VC2_REGADDR_IREG   0x00000010

Definition at line 357 of file newport.h.

#define VC2_REGADDR_RAM   0x00000030

Definition at line 358 of file newport.h.

#define VC2_VFRAMET_ADDR   0x400

Definition at line 362 of file newport.h.

#define VC2_VLINET_ADDR   0x000

Definition at line 361 of file newport.h.

#define W_DCB_XMAP9_PROTOCOL   DCB_CYCLES (2, 1, 0)

Definition at line 544 of file newport.h.

#define WAYSLOW_DCB_XMAP9_PROTOCOL   DCB_CYCLES (12, 12, 0)

Definition at line 546 of file newport.h.

#define WSLOW_DCB_XMAP9_PROTOCOL   DCB_CYCLES (5, 5, 0)

Definition at line 545 of file newport.h.

#define XM9_8_BITPLANES   (1 << 2)

Definition at line 520 of file newport.h.

#define XM9_CRS_CONFIG   (0 << DCB_CRS_SHIFT)

Definition at line 517 of file newport.h.

#define XM9_CRS_CURS_CMAP_MSB   (3 << DCB_CRS_SHIFT)

Definition at line 533 of file newport.h.

#define XM9_CRS_FIFO_AVAIL   (2 << DCB_CRS_SHIFT)

Definition at line 526 of file newport.h.

#define XM9_CRS_MODE_REG_DATA   (5 << DCB_CRS_SHIFT)

Definition at line 535 of file newport.h.

#define XM9_CRS_MODE_REG_INDEX   (7 << DCB_CRS_SHIFT)

Definition at line 536 of file newport.h.

#define XM9_CRS_PUP_CMAP_MSB   (4 << DCB_CRS_SHIFT)

Definition at line 534 of file newport.h.

#define XM9_CRS_REVISION   (1 << DCB_CRS_SHIFT)

Definition at line 525 of file newport.h.

#define XM9_EXPRESS_VIDEO   (1 << 6)

Definition at line 523 of file newport.h.

#define XM9_FIFO_0_AVAIL   0

Definition at line 527 of file newport.h.

#define XM9_FIFO_1_AVAIL   1

Definition at line 528 of file newport.h.

#define XM9_FIFO_2_AVAIL   3

Definition at line 529 of file newport.h.

#define XM9_FIFO_3_AVAIL   2

Definition at line 530 of file newport.h.

#define XM9_FIFO_EMPTY   XM9_FIFO_3_AVAIL

Definition at line 532 of file newport.h.

#define XM9_FIFO_FULL   XM9_FIFO_0_AVAIL

Definition at line 531 of file newport.h.

#define XM9_ODD_PIXEL   (1 << 1)

Definition at line 519 of file newport.h.

#define XM9_PUPMODE   (1 << 0)

Definition at line 518 of file newport.h.

#define XM9_SLOW_DCB   (1 << 3)

Definition at line 521 of file newport.h.

#define XM9_VIDEO_OPTION   (1 << 7)

Definition at line 524 of file newport.h.

#define XM9_VIDEO_RGBMAP_MASK   (3 << 4)

Definition at line 522 of file newport.h.

Typedef Documentation

typedef union npfloat npfreg_t

Definition at line 22 of file newport.h.

typedef volatile unsigned int npireg_t

Definition at line 15 of file newport.h.