Lines Matching refs:ops

241 	struct fbcon_ops *ops = info->fbcon_par;
244 int y = real_y(ops->p, vc->vc_y);
254 ops->cursor_flash = 0;
264 if (ops->cursor_state.image.data != src ||
265 ops->cursor_reset) {
266 ops->cursor_state.image.data = src;
276 kfree(ops->cursor_data);
277 ops->cursor_data = dst;
282 if (ops->cursor_state.image.fg_color != fg ||
283 ops->cursor_state.image.bg_color != bg ||
284 ops->cursor_reset) {
285 ops->cursor_state.image.fg_color = fg;
286 ops->cursor_state.image.bg_color = bg;
290 if ((ops->cursor_state.image.dx != (vc->vc_font.width * vc->vc_x)) ||
291 (ops->cursor_state.image.dy != (vc->vc_font.height * y)) ||
292 ops->cursor_reset) {
293 ops->cursor_state.image.dx = vc->vc_font.width * vc->vc_x;
294 ops->cursor_state.image.dy = vc->vc_font.height * y;
298 if (ops->cursor_state.image.height != vc->vc_font.height ||
299 ops->cursor_state.image.width != vc->vc_font.width ||
300 ops->cursor_reset) {
301 ops->cursor_state.image.height = vc->vc_font.height;
302 ops->cursor_state.image.width = vc->vc_font.width;
306 if (ops->cursor_state.hot.x || ops->cursor_state.hot.y ||
307 ops->cursor_reset) {
308 ops->cursor_state.hot.x = cursor.hot.y = 0;
313 vc->vc_cursor_type != ops->p->cursor_shape ||
314 ops->cursor_state.mask == NULL ||
315 ops->cursor_reset) {
323 kfree(ops->cursor_state.mask);
324 ops->cursor_state.mask = mask;
326 ops->p->cursor_shape = vc->vc_cursor_type;
329 switch (ops->p->cursor_shape & CUR_HWMASK) {
360 ops->cursor_state.enable = 0;
365 ops->cursor_state.enable = (use_sw) ? 0 : 1;
370 cursor.image.fg_color = ops->cursor_state.image.fg_color;
371 cursor.image.bg_color = ops->cursor_state.image.bg_color;
372 cursor.image.dx = ops->cursor_state.image.dx;
373 cursor.image.dy = ops->cursor_state.image.dy;
374 cursor.image.height = ops->cursor_state.image.height;
375 cursor.image.width = ops->cursor_state.image.width;
376 cursor.hot.x = ops->cursor_state.hot.x;
377 cursor.hot.y = ops->cursor_state.hot.y;
378 cursor.mask = ops->cursor_state.mask;
379 cursor.enable = ops->cursor_state.enable;
389 ops->cursor_reset = 0;
394 struct fbcon_ops *ops = info->fbcon_par;
397 err = fb_pan_display(info, &ops->var);
398 ops->var.xoffset = info->var.xoffset;
399 ops->var.yoffset = info->var.yoffset;
400 ops->var.vmode = info->var.vmode;
404 void fbcon_set_bitops(struct fbcon_ops *ops)
406 ops->bmove = bit_bmove;
407 ops->clear = bit_clear;
408 ops->putcs = bit_putcs;
409 ops->clear_margins = bit_clear_margins;
410 ops->cursor = bit_cursor;
411 ops->update_start = bit_update_start;
412 ops->rotate_font = NULL;
414 if (ops->rotate)
415 fbcon_set_rotate(ops);