Lines Matching defs:ri
76 struct rasops_info *ri;
106 ri = &sc->sc_vc_screen.scr_ri;
107 sc->sc_ws_descr->textops = &ri->ri_ops;
108 sc->sc_ws_descr->capabilities = ri->ri_caps;
109 sc->sc_ws_descr->nrows = ri->ri_rows;
110 sc->sc_ws_descr->ncols = ri->ri_cols;
113 sc->sc_sp_info.si_depth = ri->ri_depth;
114 sc->sc_sp_info.si_bits = ri->ri_bits;
115 sc->sc_sp_info.si_hwbits = ri->ri_hwbits;
116 sc->sc_sp_info.si_width = ri->ri_width;
117 sc->sc_sp_info.si_height = ri->ri_height;
118 sc->sc_sp_info.si_stride = ri->ri_stride;
145 struct rasops_info *ri = &scr->scr_ri;
150 ri->ri_depth = sc->sc_bpp;
151 ri->ri_width = sc->sc_width;
152 ri->ri_height = sc->sc_height;
153 ri->ri_stride = sc->sc_stride;
154 ri->ri_flg = /*RI_CENTER |*/ RI_CLEAR;
155 ri->ri_bits = (void *)sc->sc_image;
156 ri->ri_caps = WSSCREEN_WSCOLORS;
158 ri->ri_rnum = 8;
159 ri->ri_gnum = 8;
160 ri->ri_bnum = 8;
161 ri->ri_rpos = 16;
162 ri->ri_gpos = 8;
163 ri->ri_bpos = 0;
165 rasops_init(ri, ri->ri_height / 16, ri->ri_width / 8);