Lines Matching refs:ops

52 	struct fbcon_ops *ops = info->fbcon_par;
54 u32 vxres = GETVXRES(ops->p->scrollmode, info);
69 struct fbcon_ops *ops = info->fbcon_par;
72 u32 vxres = GETVXRES(ops->p->scrollmode, info);
89 struct fbcon_ops *ops = info->fbcon_par;
95 src = ops->fontbuffer + (scr_readw(s++) & charmask)*cellsize;
120 struct fbcon_ops *ops = info->fbcon_par;
129 u32 vxres = GETVXRES(ops->p->scrollmode, info);
131 if (!ops->fontbuffer)
210 struct fbcon_ops *ops = info->fbcon_par;
213 int y = real_y(ops->p, vc->vc_y);
217 u32 vxres = GETVXRES(ops->p->scrollmode, info);
219 if (!ops->fontbuffer)
227 ops->cursor_flash = 0;
235 src = ops->fontbuffer + ((c & charmask) * (w * vc->vc_font.width));
237 if (ops->cursor_state.image.data != src ||
238 ops->cursor_reset) {
239 ops->cursor_state.image.data = src;
249 kfree(ops->cursor_data);
250 ops->cursor_data = dst;
255 if (ops->cursor_state.image.fg_color != fg ||
256 ops->cursor_state.image.bg_color != bg ||
257 ops->cursor_reset) {
258 ops->cursor_state.image.fg_color = fg;
259 ops->cursor_state.image.bg_color = bg;
263 if (ops->cursor_state.image.height != vc->vc_font.width ||
264 ops->cursor_state.image.width != vc->vc_font.height ||
265 ops->cursor_reset) {
266 ops->cursor_state.image.height = vc->vc_font.width;
267 ops->cursor_state.image.width = vc->vc_font.height;
274 if (ops->cursor_state.image.dx != dx ||
275 ops->cursor_state.image.dy != dy ||
276 ops->cursor_reset) {
277 ops->cursor_state.image.dx = dx;
278 ops->cursor_state.image.dy = dy;
282 if (ops->cursor_state.hot.x || ops->cursor_state.hot.y ||
283 ops->cursor_reset) {
284 ops->cursor_state.hot.x = cursor.hot.y = 0;
289 vc->vc_cursor_type != ops->p->cursor_shape ||
290 ops->cursor_state.mask == NULL ||
291 ops->cursor_reset) {
306 kfree(ops->cursor_state.mask);
307 ops->cursor_state.mask = mask;
309 ops->p->cursor_shape = vc->vc_cursor_type;
312 switch (ops->p->cursor_shape & CUR_HWMASK) {
347 ops->cursor_state.enable = 0;
352 ops->cursor_state.enable = (use_sw) ? 0 : 1;
357 cursor.image.fg_color = ops->cursor_state.image.fg_color;
358 cursor.image.bg_color = ops->cursor_state.image.bg_color;
359 cursor.image.dx = ops->cursor_state.image.dx;
360 cursor.image.dy = ops->cursor_state.image.dy;
361 cursor.image.height = ops->cursor_state.image.height;
362 cursor.image.width = ops->cursor_state.image.width;
363 cursor.hot.x = ops->cursor_state.hot.x;
364 cursor.hot.y = ops->cursor_state.hot.y;
365 cursor.mask = ops->cursor_state.mask;
366 cursor.enable = ops->cursor_state.enable;
376 ops->cursor_reset = 0;
381 struct fbcon_ops *ops = info->fbcon_par;
382 u32 vxres = GETVXRES(ops->p->scrollmode, info);
386 xoffset = vxres - (info->var.xres + ops->var.yoffset);
387 ops->var.yoffset = ops->var.xoffset;
388 ops->var.xoffset = xoffset;
389 err = fb_pan_display(info, &ops->var);
390 ops->var.xoffset = info->var.xoffset;
391 ops->var.yoffset = info->var.yoffset;
392 ops->var.vmode = info->var.vmode;
396 void fbcon_rotate_cw(struct fbcon_ops *ops)
398 ops->bmove = cw_bmove;
399 ops->clear = cw_clear;
400 ops->putcs = cw_putcs;
401 ops->clear_margins = cw_clear_margins;
402 ops->cursor = cw_cursor;
403 ops->update_start = cw_update_start;