Home | History | Annotate | Download | only in windermere

Lines Matching defs:ri

143 	struct rasops_info *ri;
190 ri = &sc->sc_ri;
191 ri->ri_depth = depth;
192 ri->ri_bits = (void *)(addr + LCD_PALETTE_SIZE);
193 ri->ri_width = width;
194 ri->ri_height = height;
195 ri->ri_stride = width * ri->ri_depth / 8/*bits*/;
196 ri->ri_flg = RI_FORCEMONO | RI_CLEAR | RI_CENTER;
201 if (rasops_init(ri, 0, 0) < 0)
204 if (ri->ri_depth == 4) {
206 ri->ri_devcmap[0] = 0;
209 ri->ri_devcmap[i] =
213 ri->ri_devcmap[15] = -1;
215 wmlcd_descr.ncols = ri->ri_cols;
216 wmlcd_descr.nrows = ri->ri_rows;
217 wmlcd_descr.textops = &ri->ri_ops;
218 wmlcd_descr.capabilities = ri->ri_caps;
220 if ((ri->ri_ops.allocattr)(ri, 0, 0, 0, &defattr) != 0)
222 wsdisplay_cnattach(&wmlcd_descr, ri, ri->ri_ccol, ri->ri_crow,