Home | History | Annotate | Download | only in clps711x

Lines Matching defs:ri

121 	struct rasops_info *ri;
162 ri = &sc->sc_ri;
163 ri->ri_depth = depth;
164 ri->ri_bits = (void *)addr;
165 ri->ri_width = width;
166 ri->ri_height = height;
167 ri->ri_stride = width * ri->ri_depth / 8/*bits*/;
168 ri->ri_flg = RI_FORCEMONO | RI_CLEAR | RI_CENTER;
173 if (rasops_init(ri, 0, 0) < 0)
176 if (ri->ri_depth == 4) {
178 ri->ri_devcmap[0] = 0;
180 ri->ri_devcmap[i] =
184 ri->ri_devcmap[15] = -1;
186 clpslcd_descr.ncols = ri->ri_cols;
187 clpslcd_descr.nrows = ri->ri_rows;
188 clpslcd_descr.textops = &ri->ri_ops;
189 clpslcd_descr.capabilities = ri->ri_caps;
191 if ((ri->ri_ops.allocattr)(ri, 0, 0, 0, &defattr) != 0)
193 wsdisplay_cnattach(&clpslcd_descr, ri, ri->ri_ccol, ri->ri_crow,