Lines Matching +full:0 +full:x5800
57 #define LEO_OFF_LC_SS0_KRN 0x00200000UL
58 #define LEO_OFF_LC_SS0_USR 0x00201000UL
59 #define LEO_OFF_LC_SS1_KRN 0x01200000UL
60 #define LEO_OFF_LC_SS1_USR 0x01201000UL
61 #define LEO_OFF_LD_SS0 0x00400000UL
62 #define LEO_OFF_LD_SS1 0x01400000UL
63 #define LEO_OFF_LD_GBL 0x00401000UL
64 #define LEO_OFF_LX_KRN 0x00600000UL
65 #define LEO_OFF_LX_CURSOR 0x00601000UL
66 #define LEO_OFF_SS0 0x00800000UL
67 #define LEO_OFF_SS1 0x01800000UL
68 #define LEO_OFF_UNK 0x00602000UL
69 #define LEO_OFF_UNK2 0x00000000UL
71 #define LEO_CUR_ENABLE 0x00000080
72 #define LEO_CUR_UPDATE 0x00000030
73 #define LEO_CUR_PROGRESS 0x00000006
74 #define LEO_CUR_UPDATECMAP 0x00000003
76 #define LEO_CUR_TYPE_MASK 0x00000000
77 #define LEO_CUR_TYPE_IMAGE 0x00000020
78 #define LEO_CUR_TYPE_CMAP 0x00000050
88 #define LEO_KRN_TYPE_CLUT0 0x00001000
89 #define LEO_KRN_TYPE_CLUT1 0x00001001
90 #define LEO_KRN_TYPE_CLUT2 0x00001002
91 #define LEO_KRN_TYPE_WID 0x00001003
92 #define LEO_KRN_TYPE_UNK 0x00001006
93 #define LEO_KRN_TYPE_VIDEO 0x00002003
94 #define LEO_KRN_TYPE_CLUTDATA 0x00004000
95 #define LEO_KRN_CSR_ENABLE 0x00000008
96 #define LEO_KRN_CSR_PROGRESS 0x00000004
97 #define LEO_KRN_CSR_UNK 0x00000002
98 #define LEO_KRN_CSR_UNK2 0x00000001
108 u8 xxx0[0x800-4];
133 u8 xxx0[0xe00];
153 u8 xxx2[0x2c];
170 #define LEO_SS1_MISC_ENABLE 0x00000001
171 #define LEO_SS1_MISC_STEREO 0x00000002
173 u8 xxx0[0xef4];
192 #define LEO_FLAG_BLANKED 0x00000001
201 for (i = 0; in leo_wait()
222 sbus_writel(0xffffffff, &ss->wid); in leo_switch_from_graph()
223 sbus_writel(0xffff, &ss->wmask); in leo_switch_from_graph()
224 sbus_writel(0, &ss->vclipmin); in leo_switch_from_graph()
226 sbus_writel(0, &ss->fg); in leo_switch_from_graph()
227 sbus_writel(0xff000000, &ss->planemask); in leo_switch_from_graph()
228 sbus_writel(0x310850, &ss->rop); in leo_switch_from_graph()
229 sbus_writel(0, &ss->widclip); in leo_switch_from_graph()
233 sbus_writel(0x80000000, &par->lc_ss0_usr->fill); in leo_switch_from_graph()
234 sbus_writel(0, &par->lc_ss0_usr->fontt); in leo_switch_from_graph()
237 } while (val & 0x20000000); in leo_switch_from_graph()
241 sbus_writel(0x00ffffff, &ss->planemask); in leo_switch_from_graph()
242 sbus_writel(0x310b90, &ss->rop); in leo_switch_from_graph()
243 sbus_writel(0, &par->lc_ss0_usr->addrspace); in leo_switch_from_graph()
260 return 0; in leo_pan_display()
265 * @regno: boolean, 0 copy local, 1 get_user() function
296 for (i = 0; i < 256; i++) in leo_setcolreg()
306 return 0; in leo_setcolreg()
344 return 0; in leo_blank()
351 .size = 0x800000
356 .size = 0x1000
361 .size = 0x1000
366 .size = 0x1000
371 .size = 0x800000
376 .size = 0x1000
381 .size = 0x1000
386 .size = 0x1000
391 .size = 0x1000
396 .size = 0x1000
401 .size = 0x1000
406 .size = 0x1000
411 .size = 0x100000
413 { .size = 0 }
461 for (i = 0, wi = wl->wl_list; i < wl->wl_count; i++, wi++) { in leo_wid_put()
464 j = (wi->wi_index & 0xf) + 0x40; in leo_wid_put()
468 j = wi->wi_index & 0x3f; in leo_wid_put()
474 sbus_writel(0x5800 + j, &lx_krn->krn_type); in leo_wid_put()
475 sbus_writel(wi->wi_values[0], &lx_krn->krn_value); in leo_wid_put()
494 wi.wi_index = 0; in leo_init_wids()
495 wi.wi_values [0] = 0x2c0; in leo_init_wids()
498 wi.wi_values [0] = 0x30; in leo_init_wids()
501 wi.wi_values [0] = 0x20; in leo_init_wids()
505 wi.wi_values [0] = 0x30; in leo_init_wids()
523 var->red.offset = 0; in leo_fixup_var_rgb()
529 var->transp.offset = 0; in leo_fixup_var_rgb()
530 var->transp.length = 0; in leo_fixup_var_rgb()
537 of_iounmap(&op->resource[0], par->lc_ss0_usr, 0x1000); in leo_unmap_regs()
539 of_iounmap(&op->resource[0], par->ld_ss0, 0x1000); in leo_unmap_regs()
541 of_iounmap(&op->resource[0], par->ld_ss1, 0x1000); in leo_unmap_regs()
543 of_iounmap(&op->resource[0], par->lx_krn, 0x1000); in leo_unmap_regs()
545 of_iounmap(&op->resource[0], in leo_unmap_regs()
548 of_iounmap(&op->resource[0], info->screen_base, 0x800000); in leo_unmap_regs()
567 info->fix.smem_start = op->resource[0].start; in leo_probe()
568 par->which_io = op->resource[0].flags & IORESOURCE_BITS; in leo_probe()
578 of_ioremap(&op->resource[0], LEO_OFF_LC_SS0_USR, in leo_probe()
579 0x1000, "leolc ss0usr"); in leo_probe()
581 of_ioremap(&op->resource[0], LEO_OFF_LD_SS0, in leo_probe()
582 0x1000, "leold ss0"); in leo_probe()
584 of_ioremap(&op->resource[0], LEO_OFF_LD_SS1, in leo_probe()
585 0x1000, "leold ss1"); in leo_probe()
587 of_ioremap(&op->resource[0], LEO_OFF_LX_KRN, in leo_probe()
588 0x1000, "leolx krn"); in leo_probe()
590 of_ioremap(&op->resource[0], LEO_OFF_LX_CURSOR, in leo_probe()
593 of_ioremap(&op->resource[0], LEO_OFF_SS0, in leo_probe()
594 0x800000, "leo ram"); in leo_probe()
612 if (fb_alloc_cmap(&info->cmap, 256, 0)) in leo_probe()
618 if (err < 0) in leo_probe()
627 return 0; in leo_probe()
652 return 0; in leo_remove()