Module driver:gd5446fb - Cirrus Logic GD5546 framebuffer driver
Cirrus Logic GD5546 framebuffer driver. This provides support for a Cirrus Logic GD5546 PCI graphics controller. A basic framebuffer interface is supported, as well as several hardware accelerated functions.
Requires: driver:pci
Provides: interface:guifb
Used:
Index
-
Group
CL.AT- Attribute controller registers-
Constant
CL.AT0- Palette 0 -
Constant
CL.AT1- Palette 1 -
Constant
CL.AT10- Attribute mode -
Constant
CL.AT11- Attribute overscan register -
Constant
CL.AT12- Plane enable -
Constant
CL.AT13- Pixel -
Constant
CL.AT14- Colour page -
Constant
CL.AT2- Palette 2 -
Constant
CL.AT3- Palette 3 -
Constant
CL.AT4- Palette 4 -
Constant
CL.AT5- Palette 5 -
Constant
CL.AT6- Palette 6 -
Constant
CL.AT7- Palette 7 -
Constant
CL.AT8- Palette 8 -
Constant
CL.AT9- Palette 9 -
Constant
CL.ATA- Palette 10 -
Constant
CL.ATB- Palette 11 -
Constant
CL.ATC- Palette 12 -
Constant
CL.ATD- Palette 13 -
Constant
CL.ATE- Palette 14 -
Constant
CL.ATF- Palette 15
-
Constant
-
Group
CL.CRT- CRT controller registers-
Constant
CL.CRT0- CRTC horizontal total -
Constant
CL.CRT1- CRTC horizontal display end -
Constant
CL.CRT10- CRTC vertical sync start -
Constant
CL.CRT11- CRTC vertical sync end -
Constant
CL.CRT12- CRTC vertical display end -
Constant
CL.CRT13- CRTC offset (pitch) -
Constant
CL.CRT14- CRTC underline row scanline -
Constant
CL.CRT15- CRTC vertical blank start -
Constant
CL.CRT16- CRTC vertical blank end -
Constant
CL.CRT17- CRTC mode control -
Constant
CL.CRT18- CRTC line compare -
Constant
CL.CRT19- Interlace end -
Constant
CL.CRT1A- Miscellaneous control -
Constant
CL.CRT1B- Extended display controls -
Constant
CL.CRT1C- Sync adjust and GENLOCK -
Constant
CL.CRT1D- Overlay extended control -
Constant
CL.CRT2- CRTC horizontal blanking start -
Constant
CL.CRT22- Graphics data latches readback (ro) -
Constant
CL.CRT24- Attribute controller toggle readback (ro) -
Constant
CL.CRT25- Part status (ro) -
Constant
CL.CRT26- Attribute controller index readback (ro) -
Constant
CL.CRT27- ID register (ro) -
Constant
CL.CRT3- CRTC horizontal blanking end -
Constant
CL.CRT31- Video window horizontal zoom control -
Constant
CL.CRT32- Video window vertical zoom control -
Constant
CL.CRT33- Video window horizontal region 1 size -
Constant
CL.CRT34- Video window region 2 width -
Constant
CL.CRT35- Video window region 2 source data size -
Constant
CL.CRT36- Video window horizontal overflow -
Constant
CL.CRT37- Video window vertical start -
Constant
CL.CRT38- Video window vertical end -
Constant
CL.CRT39- Video window vertical overflow -
Constant
CL.CRT3A- Video buffer 1 start address byte 0 -
Constant
CL.CRT3B- Video buffer 1 start address byte 1 -
Constant
CL.CRT3C- Video buffer 1 start address byte 2 -
Constant
CL.CRT3D- Video buffer address offset -
Constant
CL.CRT3E- Video window master control -
Constant
CL.CRT3F- Miscellaneous video control -
Constant
CL.CRT4- CRTC horizontal sync start -
Constant
CL.CRT5- CRTC horizontal sync end -
Constant
CL.CRT50- Video capture control -
Constant
CL.CRT51- Video capture data format -
Constant
CL.CRT52- Video capture horizontal data reduction -
Constant
CL.CRT53- Video capture vertical data reduction -
Constant
CL.CRT54- Video capture horizontal delay -
Constant
CL.CRT56- Video capture vertical delay -
Constant
CL.CRT57- Video capture maximum height -
Constant
CL.CRT58- Video capture miscellaneous control -
Constant
CL.CRT59- Video buffer 2 start address byte 0 -
Constant
CL.CRT5A- Video buffer 2 start address byte 1 -
Constant
CL.CRT5B- Video window brightness adjust -
Constant
CL.CRT5C- Luminance-only capture control -
Constant
CL.CRT5D- Video window pixel alignment -
Constant
CL.CRT5E- Double-buffer control -
Constant
CL.CRT6- CRTC vertical total -
Constant
CL.CRT7- CRTC overflow -
Constant
CL.CRT8- CRTC screen A preset row-scan -
Constant
CL.CRT9- CRTC character cell height -
Constant
CL.CRTA- CRTC text cursor start -
Constant
CL.CRTB- CRTC text cursor end -
Constant
CL.CRTC- CRTC screen start address high -
Constant
CL.CRTD- CRTC screen start address low -
Constant
CL.CRTE- CRTC text cursor location high -
Constant
CL.CRTF- CRTC text cursor location low
-
Constant
-
Group
CL.GR- Graphics controller registers-
Constant
CL.GR0- Set/reset background colour byte 0 -
Constant
CL.GR1- Set/reset enable/foreground colour byte 0 -
Constant
CL.GR10- Background colour byte 1 -
Constant
CL.GR11- Foreground colour byte 1 -
Constant
CL.GR12- Background colour byte 2 -
Constant
CL.GR13- Foreground colour byte 2 -
Constant
CL.GR14- Background colour byte 3 -
Constant
CL.GR15- Foreground colour byte 3 -
Constant
CL.GR16- Active display line readback byte 0 -
Constant
CL.GR17- Active display line readback byte 1 -
Constant
CL.GR18- Extended DRAM control -
Constant
CL.GR19- GPIO port configuration -
Constant
CL.GR1A- Scratch pad 4 -
Constant
CL.GR1B- Scratch pad 5 -
Constant
CL.GR1C- Chroma key U, green minimum -
Constant
CL.GR1D- Chroma key U, green maximum -
Constant
CL.GR1E- Chroma key V, blue minimum -
Constant
CL.GR1F- Chroma key V, blue maximum -
Constant
CL.GR2- Graphics controller colour compare -
Constant
CL.GR20- BLT width low -
Constant
CL.GR21- BLT width high -
Constant
CL.GR22- BLT height low -
Constant
CL.GR23- BLT height high -
Constant
CL.GR24- BLT destination pitch low -
Constant
CL.GR25- BLT destination pitch high -
Constant
CL.GR26- BLT source pitch low -
Constant
CL.GR27- BLT source pitch high -
Constant
CL.GR28- BLT destination start low -
Constant
CL.GR29- BLT destination start mid -
Constant
CL.GR2A- BLT destination start high -
Constant
CL.GR2C- BLT source start low -
Constant
CL.GR2D- BLT source start mid -
Constant
CL.GR2E- BLT source start high -
Constant
CL.GR2F- BLT destination left-side clipping -
Constant
CL.GR3- Graphics controller data rotate -
Constant
CL.GR30- BLT mode -
Constant
CL.GR31- BLT start/status -
Constant
CL.GR32- BLT raster operation -
Constant
CL.GR33- BLT mode extensions -
Constant
CL.GR34- Transparent colour select low -
Constant
CL.GR35- Transparent colour select high -
Constant
CL.GR4- Graphics controller read map select -
Constant
CL.GR5- Graphics controller mode -
Constant
CL.GR6- Graphics controller miscellaneous register -
Constant
CL.GR7- Graphics controller colour don't care -
Constant
CL.GR8- Graphics controller bit mask -
Constant
CL.GR9- Offset register 0 -
Constant
CL.GRA- Offset register 1 -
Constant
CL.GRB- Graphics controller mode extensions -
Constant
CL.GRC- Colour key (GD5424/26/28) -
Constant
CL.GRD- Colour key mask (GD5424/26/28) -
Constant
CL.GRE- Miscellaneous control and power management (GD5428) -
Constant
CL.GRF- Display compression control register (not GD5446)
-
Constant
-
Group
CL.SEQR- Sequencer registers-
Constant
CL.SEQR0- Reset -
Constant
CL.SEQR1- Sequencer clocking mode -
Constant
CL.SEQR10- Graphics cursor X position -
Constant
CL.SEQR11- Graphics cursor Y position -
Constant
CL.SEQR12- Graphics cursor attributes -
Constant
CL.SEQR13- Graphics cursor pattern address offset -
Constant
CL.SEQR14- Scratch pad 2 (GD5426/28) -
Constant
CL.SEQR15- Scratch pad 3 (GD5426/28) -
Constant
CL.SEQR16- Display FIFO control threshold -
Constant
CL.SEQR17- Configuration readback and extended control (GF5428) -
Constant
CL.SEQR18- Signature generator control (not GD5420) -
Constant
CL.SEQR19- Signature generator result low byte (not GD5420) -
Constant
CL.SEQR1A- Signature generator result high byte (not GD5420) -
Constant
CL.SEQR1B- VCLK0 denominator and post-scalar value -
Constant
CL.SEQR1C- VCLK1 denominator and post-scalar value -
Constant
CL.SEQR1D- VCLK2 denominator and post-scalar value -
Constant
CL.SEQR1E- VCLK3 denominator and post-scalar value -
Constant
CL.SEQR1F- BIOS ROM write enable and MCLK select -
Constant
CL.SEQR2- Sequencer plane mask -
Constant
CL.SEQR3- Sequencer character map select -
Constant
CL.SEQR4- Sequencer memory mode -
Constant
CL.SEQR6- Key register (unlock all extensions) -
Constant
CL.SEQR7- Extended sequencer mode -
Constant
CL.SEQR8- EEPROM control -
Constant
CL.SEQR9- Scratch pad 0 -
Constant
CL.SEQRA- Scratch pad 1 -
Constant
CL.SEQRB- VCLK0 numerator -
Constant
CL.SEQRC- VCLK1 numerator -
Constant
CL.SEQRD- VCLK2 numerator -
Constant
CL.SEQRE- VCLK3 numerator -
Constant
CL.SEQRF- DRAM control
-
Constant
-
Group
GD5446- registers and offsets-
Constant
CL.ATT.REG0- Attribute controller registers -
Constant
CL.ATT.REG1- Attribute controller registers -
Constant
CL.CRT.DATA- CRT controller data register -
Constant
CL.CRT.INDEX- CRT controller index register -
Constant
CL.DAC.STATE- DAC state (read only) -
Constant
CL.FC.READ- Feature control register (read only) -
Constant
CL.FC.WRITE- Feature control register (write only) -
Constant
CL.GFX.DATA- Graphics controller data register -
Constant
CL.GFX.INDEX- Graphics controller index register -
Constant
CL.INPUT.STATUS0- Input status register 0 (read only) -
Constant
CL.INPUT.STATUS1- Input status register 1 (read only) -
Constant
CL.IOBASE- Default I/O base address -
Constant
CL.MISC.READ- Miscellaneous output register (read only) -
Constant
CL.MISC.WRITE- Miscellaneous output register (write only) -
Constant
CL.PAL.ADDR.RM.WRITE- Palette address for read mode (write only) -
Constant
CL.PAL.ADDR.WM- Palette address for write mode -
Constant
CL.PAL.DATA- Palette data register -
Constant
CL.PIXEL.MASK- Pixel mask register -
Constant
CL.POS102- POS102 register (VESA VL-bus) -
Constant
CL.POS94- POS102 access control (VESA VL-bus) -
Constant
CL.SEQ.DATA- Sequencer data register -
Constant
CL.SEQ.INDEX- Sequencer index register -
Constant
CL.VSSM- Adapter sleep (VESA VL-bus) -
Constant
CL.VSSM2- Motherboard sleep (VESA VL-bus)
-
Constant
-
Process
gd5446fb.driver- Cirrus Logic GD5446 framebuffer driver-
Record
GD5446.DATA- This contains data about the device itself-
Variable
board.length- Board length (bytes) -
Variable
board.real.addr- Board (framebuffer) real-memory address -
Variable
board.virt.addr- Board virtual-memory address -
Variable
cur.data- Hardware cursor data address -
Variable
cx,cy- Cursor position -
Variable
flags- PCI device flags -
Variable
hwcurs- Hardware cursor supported -
Variable
io.regbase- I/O register base -
Variable
reg.length- Registers length (bytes) -
Variable
reg.real.addr- Registers real-memory address -
Variable
reg.virt.addr- Registers virtual-memory address -
Variable
vmemsize- Video memory size (bytes)
-
Variable
-
Record
GD5446.LLREGS- Low-level registers for the GD5446 -
Record
GD5446.REGS- This contains specific data about the device state -
Tag
dump- Dump register state (debugging) -
Tag
r.adata- Read attribute data register -
Tag
r.att- Read attribute register -
Tag
r.att33- Read attribute register 0x33 -
Tag
r.crt- Read CRTC register -
Tag
r.feat- Read feature control register -
Tag
r.gfx- Read graphics register -
Tag
r.hdr- Read hidden DAC register -
Tag
r.misc- Read misc controller register -
Tag
r.pixmask- Read pixel mask register -
Tag
r.seq- Read sequencer register -
Tag
w.adata- Write attribute data register -
Tag
w.att- Write attribute register -
Tag
w.att33- Write attribute register 0x33 -
Tag
w.clut- Write colour lookup table entry -
Tag
w.crt- Write CRTC register -
Tag
w.feat- Write feature control register -
Tag
w.gfx- Write graphics register -
Tag
w.hdr- Write hidden DAC register -
Tag
w.lseq- Write long sequencer register (special) -
Tag
w.misc- Write misc controller register -
Tag
w.pixmask- Write pixel mask register -
Tag
w.seq- Write sequencer register
-
Record
Declarations
clgd5446.inc:22Group GD5446
registers and offsets.
clgd5446.inc:23Constant CL.POS94
VAL INT CL.POS94
POS102 access control (VESA VL-bus).
clgd5446.inc:24Constant CL.POS102
VAL INT CL.POS102
POS102 register (VESA VL-bus).
clgd5446.inc:25Constant CL.VSSM
VAL INT CL.VSSM
Adapter sleep (VESA VL-bus).
clgd5446.inc:26Constant CL.VSSM2
VAL INT CL.VSSM2
Motherboard sleep (VESA VL-bus).
clgd5446.inc:28Constant CL.IOBASE
VAL INT CL.IOBASE
Default I/O base address.
clgd5446.inc:30Constant CL.MISC.WRITE
VAL INT CL.MISC.WRITE
Miscellaneous output register (write only).
clgd5446.inc:31Constant CL.MISC.READ
VAL INT CL.MISC.READ
Miscellaneous output register (read only).
clgd5446.inc:32Constant CL.FC.WRITE
VAL INT CL.FC.WRITE
Feature control register (write only).
clgd5446.inc:33Constant CL.FC.READ
VAL INT CL.FC.READ
Feature control register (read only).
clgd5446.inc:34Constant CL.INPUT.STATUS0
VAL INT CL.INPUT.STATUS0
Input status register 0 (read only).
clgd5446.inc:35Constant CL.INPUT.STATUS1
VAL INT CL.INPUT.STATUS1
Input status register 1 (read only).
clgd5446.inc:36Constant CL.PIXEL.MASK
VAL INT CL.PIXEL.MASK
Pixel mask register.
clgd5446.inc:37Constant CL.PAL.ADDR.RM.WRITE
VAL INT CL.PAL.ADDR.RM.WRITE
Palette address for read mode (write only).
clgd5446.inc:38Constant CL.DAC.STATE
VAL INT CL.DAC.STATE
DAC state (read only).
clgd5446.inc:39Constant CL.PAL.ADDR.WM
VAL INT CL.PAL.ADDR.WM
Palette address for write mode.
clgd5446.inc:40Constant CL.PAL.DATA
VAL INT CL.PAL.DATA
Palette data register.
clgd5446.inc:41Constant CL.SEQ.INDEX
VAL INT CL.SEQ.INDEX
Sequencer index register.
clgd5446.inc:42Constant CL.SEQ.DATA
VAL INT CL.SEQ.DATA
Sequencer data register.
clgd5446.inc:43Constant CL.CRT.INDEX
VAL INT CL.CRT.INDEX
CRT controller index register.
clgd5446.inc:44Constant CL.CRT.DATA
VAL INT CL.CRT.DATA
CRT controller data register.
clgd5446.inc:45Constant CL.GFX.INDEX
VAL INT CL.GFX.INDEX
Graphics controller index register.
clgd5446.inc:46Constant CL.GFX.DATA
VAL INT CL.GFX.DATA
Graphics controller data register.
clgd5446.inc:47Constant CL.ATT.REG0
VAL INT CL.ATT.REG0
Attribute controller registers.
clgd5446.inc:48Constant CL.ATT.REG1
VAL INT CL.ATT.REG1
Attribute controller registers.
clgd5446.inc:51Group CL.SEQR
Sequencer registers. standard VGA registers.
clgd5446.inc:53Constant CL.SEQR0
VAL INT CL.SEQR0
Reset.
clgd5446.inc:54Constant CL.SEQR1
VAL INT CL.SEQR1
Sequencer clocking mode.
clgd5446.inc:55Constant CL.SEQR2
VAL INT CL.SEQR2
Sequencer plane mask.
clgd5446.inc:56Constant CL.SEQR3
VAL INT CL.SEQR3
Sequencer character map select.
clgd5446.inc:57Constant CL.SEQR4
VAL INT CL.SEQR4
Sequencer memory mode.
clgd5446.inc:59Constant CL.SEQR6
VAL INT CL.SEQR6
Key register (unlock all extensions).
clgd5446.inc:60Constant CL.SEQR7
VAL INT CL.SEQR7
Extended sequencer mode.
clgd5446.inc:61Constant CL.SEQR8
VAL INT CL.SEQR8
EEPROM control.
clgd5446.inc:62Constant CL.SEQR9
VAL INT CL.SEQR9
Scratch pad 0.
clgd5446.inc:63Constant CL.SEQRA
VAL INT CL.SEQRA
Scratch pad 1.
clgd5446.inc:64Constant CL.SEQRB
VAL INT CL.SEQRB
VCLK0 numerator.
clgd5446.inc:65Constant CL.SEQRC
VAL INT CL.SEQRC
VCLK1 numerator.
clgd5446.inc:66Constant CL.SEQRD
VAL INT CL.SEQRD
VCLK2 numerator.
clgd5446.inc:67Constant CL.SEQRE
VAL INT CL.SEQRE
VCLK3 numerator.
clgd5446.inc:68Constant CL.SEQRF
VAL INT CL.SEQRF
DRAM control.
clgd5446.inc:69Constant CL.SEQR10
VAL INT CL.SEQR10
Graphics cursor X position.
clgd5446.inc:70Constant CL.SEQR11
VAL INT CL.SEQR11
Graphics cursor Y position.
clgd5446.inc:71Constant CL.SEQR12
VAL INT CL.SEQR12
Graphics cursor attributes.
clgd5446.inc:72Constant CL.SEQR13
VAL INT CL.SEQR13
Graphics cursor pattern address offset.
clgd5446.inc:73Constant CL.SEQR14
VAL INT CL.SEQR14
Scratch pad 2 (GD5426/28).
clgd5446.inc:74Constant CL.SEQR15
VAL INT CL.SEQR15
Scratch pad 3 (GD5426/28).
clgd5446.inc:75Constant CL.SEQR16
VAL INT CL.SEQR16
Display FIFO control threshold.
clgd5446.inc:76Constant CL.SEQR17
VAL INT CL.SEQR17
Configuration readback and extended control (GF5428).
clgd5446.inc:77Constant CL.SEQR18
VAL INT CL.SEQR18
Signature generator control (not GD5420).
clgd5446.inc:78Constant CL.SEQR19
VAL INT CL.SEQR19
Signature generator result low byte (not GD5420).
clgd5446.inc:79Constant CL.SEQR1A
VAL INT CL.SEQR1A
Signature generator result high byte (not GD5420).
clgd5446.inc:80Constant CL.SEQR1B
VAL INT CL.SEQR1B
VCLK0 denominator and post-scalar value.
clgd5446.inc:81Constant CL.SEQR1C
VAL INT CL.SEQR1C
VCLK1 denominator and post-scalar value.
clgd5446.inc:82Constant CL.SEQR1D
VAL INT CL.SEQR1D
VCLK2 denominator and post-scalar value.
clgd5446.inc:83Constant CL.SEQR1E
VAL INT CL.SEQR1E
VCLK3 denominator and post-scalar value.
clgd5446.inc:84Constant CL.SEQR1F
VAL INT CL.SEQR1F
BIOS ROM write enable and MCLK select.
clgd5446.inc:86Group CL.CRT
CRT controller registers. standard registers
clgd5446.inc:88Constant CL.CRT0
VAL INT CL.CRT0
CRTC horizontal total.
clgd5446.inc:89Constant CL.CRT1
VAL INT CL.CRT1
CRTC horizontal display end.
clgd5446.inc:90Constant CL.CRT2
VAL INT CL.CRT2
CRTC horizontal blanking start.
clgd5446.inc:91Constant CL.CRT3
VAL INT CL.CRT3
CRTC horizontal blanking end.
clgd5446.inc:92Constant CL.CRT4
VAL INT CL.CRT4
CRTC horizontal sync start.
clgd5446.inc:93Constant CL.CRT5
VAL INT CL.CRT5
CRTC horizontal sync end.
clgd5446.inc:94Constant CL.CRT6
VAL INT CL.CRT6
CRTC vertical total.
clgd5446.inc:95Constant CL.CRT7
VAL INT CL.CRT7
CRTC overflow.
clgd5446.inc:96Constant CL.CRT8
VAL INT CL.CRT8
CRTC screen A preset row-scan.
clgd5446.inc:97Constant CL.CRT9
VAL INT CL.CRT9
CRTC character cell height.
clgd5446.inc:98Constant CL.CRTA
VAL INT CL.CRTA
CRTC text cursor start.
clgd5446.inc:99Constant CL.CRTB
VAL INT CL.CRTB
CRTC text cursor end.
clgd5446.inc:100Constant CL.CRTC
VAL INT CL.CRTC
CRTC screen start address high.
clgd5446.inc:101Constant CL.CRTD
VAL INT CL.CRTD
CRTC screen start address low.
clgd5446.inc:102Constant CL.CRTE
VAL INT CL.CRTE
CRTC text cursor location high.
clgd5446.inc:103Constant CL.CRTF
VAL INT CL.CRTF
CRTC text cursor location low.
clgd5446.inc:104Constant CL.CRT10
VAL INT CL.CRT10
CRTC vertical sync start.
clgd5446.inc:105Constant CL.CRT11
VAL INT CL.CRT11
CRTC vertical sync end.
clgd5446.inc:106Constant CL.CRT12
VAL INT CL.CRT12
CRTC vertical display end.
clgd5446.inc:107Constant CL.CRT13
VAL INT CL.CRT13
CRTC offset (pitch).
clgd5446.inc:108Constant CL.CRT14
VAL INT CL.CRT14
CRTC underline row scanline.
clgd5446.inc:109Constant CL.CRT15
VAL INT CL.CRT15
CRTC vertical blank start.
clgd5446.inc:110Constant CL.CRT16
VAL INT CL.CRT16
CRTC vertical blank end.
clgd5446.inc:111Constant CL.CRT17
VAL INT CL.CRT17
CRTC mode control.
clgd5446.inc:112Constant CL.CRT18
VAL INT CL.CRT18
CRTC line compare.
clgd5446.inc:114Constant CL.CRT19
VAL INT CL.CRT19
Interlace end.
clgd5446.inc:115Constant CL.CRT1A
VAL INT CL.CRT1A
Miscellaneous control.
clgd5446.inc:116Constant CL.CRT1B
VAL INT CL.CRT1B
Extended display controls.
clgd5446.inc:117Constant CL.CRT1C
VAL INT CL.CRT1C
Sync adjust and GENLOCK.
clgd5446.inc:118Constant CL.CRT1D
VAL INT CL.CRT1D
Overlay extended control.
clgd5446.inc:119Constant CL.CRT22
VAL INT CL.CRT22
Graphics data latches readback (ro).
clgd5446.inc:120Constant CL.CRT24
VAL INT CL.CRT24
Attribute controller toggle readback (ro).
clgd5446.inc:121Constant CL.CRT25
VAL INT CL.CRT25
Part status (ro).
clgd5446.inc:122Constant CL.CRT26
VAL INT CL.CRT26
Attribute controller index readback (ro).
clgd5446.inc:123Constant CL.CRT27
VAL INT CL.CRT27
ID register (ro).
clgd5446.inc:124Constant CL.CRT31
VAL INT CL.CRT31
Video window horizontal zoom control.
clgd5446.inc:125Constant CL.CRT32
VAL INT CL.CRT32
Video window vertical zoom control.
clgd5446.inc:126Constant CL.CRT33
VAL INT CL.CRT33
Video window horizontal region 1 size.
clgd5446.inc:127Constant CL.CRT34
VAL INT CL.CRT34
Video window region 2 width.
clgd5446.inc:128Constant CL.CRT35
VAL INT CL.CRT35
Video window region 2 source data size.
clgd5446.inc:129Constant CL.CRT36
VAL INT CL.CRT36
Video window horizontal overflow.
clgd5446.inc:130Constant CL.CRT37
VAL INT CL.CRT37
Video window vertical start.
clgd5446.inc:131Constant CL.CRT38
VAL INT CL.CRT38
Video window vertical end.
clgd5446.inc:132Constant CL.CRT39
VAL INT CL.CRT39
Video window vertical overflow.
clgd5446.inc:133Constant CL.CRT3A
VAL INT CL.CRT3A
Video buffer 1 start address byte 0.
clgd5446.inc:134Constant CL.CRT3B
VAL INT CL.CRT3B
Video buffer 1 start address byte 1.
clgd5446.inc:135Constant CL.CRT3C
VAL INT CL.CRT3C
Video buffer 1 start address byte 2.
clgd5446.inc:136Constant CL.CRT3D
VAL INT CL.CRT3D
Video buffer address offset.
clgd5446.inc:137Constant CL.CRT3E
VAL INT CL.CRT3E
Video window master control.
clgd5446.inc:138Constant CL.CRT3F
VAL INT CL.CRT3F
Miscellaneous video control.
clgd5446.inc:139Constant CL.CRT50
VAL INT CL.CRT50
Video capture control.
clgd5446.inc:140Constant CL.CRT51
VAL INT CL.CRT51
Video capture data format.
clgd5446.inc:141Constant CL.CRT52
VAL INT CL.CRT52
Video capture horizontal data reduction.
clgd5446.inc:142Constant CL.CRT53
VAL INT CL.CRT53
Video capture vertical data reduction.
clgd5446.inc:143Constant CL.CRT54
VAL INT CL.CRT54
Video capture horizontal delay.
clgd5446.inc:144Constant CL.CRT56
VAL INT CL.CRT56
Video capture vertical delay.
clgd5446.inc:145Constant CL.CRT57
VAL INT CL.CRT57
Video capture maximum height.
clgd5446.inc:146Constant CL.CRT58
VAL INT CL.CRT58
Video capture miscellaneous control.
clgd5446.inc:147Constant CL.CRT59
VAL INT CL.CRT59
Video buffer 2 start address byte 0.
clgd5446.inc:148Constant CL.CRT5A
VAL INT CL.CRT5A
Video buffer 2 start address byte 1.
clgd5446.inc:149Constant CL.CRT5B
VAL INT CL.CRT5B
Video window brightness adjust.
clgd5446.inc:150Constant CL.CRT5C
VAL INT CL.CRT5C
Luminance-only capture control.
clgd5446.inc:151Constant CL.CRT5D
VAL INT CL.CRT5D
Video window pixel alignment.
clgd5446.inc:152Constant CL.CRT5E
VAL INT CL.CRT5E
Double-buffer control.
clgd5446.inc:154Group CL.GR
Graphics controller registers.
clgd5446.inc:155Constant CL.GR0
VAL INT CL.GR0
Set/reset background colour byte 0.
clgd5446.inc:156Constant CL.GR1
VAL INT CL.GR1
Set/reset enable/foreground colour byte 0.
clgd5446.inc:157Constant CL.GR2
VAL INT CL.GR2
Graphics controller colour compare.
clgd5446.inc:158Constant CL.GR3
VAL INT CL.GR3
Graphics controller data rotate.
clgd5446.inc:159Constant CL.GR4
VAL INT CL.GR4
Graphics controller read map select.
clgd5446.inc:160Constant CL.GR5
VAL INT CL.GR5
Graphics controller mode.
clgd5446.inc:161Constant CL.GR6
VAL INT CL.GR6
Graphics controller miscellaneous register.
clgd5446.inc:162Constant CL.GR7
VAL INT CL.GR7
Graphics controller colour don't care.
clgd5446.inc:163Constant CL.GR8
VAL INT CL.GR8
Graphics controller bit mask.
clgd5446.inc:164Constant CL.GR9
VAL INT CL.GR9
Offset register 0.
clgd5446.inc:165Constant CL.GRA
VAL INT CL.GRA
Offset register 1.
clgd5446.inc:166Constant CL.GRB
VAL INT CL.GRB
Graphics controller mode extensions.
clgd5446.inc:167Constant CL.GRC
VAL INT CL.GRC
Colour key (GD5424/26/28).
clgd5446.inc:168Constant CL.GRD
VAL INT CL.GRD
Colour key mask (GD5424/26/28).
clgd5446.inc:169Constant CL.GRE
VAL INT CL.GRE
Miscellaneous control and power management (GD5428).
clgd5446.inc:170Constant CL.GRF
VAL INT CL.GRF
Display compression control register (not GD5446).
clgd5446.inc:171Constant CL.GR10
VAL INT CL.GR10
Background colour byte 1.
clgd5446.inc:172Constant CL.GR11
VAL INT CL.GR11
Foreground colour byte 1.
clgd5446.inc:173Constant CL.GR12
VAL INT CL.GR12
Background colour byte 2.
clgd5446.inc:174Constant CL.GR13
VAL INT CL.GR13
Foreground colour byte 2.
clgd5446.inc:175Constant CL.GR14
VAL INT CL.GR14
Background colour byte 3.
clgd5446.inc:176Constant CL.GR15
VAL INT CL.GR15
Foreground colour byte 3.
clgd5446.inc:177Constant CL.GR16
VAL INT CL.GR16
Active display line readback byte 0.
clgd5446.inc:178Constant CL.GR17
VAL INT CL.GR17
Active display line readback byte 1.
clgd5446.inc:179Constant CL.GR18
VAL INT CL.GR18
Extended DRAM control.
clgd5446.inc:180Constant CL.GR19
VAL INT CL.GR19
GPIO port configuration.
clgd5446.inc:181Constant CL.GR1A
VAL INT CL.GR1A
Scratch pad 4.
clgd5446.inc:182Constant CL.GR1B
VAL INT CL.GR1B
Scratch pad 5.
clgd5446.inc:183Constant CL.GR1C
VAL INT CL.GR1C
Chroma key U, green minimum.
clgd5446.inc:184Constant CL.GR1D
VAL INT CL.GR1D
Chroma key U, green maximum.
clgd5446.inc:185Constant CL.GR1E
VAL INT CL.GR1E
Chroma key V, blue minimum.
clgd5446.inc:186Constant CL.GR1F
VAL INT CL.GR1F
Chroma key V, blue maximum.
clgd5446.inc:188Constant CL.GR20
VAL INT CL.GR20
BLT width low.
clgd5446.inc:189Constant CL.GR21
VAL INT CL.GR21
BLT width high.
clgd5446.inc:190Constant CL.GR22
VAL INT CL.GR22
BLT height low.
clgd5446.inc:191Constant CL.GR23
VAL INT CL.GR23
BLT height high.
clgd5446.inc:192Constant CL.GR24
VAL INT CL.GR24
BLT destination pitch low.
clgd5446.inc:193Constant CL.GR25
VAL INT CL.GR25
BLT destination pitch high.
clgd5446.inc:194Constant CL.GR26
VAL INT CL.GR26
BLT source pitch low.
clgd5446.inc:195Constant CL.GR27
VAL INT CL.GR27
BLT source pitch high.
clgd5446.inc:196Constant CL.GR28
VAL INT CL.GR28
BLT destination start low.
clgd5446.inc:197Constant CL.GR29
VAL INT CL.GR29
BLT destination start mid.
clgd5446.inc:198Constant CL.GR2A
VAL INT CL.GR2A
BLT destination start high.
clgd5446.inc:199Constant CL.GR2C
VAL INT CL.GR2C
BLT source start low.
clgd5446.inc:200Constant CL.GR2D
VAL INT CL.GR2D
BLT source start mid.
clgd5446.inc:201Constant CL.GR2E
VAL INT CL.GR2E
BLT source start high.
clgd5446.inc:202Constant CL.GR2F
VAL INT CL.GR2F
BLT destination left-side clipping.
clgd5446.inc:203Constant CL.GR30
VAL INT CL.GR30
BLT mode.
clgd5446.inc:204Constant CL.GR31
VAL INT CL.GR31
BLT start/status.
clgd5446.inc:205Constant CL.GR32
VAL INT CL.GR32
BLT raster operation.
clgd5446.inc:206Constant CL.GR33
VAL INT CL.GR33
BLT mode extensions.
clgd5446.inc:207Constant CL.GR34
VAL INT CL.GR34
Transparent colour select low.
clgd5446.inc:208Constant CL.GR35
VAL INT CL.GR35
Transparent colour select high.
clgd5446.inc:210Group CL.AT
Attribute controller registers.
clgd5446.inc:211Constant CL.AT0
VAL INT CL.AT0
Palette 0.
clgd5446.inc:212Constant CL.AT1
VAL INT CL.AT1
Palette 1.
clgd5446.inc:213Constant CL.AT2
VAL INT CL.AT2
Palette 2.
clgd5446.inc:214Constant CL.AT3
VAL INT CL.AT3
Palette 3.
clgd5446.inc:215Constant CL.AT4
VAL INT CL.AT4
Palette 4.
clgd5446.inc:216Constant CL.AT5
VAL INT CL.AT5
Palette 5.
clgd5446.inc:217Constant CL.AT6
VAL INT CL.AT6
Palette 6.
clgd5446.inc:218Constant CL.AT7
VAL INT CL.AT7
Palette 7.
clgd5446.inc:219Constant CL.AT8
VAL INT CL.AT8
Palette 8.
clgd5446.inc:220Constant CL.AT9
VAL INT CL.AT9
Palette 9.
clgd5446.inc:221Constant CL.ATA
VAL INT CL.ATA
Palette 10.
clgd5446.inc:222Constant CL.ATB
VAL INT CL.ATB
Palette 11.
clgd5446.inc:223Constant CL.ATC
VAL INT CL.ATC
Palette 12.
clgd5446.inc:224Constant CL.ATD
VAL INT CL.ATD
Palette 13.
clgd5446.inc:225Constant CL.ATE
VAL INT CL.ATE
Palette 14.
clgd5446.inc:226Constant CL.ATF
VAL INT CL.ATF
Palette 15.
clgd5446.inc:227Constant CL.AT10
VAL INT CL.AT10
Attribute mode.
clgd5446.inc:228Constant CL.AT11
VAL INT CL.AT11
Attribute overscan register.
clgd5446.inc:229Constant CL.AT12
VAL INT CL.AT12
Plane enable.
clgd5446.inc:230Constant CL.AT13
VAL INT CL.AT13
Pixel.
clgd5446.inc:231Constant CL.AT14
VAL INT CL.AT14
Colour page.
gd5446fb.occ:121Process gd5446fb.driver
PROC gd5446fb.driver (CT.DRIVER? link, SHARED LOG! log, VAL []BYTE options)
Cirrus Logic GD5446 framebuffer driver. This provides support for CL GD5446 based PCI cards.
Parameters:
CT.DRIVER? |
link |
Link to parent driver. |
SHARED LOG! |
log |
System log channels. |
VAL []BYTE |
options |
Driver options. |
gd5446fb.occ:142Record GD5446.DATA
DATA TYPE GD5446.DATA
This contains data about the device itself.
gd5446fb.occ:144Variable flags
INT
PCI device flags.
gd5446fb.occ:145Variable board.real.addr
INT
Board (framebuffer) real-memory address.
gd5446fb.occ:146Variable board.virt.addr
INT
Board virtual-memory address.
gd5446fb.occ:147Variable board.length
INT
Board length (bytes).
gd5446fb.occ:148Variable reg.real.addr
INT
Registers real-memory address.
gd5446fb.occ:149Variable reg.virt.addr
INT
Registers virtual-memory address.
gd5446fb.occ:150Variable reg.length
INT
Registers length (bytes).
gd5446fb.occ:151Variable io.regbase
INT
I/O register base.
gd5446fb.occ:152Variable vmemsize
INT
Video memory size (bytes).
gd5446fb.occ:154Variable hwcurs
BOOL
Hardware cursor supported.
gd5446fb.occ:155Variable cur.data
INT32
Hardware cursor data address.
gd5446fb.occ:156Variable cx, cy
INT
Cursor position.
gd5446fb.occ:161Record GD5446.REGS
DATA TYPE GD5446.REGS
This contains specific data about the device state.
gd5446fb.occ:178Record GD5446.LLREGS
DATA TYPE GD5446.LLREGS
Low-level registers for the GD5446.
gd5446fb.occ:218Tag w.seq
w.seq; INT; BYTE
Write sequencer register.
gd5446fb.occ:219Tag w.lseq
w.lseq; INT; INT16
Write long sequencer register (special).
gd5446fb.occ:220Tag w.gfx
w.gfx; INT; BYTE
Write graphics register.
gd5446fb.occ:221Tag w.crt
w.crt; INT; BYTE
Write CRTC register.
gd5446fb.occ:222Tag w.att
w.att; INT; BYTE
Write attribute register.
gd5446fb.occ:223Tag w.clut
w.clut; BYTE; [3]BYTE
Write colour lookup table entry
gd5446fb.occ:224Tag r.seq
r.seq; INT
Read sequencer register.
gd5446fb.occ:225Tag r.gfx
r.gfx; INT
Read graphics register.
gd5446fb.occ:226Tag r.crt
r.crt; INT
Read CRTC register.
gd5446fb.occ:227Tag r.att
r.att; INT
Read attribute register.
gd5446fb.occ:228Tag w.hdr
w.hdr; BYTE
Write hidden DAC register.
gd5446fb.occ:229Tag r.hdr
r.hdr
Read hidden DAC register.
gd5446fb.occ:230Tag w.misc
w.misc; BYTE
Write misc controller register.
gd5446fb.occ:231Tag r.misc
r.misc
Read misc controller register.
gd5446fb.occ:232Tag w.feat
w.feat; BYTE
Write feature control register.
gd5446fb.occ:233Tag r.feat
r.feat
Read feature control register.
gd5446fb.occ:234Tag w.pixmask
w.pixmask; BYTE
Write pixel mask register.
gd5446fb.occ:235Tag r.pixmask
r.pixmask
Read pixel mask register.
gd5446fb.occ:236Tag w.adata
w.adata; BYTE
Write attribute data register.
gd5446fb.occ:237Tag r.adata
r.adata
Read attribute data register.
gd5446fb.occ:238Tag w.att33
w.att33; BYTE
Write attribute register 0x33.
gd5446fb.occ:239Tag r.att33
r.att33
Read attribute register 0x33.
gd5446fb.occ:241Tag dump
dump
Dump register state (debugging).