Home | History | Annotate | Download | only in loongson

Lines Matching defs:ri

333 	struct rasops_info * const ri = &gdium_console_screen.scr_ri;
349 ri->ri_width = 1024;
350 ri->ri_height = 600;
351 ri->ri_depth = 16;
352 ri->ri_stride = 0x800;
358 ri->ri_bits = (char *)MIPS_PHYS_TO_KSEG1(BONITO_PCILO_BASE + reg);
359 ri->ri_flg = RI_CENTER | RI_NO_AUTO;
361 memset(ri->ri_bits, 0, 0x200000);
364 rasops_init(ri, 30, 80);
366 rasops_reconfig(ri, ri->ri_height / ri->ri_font->fontheight,
367 ri->ri_width / ri->ri_font->fontwidth);
369 gdium_stdscreen.nrows = ri->ri_rows;
370 gdium_stdscreen.ncols = ri->ri_cols;
371 gdium_stdscreen.textops = &ri->ri_ops;
372 gdium_stdscreen.capabilities = ri->ri_caps;
374 ri->ri_ops.allocattr(ri, 0, ri->ri_rows - 1, 0, &defattr);
376 wsdisplay_preattach(&gdium_stdscreen, ri, 0, 0, defattr);