Lines Matching refs:cursor_state
263 if (ops->cursor_state.image.data != src || in bit_cursor()
265 ops->cursor_state.image.data = src; in bit_cursor()
281 if (ops->cursor_state.image.fg_color != fg || in bit_cursor()
282 ops->cursor_state.image.bg_color != bg || in bit_cursor()
284 ops->cursor_state.image.fg_color = fg; in bit_cursor()
285 ops->cursor_state.image.bg_color = bg; in bit_cursor()
289 if ((ops->cursor_state.image.dx != (vc->vc_font.width * vc->vc_x)) || in bit_cursor()
290 (ops->cursor_state.image.dy != (vc->vc_font.height * y)) || in bit_cursor()
292 ops->cursor_state.image.dx = vc->vc_font.width * vc->vc_x; in bit_cursor()
293 ops->cursor_state.image.dy = vc->vc_font.height * y; in bit_cursor()
297 if (ops->cursor_state.image.height != vc->vc_font.height || in bit_cursor()
298 ops->cursor_state.image.width != vc->vc_font.width || in bit_cursor()
300 ops->cursor_state.image.height = vc->vc_font.height; in bit_cursor()
301 ops->cursor_state.image.width = vc->vc_font.width; in bit_cursor()
305 if (ops->cursor_state.hot.x || ops->cursor_state.hot.y || in bit_cursor()
307 ops->cursor_state.hot.x = cursor.hot.y = 0; in bit_cursor()
313 ops->cursor_state.mask == NULL || in bit_cursor()
322 kfree(ops->cursor_state.mask); in bit_cursor()
323 ops->cursor_state.mask = mask; in bit_cursor()
359 ops->cursor_state.enable = 0; in bit_cursor()
364 ops->cursor_state.enable = (use_sw) ? 0 : 1; in bit_cursor()
369 cursor.image.fg_color = ops->cursor_state.image.fg_color; in bit_cursor()
370 cursor.image.bg_color = ops->cursor_state.image.bg_color; in bit_cursor()
371 cursor.image.dx = ops->cursor_state.image.dx; in bit_cursor()
372 cursor.image.dy = ops->cursor_state.image.dy; in bit_cursor()
373 cursor.image.height = ops->cursor_state.image.height; in bit_cursor()
374 cursor.image.width = ops->cursor_state.image.width; in bit_cursor()
375 cursor.hot.x = ops->cursor_state.hot.x; in bit_cursor()
376 cursor.hot.y = ops->cursor_state.hot.y; in bit_cursor()
377 cursor.mask = ops->cursor_state.mask; in bit_cursor()
378 cursor.enable = ops->cursor_state.enable; in bit_cursor()