Lines Matching +full:0 +full:x5800
51 #define LEO_OFF_LC_SS0_KRN 0x00200000UL
52 #define LEO_OFF_LC_SS0_USR 0x00201000UL
53 #define LEO_OFF_LC_SS1_KRN 0x01200000UL
54 #define LEO_OFF_LC_SS1_USR 0x01201000UL
55 #define LEO_OFF_LD_SS0 0x00400000UL
56 #define LEO_OFF_LD_SS1 0x01400000UL
57 #define LEO_OFF_LD_GBL 0x00401000UL
58 #define LEO_OFF_LX_KRN 0x00600000UL
59 #define LEO_OFF_LX_CURSOR 0x00601000UL
60 #define LEO_OFF_SS0 0x00800000UL
61 #define LEO_OFF_SS1 0x01800000UL
62 #define LEO_OFF_UNK 0x00602000UL
63 #define LEO_OFF_UNK2 0x00000000UL
65 #define LEO_CUR_ENABLE 0x00000080
66 #define LEO_CUR_UPDATE 0x00000030
67 #define LEO_CUR_PROGRESS 0x00000006
68 #define LEO_CUR_UPDATECMAP 0x00000003
70 #define LEO_CUR_TYPE_MASK 0x00000000
71 #define LEO_CUR_TYPE_IMAGE 0x00000020
72 #define LEO_CUR_TYPE_CMAP 0x00000050
82 #define LEO_KRN_TYPE_CLUT0 0x00001000
83 #define LEO_KRN_TYPE_CLUT1 0x00001001
84 #define LEO_KRN_TYPE_CLUT2 0x00001002
85 #define LEO_KRN_TYPE_WID 0x00001003
86 #define LEO_KRN_TYPE_UNK 0x00001006
87 #define LEO_KRN_TYPE_VIDEO 0x00002003
88 #define LEO_KRN_TYPE_CLUTDATA 0x00004000
89 #define LEO_KRN_CSR_ENABLE 0x00000008
90 #define LEO_KRN_CSR_PROGRESS 0x00000004
91 #define LEO_KRN_CSR_UNK 0x00000002
92 #define LEO_KRN_CSR_UNK2 0x00000001
102 u8 xxx0[0x800-4];
127 u8 xxx0[0xe00];
147 u8 xxx2[0x2c];
164 #define LEO_SS1_MISC_ENABLE 0x00000001
165 #define LEO_SS1_MISC_STEREO 0x00000002
167 u8 xxx0[0xef4];
186 #define LEO_FLAG_BLANKED 0x00000001
195 for (i = 0; in leo_wait()
216 sbus_writel(0xffffffff, &ss->wid); in leo_switch_from_graph()
217 sbus_writel(0xffff, &ss->wmask); in leo_switch_from_graph()
218 sbus_writel(0, &ss->vclipmin); in leo_switch_from_graph()
220 sbus_writel(0, &ss->fg); in leo_switch_from_graph()
221 sbus_writel(0xff000000, &ss->planemask); in leo_switch_from_graph()
222 sbus_writel(0x310850, &ss->rop); in leo_switch_from_graph()
223 sbus_writel(0, &ss->widclip); in leo_switch_from_graph()
227 sbus_writel(0x80000000, &par->lc_ss0_usr->fill); in leo_switch_from_graph()
228 sbus_writel(0, &par->lc_ss0_usr->fontt); in leo_switch_from_graph()
231 } while (val & 0x20000000); in leo_switch_from_graph()
235 sbus_writel(0x00ffffff, &ss->planemask); in leo_switch_from_graph()
236 sbus_writel(0x310b90, &ss->rop); in leo_switch_from_graph()
237 sbus_writel(0, &par->lc_ss0_usr->addrspace); in leo_switch_from_graph()
254 return 0; in leo_pan_display()
259 * @regno: boolean, 0 copy local, 1 get_user() function
290 for (i = 0; i < 256; i++) in leo_setcolreg()
300 return 0; in leo_setcolreg()
338 return 0; in leo_blank()
345 .size = 0x800000
350 .size = 0x1000
355 .size = 0x1000
360 .size = 0x1000
365 .size = 0x800000
370 .size = 0x1000
375 .size = 0x1000
380 .size = 0x1000
385 .size = 0x1000
390 .size = 0x1000
395 .size = 0x1000
400 .size = 0x1000
405 .size = 0x100000
407 { .size = 0 }
455 for (i = 0, wi = wl->wl_list; i < wl->wl_count; i++, wi++) { in leo_wid_put()
458 j = (wi->wi_index & 0xf) + 0x40; in leo_wid_put()
462 j = wi->wi_index & 0x3f; in leo_wid_put()
468 sbus_writel(0x5800 + j, &lx_krn->krn_type); in leo_wid_put()
469 sbus_writel(wi->wi_values[0], &lx_krn->krn_value); in leo_wid_put()
488 wi.wi_index = 0; in leo_init_wids()
489 wi.wi_values [0] = 0x2c0; in leo_init_wids()
492 wi.wi_values [0] = 0x30; in leo_init_wids()
495 wi.wi_values [0] = 0x20; in leo_init_wids()
499 wi.wi_values [0] = 0x30; in leo_init_wids()
517 var->red.offset = 0; in leo_fixup_var_rgb()
523 var->transp.offset = 0; in leo_fixup_var_rgb()
524 var->transp.length = 0; in leo_fixup_var_rgb()
531 of_iounmap(&op->resource[0], par->lc_ss0_usr, 0x1000); in leo_unmap_regs()
533 of_iounmap(&op->resource[0], par->ld_ss0, 0x1000); in leo_unmap_regs()
535 of_iounmap(&op->resource[0], par->ld_ss1, 0x1000); in leo_unmap_regs()
537 of_iounmap(&op->resource[0], par->lx_krn, 0x1000); in leo_unmap_regs()
539 of_iounmap(&op->resource[0], in leo_unmap_regs()
542 of_iounmap(&op->resource[0], info->screen_base, 0x800000); in leo_unmap_regs()
561 info->fix.smem_start = op->resource[0].start; in leo_probe()
562 par->which_io = op->resource[0].flags & IORESOURCE_BITS; in leo_probe()
572 of_ioremap(&op->resource[0], LEO_OFF_LC_SS0_USR, in leo_probe()
573 0x1000, "leolc ss0usr"); in leo_probe()
575 of_ioremap(&op->resource[0], LEO_OFF_LD_SS0, in leo_probe()
576 0x1000, "leold ss0"); in leo_probe()
578 of_ioremap(&op->resource[0], LEO_OFF_LD_SS1, in leo_probe()
579 0x1000, "leold ss1"); in leo_probe()
581 of_ioremap(&op->resource[0], LEO_OFF_LX_KRN, in leo_probe()
582 0x1000, "leolx krn"); in leo_probe()
584 of_ioremap(&op->resource[0], LEO_OFF_LX_CURSOR, in leo_probe()
587 of_ioremap(&op->resource[0], LEO_OFF_SS0, in leo_probe()
588 0x800000, "leo ram"); in leo_probe()
605 if (fb_alloc_cmap(&info->cmap, 256, 0)) in leo_probe()
611 if (err < 0) in leo_probe()
620 return 0; in leo_probe()