Lines Matching refs:ops
23 struct fbcon_ops *ops = info->fbcon_par; in fbcon_rotate_font() local
29 if (vc->vc_font.data == ops->fontdata && in fbcon_rotate_font()
30 ops->p->con_rotate == ops->cur_rotate) in fbcon_rotate_font()
33 src = ops->fontdata = vc->vc_font.data; in fbcon_rotate_font()
34 ops->cur_rotate = ops->p->con_rotate; in fbcon_rotate_font()
35 len = (!ops->p->userfont) ? 256 : FNTCHARCNT(src); in fbcon_rotate_font()
40 if (ops->rotate == FB_ROTATE_CW || in fbcon_rotate_font()
41 ops->rotate == FB_ROTATE_CCW) in fbcon_rotate_font()
48 if (ops->fd_size < d_cellsize * len) { in fbcon_rotate_font()
56 ops->fd_size = d_cellsize * len; in fbcon_rotate_font()
57 kfree(ops->fontbuffer); in fbcon_rotate_font()
58 ops->fontbuffer = dst; in fbcon_rotate_font()
61 dst = ops->fontbuffer; in fbcon_rotate_font()
62 memset(dst, 0, ops->fd_size); in fbcon_rotate_font()
64 switch (ops->rotate) { in fbcon_rotate_font()
96 void fbcon_set_rotate(struct fbcon_ops *ops) in fbcon_set_rotate() argument
98 ops->rotate_font = fbcon_rotate_font; in fbcon_set_rotate()
100 switch(ops->rotate) { in fbcon_set_rotate()
102 fbcon_rotate_cw(ops); in fbcon_set_rotate()
105 fbcon_rotate_ud(ops); in fbcon_set_rotate()
108 fbcon_rotate_ccw(ops); in fbcon_set_rotate()