Lines Matching refs:x_res
47 uint16_t x_res; member
123 const size_t fb_index = (fb_y / 8U) * fb->x_res + fb_x; in draw_char_vtmono()
130 if (fb_x < 0 || fb->x_res <= fb_x || fb_y < 0 || fb->y_res <= fb_y) { in draw_char_vtmono()
215 const size_t index = ((y / 8) * fb->x_res); in draw_point()
218 if (x < 0 || x >= fb->x_res) { in draw_point()
284 if ((x + fptr->width > fb->x_res) && wrap) { in draw_text()
345 if (x >= fb->x_res || y >= fb->y_res) { in cfb_invert_area()
352 if (x > fb->x_res) { in cfb_invert_area()
353 x = fb->x_res; in cfb_invert_area()
360 if (x + width > fb->x_res) { in cfb_invert_area()
361 width = fb->x_res - x; in cfb_invert_area()
375 const size_t index = ((j / 8) * fb->x_res) + i; in cfb_invert_area()
428 for (size_t i = 0; i < fb->x_res * fb->y_res / 8U; i++) { in cfb_invert()
475 .width = fb->x_res, in cfb_framebuffer_finalize()
477 .pitch = fb->x_res, in cfb_framebuffer_finalize()
499 return fb->x_res; in cfb_get_display_parameter()
509 return fb->x_res; in cfb_get_display_parameter()
511 return fb->x_res / fb->ppt; in cfb_get_display_parameter()
577 fb->x_res = cfg.x_resolution; in cfb_framebuffer_init()
588 fb->size = fb->x_res * fb->y_res / fb->ppt; in cfb_framebuffer_init()