Lines Matching refs:ops

51 	struct fbcon_ops *ops = info->fbcon_par;
53 u32 vxres = GETVXRES(ops->p, info);
68 struct fbcon_ops *ops = info->fbcon_par;
71 u32 vxres = GETVXRES(ops->p, info);
88 struct fbcon_ops *ops = info->fbcon_par;
94 src = ops->fontbuffer + (scr_readw(s++) & charmask)*cellsize;
119 struct fbcon_ops *ops = info->fbcon_par;
128 u32 vxres = GETVXRES(ops->p, info);
130 if (!ops->fontbuffer)
208 struct fbcon_ops *ops = info->fbcon_par;
211 int y = real_y(ops->p, vc->state.y);
215 u32 vxres = GETVXRES(ops->p, info);
217 if (!ops->fontbuffer)
224 src = ops->fontbuffer + ((c & charmask) * (w * vc->vc_font.width));
226 if (ops->cursor_state.image.data != src ||
227 ops->cursor_reset) {
228 ops->cursor_state.image.data = src;
238 kfree(ops->cursor_data);
239 ops->cursor_data = dst;
244 if (ops->cursor_state.image.fg_color != fg ||
245 ops->cursor_state.image.bg_color != bg ||
246 ops->cursor_reset) {
247 ops->cursor_state.image.fg_color = fg;
248 ops->cursor_state.image.bg_color = bg;
252 if (ops->cursor_state.image.height != vc->vc_font.width ||
253 ops->cursor_state.image.width != vc->vc_font.height ||
254 ops->cursor_reset) {
255 ops->cursor_state.image.height = vc->vc_font.width;
256 ops->cursor_state.image.width = vc->vc_font.height;
263 if (ops->cursor_state.image.dx != dx ||
264 ops->cursor_state.image.dy != dy ||
265 ops->cursor_reset) {
266 ops->cursor_state.image.dx = dx;
267 ops->cursor_state.image.dy = dy;
271 if (ops->cursor_state.hot.x || ops->cursor_state.hot.y ||
272 ops->cursor_reset) {
273 ops->cursor_state.hot.x = cursor.hot.y = 0;
278 vc->vc_cursor_type != ops->p->cursor_shape ||
279 ops->cursor_state.mask == NULL ||
280 ops->cursor_reset) {
296 kfree(ops->cursor_state.mask);
297 ops->cursor_state.mask = mask;
299 ops->p->cursor_shape = vc->vc_cursor_type;
302 switch (CUR_SIZE(ops->p->cursor_shape)) {
335 ops->cursor_state.enable = enable && !use_sw;
338 cursor.image.fg_color = ops->cursor_state.image.fg_color;
339 cursor.image.bg_color = ops->cursor_state.image.bg_color;
340 cursor.image.dx = ops->cursor_state.image.dx;
341 cursor.image.dy = ops->cursor_state.image.dy;
342 cursor.image.height = ops->cursor_state.image.height;
343 cursor.image.width = ops->cursor_state.image.width;
344 cursor.hot.x = ops->cursor_state.hot.x;
345 cursor.hot.y = ops->cursor_state.hot.y;
346 cursor.mask = ops->cursor_state.mask;
347 cursor.enable = ops->cursor_state.enable;
357 ops->cursor_reset = 0;
362 struct fbcon_ops *ops = info->fbcon_par;
363 u32 vxres = GETVXRES(ops->p, info);
367 xoffset = vxres - (info->var.xres + ops->var.yoffset);
368 ops->var.yoffset = ops->var.xoffset;
369 ops->var.xoffset = xoffset;
370 err = fb_pan_display(info, &ops->var);
371 ops->var.xoffset = info->var.xoffset;
372 ops->var.yoffset = info->var.yoffset;
373 ops->var.vmode = info->var.vmode;
377 void fbcon_rotate_cw(struct fbcon_ops *ops)
379 ops->bmove = cw_bmove;
380 ops->clear = cw_clear;
381 ops->putcs = cw_putcs;
382 ops->clear_margins = cw_clear_margins;
383 ops->cursor = cw_cursor;
384 ops->update_start = cw_update_start;