Lines Matching +full:0 +full:x0010000

64 #define	FFB_SFB8R_VOFF		0x00000000
65 #define FFB_SFB8G_VOFF 0x00400000
66 #define FFB_SFB8B_VOFF 0x00800000
67 #define FFB_SFB8X_VOFF 0x00c00000
68 #define FFB_SFB32_VOFF 0x01000000
69 #define FFB_SFB64_VOFF 0x02000000
70 #define FFB_FBC_REGS_VOFF 0x04000000
71 #define FFB_BM_FBC_REGS_VOFF 0x04002000
72 #define FFB_DFB8R_VOFF 0x04004000
73 #define FFB_DFB8G_VOFF 0x04404000
74 #define FFB_DFB8B_VOFF 0x04804000
75 #define FFB_DFB8X_VOFF 0x04c04000
76 #define FFB_DFB24_VOFF 0x05004000
77 #define FFB_DFB32_VOFF 0x06004000
78 #define FFB_DFB422A_VOFF 0x07004000 /* DFB 422 mode write to A */
79 #define FFB_DFB422AD_VOFF 0x07804000 /* DFB 422 mode with line doubling */
80 #define FFB_DFB24B_VOFF 0x08004000 /* DFB 24bit mode write to B */
81 #define FFB_DFB422B_VOFF 0x09004000 /* DFB 422 mode write to B */
82 #define FFB_DFB422BD_VOFF 0x09804000 /* DFB 422 mode with line doubling */
83 #define FFB_SFB16Z_VOFF 0x0a004000 /* 16bit mode Z planes */
84 #define FFB_SFB8Z_VOFF 0x0a404000 /* 8bit mode Z planes */
85 #define FFB_SFB422_VOFF 0x0ac04000 /* SFB 422 mode write to A/B */
86 #define FFB_SFB422D_VOFF 0x0b404000 /* SFB 422 mode with line doubling */
87 #define FFB_FBC_KREGS_VOFF 0x0bc04000
88 #define FFB_DAC_VOFF 0x0bc06000
89 #define FFB_PROM_VOFF 0x0bc08000
90 #define FFB_EXP_VOFF 0x0bc18000
92 #define FFB_SFB8R_POFF 0x04000000UL
93 #define FFB_SFB8G_POFF 0x04400000UL
94 #define FFB_SFB8B_POFF 0x04800000UL
95 #define FFB_SFB8X_POFF 0x04c00000UL
96 #define FFB_SFB32_POFF 0x05000000UL
97 #define FFB_SFB64_POFF 0x06000000UL
98 #define FFB_FBC_REGS_POFF 0x00600000UL
99 #define FFB_BM_FBC_REGS_POFF 0x00600000UL
100 #define FFB_DFB8R_POFF 0x01000000UL
101 #define FFB_DFB8G_POFF 0x01400000UL
102 #define FFB_DFB8B_POFF 0x01800000UL
103 #define FFB_DFB8X_POFF 0x01c00000UL
104 #define FFB_DFB24_POFF 0x02000000UL
105 #define FFB_DFB32_POFF 0x03000000UL
106 #define FFB_FBC_KREGS_POFF 0x00610000UL
107 #define FFB_DAC_POFF 0x00400000UL
108 #define FFB_PROM_POFF 0x00000000UL
109 #define FFB_EXP_POFF 0x00200000UL
110 #define FFB_DFB422A_POFF 0x09000000UL
111 #define FFB_DFB422AD_POFF 0x09800000UL
112 #define FFB_DFB24B_POFF 0x0a000000UL
113 #define FFB_DFB422B_POFF 0x0b000000UL
114 #define FFB_DFB422BD_POFF 0x0b800000UL
115 #define FFB_SFB16Z_POFF 0x0c800000UL
116 #define FFB_SFB8Z_POFF 0x0c000000UL
117 #define FFB_SFB422_POFF 0x0d000000UL
118 #define FFB_SFB422D_POFF 0x0d800000UL
121 #define FFB_DRAWOP_DOT 0x00
122 #define FFB_DRAWOP_AADOT 0x01
123 #define FFB_DRAWOP_BRLINECAP 0x02
124 #define FFB_DRAWOP_BRLINEOPEN 0x03
125 #define FFB_DRAWOP_DDLINE 0x04
126 #define FFB_DRAWOP_AALINE 0x05
127 #define FFB_DRAWOP_TRIANGLE 0x06
128 #define FFB_DRAWOP_POLYGON 0x07
129 #define FFB_DRAWOP_RECTANGLE 0x08
130 #define FFB_DRAWOP_FASTFILL 0x09
131 #define FFB_DRAWOP_BCOPY 0x0a
132 #define FFB_DRAWOP_VSCROLL 0x0b
136 #define FFB_PPC_FW_DISABLE 0x800000
137 #define FFB_PPC_FW_ENABLE 0xc00000
139 #define FFB_PPC_ACE_DISABLE 0x040000
140 #define FFB_PPC_ACE_AUX_SUB 0x080000
141 #define FFB_PPC_ACE_AUX_ADD 0x0c0000
143 #define FFB_PPC_DCE_DISABLE 0x020000
144 #define FFB_PPC_DCE_ENABLE 0x030000
146 #define FFB_PPC_ABE_DISABLE 0x008000
147 #define FFB_PPC_ABE_ENABLE 0x00c000
149 #define FFB_PPC_VCE_DISABLE 0x001000
150 #define FFB_PPC_VCE_2D 0x002000
151 #define FFB_PPC_VCE_3D 0x003000
153 #define FFB_PPC_APE_DISABLE 0x000800
154 #define FFB_PPC_APE_ENABLE 0x000c00
156 #define FFB_PPC_TBE_OPAQUE 0x000200
157 #define FFB_PPC_TBE_TRANSPARENT 0x000300
159 #define FFB_PPC_ZS_VAR 0x000080
160 #define FFB_PPC_ZS_CONST 0x0000c0
162 #define FFB_PPC_YS_VAR 0x000020
163 #define FFB_PPC_YS_CONST 0x000030
165 #define FFB_PPC_XS_WID 0x000004
166 #define FFB_PPC_XS_VAR 0x000008
167 #define FFB_PPC_XS_CONST 0x00000c
169 #define FFB_PPC_CS_VAR 0x000002
170 #define FFB_PPC_CS_CONST 0x000003
172 #define FFB_ROP_NEW 0x83
173 #define FFB_ROP_OLD 0x85
174 #define FFB_ROP_NEW_XOR_OLD 0x86
176 #define FFB_UCSR_FIFO_MASK 0x00000fff
177 #define FFB_UCSR_FB_BUSY 0x01000000
178 #define FFB_UCSR_RP_BUSY 0x02000000
180 #define FFB_UCSR_READ_ERR 0x40000000
181 #define FFB_UCSR_FIFO_OVFL 0x80000000
337 #define FFB_DAC_UCTRL 0x1001 /* User Control */
338 #define FFB_DAC_UCTRL_MANREV 0x00000f00 /* 4-bit Manufacturing Revision */
340 #define FFB_DAC_TGEN 0x6000 /* Timing Generator */
341 #define FFB_DAC_TGEN_VIDE 0x00000001 /* Video Enable */
342 #define FFB_DAC_DID 0x8000 /* Device Identification */
343 #define FFB_DAC_DID_PNUM 0x0ffff000 /* Device Part Number */
345 #define FFB_DAC_DID_REV 0xf0000000 /* Device Revision */
348 #define FFB_DAC_CUR_CTRL 0x100
349 #define FFB_DAC_CUR_CTRL_P0 0x00000001
350 #define FFB_DAC_CUR_CTRL_P1 0x00000002
358 #define FFB_FLAG_AFB 0x00000001 /* AFB m3 or m6 */
359 #define FFB_FLAG_BLANKED 0x00000002 /* screen is blanked */
360 #define FFB_FLAG_INVCURSOR 0x00000004 /* DAC has inverted cursor logic */
381 if (cache - n < 0) { in FFBFifo()
386 } while (cache - n < 0); in FFBFifo()
398 if ((upa_readl(&fbc->ucsr) & FFB_UCSR_ALL_BUSY) == 0) in FFBWait()
400 if ((upa_readl(&fbc->ucsr) & FFB_UCSR_ALL_ERRORS) != 0) { in FFBWait()
404 } while (--limit > 0); in FFBWait()
412 return 0; in ffb_sync()
432 par->fifo_cache = 0; in ffb_switch_from_graph()
437 upa_writel(0x2000707f, &fbc->fbc); in ffb_switch_from_graph()
439 upa_writel(0xffffffff, &fbc->pmask); in ffb_switch_from_graph()
440 upa_writel((1 << 16) | (0 << 0), &fbc->fontinc); in ffb_switch_from_graph()
448 upa_writel(0, &dac->value2); in ffb_switch_from_graph()
467 return 0; in ffb_pan_display()
590 xy += (32 << 0); in ffb_imageblit()
592 for (i = 0; i < image->height; i++) { in ffb_imageblit()
593 u32 val = (((u32)data[0] << 24) | in ffb_imageblit()
596 ((u32)data[3] << 0)); in ffb_imageblit()
612 for (i = 0; i < image->height; i++) { in ffb_imageblit()
613 u32 val = (((u32)data[0] << 24) | in ffb_imageblit()
616 ((u32)data[3] << 0)); in ffb_imageblit()
629 var->red.offset = 0; in ffb_fixup_var_rgb()
635 var->transp.offset = 0; in ffb_fixup_var_rgb()
636 var->transp.length = 0; in ffb_fixup_var_rgb()
642 * @regno: boolean, 0 copy local, 1 get_user() function
665 return 0; in ffb_setcolreg()
703 for (i = 0; i < 10; i++) { in ffb_blank()
710 return 0; in ffb_blank()
717 .size = 0x0400000
722 .size = 0x0400000
727 .size = 0x0400000
732 .size = 0x0400000
737 .size = 0x1000000
742 .size = 0x2000000
747 .size = 0x0002000
752 .size = 0x0002000
757 .size = 0x0400000
762 .size = 0x0400000
767 .size = 0x0400000
772 .size = 0x0400000
777 .size = 0x1000000
782 .size = 0x1000000
787 .size = 0x0002000
792 .size = 0x0002000
797 .size = 0x0010000
802 .size = 0x0002000
807 .size = 0x0800000
812 .size = 0x0800000
817 .size = 0x1000000
822 .size = 0x0800000
827 .size = 0x0800000
832 .size = 0x0800000
837 .size = 0x0800000
842 .size = 0x0800000
847 .size = 0x0800000
849 { .size = 0 }
858 0, vma); in ffb_sbusfb_mmap()
879 if ((par->board_type & 0x7) == 0x3) in ffb_init_fix()
916 par->fbc = of_ioremap(&op->resource[2], 0, in ffb_probe()
921 par->dac = of_ioremap(&op->resource[1], 0, in ffb_probe()
927 par->physbase = op->resource[0].start; in ffb_probe()
950 par->board_type = of_getintprop_default(dp, "board_type", 0); in ffb_probe()
953 if ((upa_readl(&fbc->ucsr) & FFB_UCSR_ALL_ERRORS) != 0) in ffb_probe()
971 * latter having a part number value of 0x236e. in ffb_probe()
973 if ((par->flags & FFB_FLAG_AFB) || dac_pnum == 0x236e) { in ffb_probe()
989 if (fb_alloc_cmap(&info->cmap, 256, 0)) in ffb_probe()
995 if (err < 0) in ffb_probe()
1007 return 0; in ffb_probe()