Home | History | Annotate | Download | only in oea

Lines Matching refs:ri

84 	struct rasops_info *ri = &rascons_console_screen.scr_ri;
106 rascons_init_rasops(console_node, ri);
113 if (ri->ri_width >= 1024 && ri->ri_height >= 768) {
114 int i, screenbytes = ri->ri_stride * ri->ri_height;
122 rascons_stdscreen.nrows = ri->ri_rows;
123 rascons_stdscreen.ncols = ri->ri_cols;
124 rascons_stdscreen.textops = &ri->ri_ops;
125 rascons_stdscreen.capabilities = ri->ri_caps;
140 ri->ri_ops.allocattr(ri, 0, 0, 0, &defattr);
141 wsdisplay_preattach(&rascons_stdscreen, ri, 0, uimax(0,
142 uimin(crow, ri->ri_rows - 1)), defattr);
163 struct rasops_info *ri = &rascons_console_screen.scr_ri;
176 ri->ri_ops.allocattr(ri, 0, 0, 0, &defattr);
177 wsdisplay_preattach(&rascons_stdscreen, ri, 0, uimax(0,
178 uimin(crow, ri->ri_rows - 1)), defattr);
234 rascons_init_rasops(int node, struct rasops_info *ri)
255 ri->ri_width = width;
256 ri->ri_height = height;
257 ri->ri_depth = depth;
258 ri->ri_stride = linebytes;
259 ri->ri_bits = (char *)fbaddr;
260 ri->ri_flg = RI_CENTER | RI_FULLCLEAR | RI_NO_AUTO;
272 ri->ri_font = &openfirm6x11;
273 ri->ri_wsfcookie = -1; /* not using wsfont */
274 rasops_init(ri, rows, cols);
278 (uint32_t)ri->ri_bits, cols, width, ri->ri_xorigin, ri->ri_yorigin);
283 rasops_init(ri, height/8, width/8);
284 ri->ri_caps = WSSCREEN_WSCOLORS;
285 rasops_reconfig(ri, height / ri->ri_font->fontheight,
286 width / ri->ri_font->fontwidth);