Lines Matching refs:ops

51 	struct fbcon_ops *ops = info->fbcon_par;
53 u32 vxres = GETVXRES(ops->p->scrollmode, info);
68 struct fbcon_ops *ops = info->fbcon_par;
71 u32 vxres = GETVXRES(ops->p->scrollmode, 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->scrollmode, info);
130 if (!ops->fontbuffer)
208 struct fbcon_ops *ops = info->fbcon_par;
211 int y = real_y(ops->p, vc->vc_y);
215 u32 vxres = GETVXRES(ops->p->scrollmode, info);
217 if (!ops->fontbuffer)
225 ops->cursor_flash = 0;
233 src = ops->fontbuffer + ((c & charmask) * (w * vc->vc_font.width));
235 if (ops->cursor_state.image.data != src ||
236 ops->cursor_reset) {
237 ops->cursor_state.image.data = src;
247 kfree(ops->cursor_data);
248 ops->cursor_data = dst;
253 if (ops->cursor_state.image.fg_color != fg ||
254 ops->cursor_state.image.bg_color != bg ||
255 ops->cursor_reset) {
256 ops->cursor_state.image.fg_color = fg;
257 ops->cursor_state.image.bg_color = bg;
261 if (ops->cursor_state.image.height != vc->vc_font.width ||
262 ops->cursor_state.image.width != vc->vc_font.height ||
263 ops->cursor_reset) {
264 ops->cursor_state.image.height = vc->vc_font.width;
265 ops->cursor_state.image.width = vc->vc_font.height;
272 if (ops->cursor_state.image.dx != dx ||
273 ops->cursor_state.image.dy != dy ||
274 ops->cursor_reset) {
275 ops->cursor_state.image.dx = dx;
276 ops->cursor_state.image.dy = dy;
280 if (ops->cursor_state.hot.x || ops->cursor_state.hot.y ||
281 ops->cursor_reset) {
282 ops->cursor_state.hot.x = cursor.hot.y = 0;
287 vc->vc_cursor_type != ops->p->cursor_shape ||
288 ops->cursor_state.mask == NULL ||
289 ops->cursor_reset) {
304 kfree(ops->cursor_state.mask);
305 ops->cursor_state.mask = mask;
307 ops->p->cursor_shape = vc->vc_cursor_type;
310 switch (ops->p->cursor_shape & CUR_HWMASK) {
345 ops->cursor_state.enable = 0;
350 ops->cursor_state.enable = (use_sw) ? 0 : 1;
355 cursor.image.fg_color = ops->cursor_state.image.fg_color;
356 cursor.image.bg_color = ops->cursor_state.image.bg_color;
357 cursor.image.dx = ops->cursor_state.image.dx;
358 cursor.image.dy = ops->cursor_state.image.dy;
359 cursor.image.height = ops->cursor_state.image.height;
360 cursor.image.width = ops->cursor_state.image.width;
361 cursor.hot.x = ops->cursor_state.hot.x;
362 cursor.hot.y = ops->cursor_state.hot.y;
363 cursor.mask = ops->cursor_state.mask;
364 cursor.enable = ops->cursor_state.enable;
374 ops->cursor_reset = 0;
379 struct fbcon_ops *ops = info->fbcon_par;
380 u32 vxres = GETVXRES(ops->p->scrollmode, info);
384 xoffset = vxres - (info->var.xres + ops->var.yoffset);
385 ops->var.yoffset = ops->var.xoffset;
386 ops->var.xoffset = xoffset;
387 err = fb_pan_display(info, &ops->var);
388 ops->var.xoffset = info->var.xoffset;
389 ops->var.yoffset = info->var.yoffset;
390 ops->var.vmode = info->var.vmode;
394 void fbcon_rotate_cw(struct fbcon_ops *ops)
396 ops->bmove = cw_bmove;
397 ops->clear = cw_clear;
398 ops->putcs = cw_putcs;
399 ops->clear_margins = cw_clear_margins;
400 ops->cursor = cw_cursor;
401 ops->update_start = cw_update_start;