Searched refs:ST7571_PAGE_HEIGHT (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/gpu/drm/sitronix/ |
H A D | st7571-i2c.c | 74 #define ST7571_PAGE_HEIGHT 8 macro 253 ST7571_SET_PAGE(y / ST7571_PAGE_HEIGHT), in st7571_set_position() 261 u32 npixels = st7571->ncols * round_up(st7571->nlines, ST7571_PAGE_HEIGHT) * st7571->bpp; in st7571_fb_clear_screen() 331 rect->y1 = round_down(rect->y1, ST7571_PAGE_HEIGHT); in st7571_fb_update_rect_monochrome() 332 rect->y2 = min_t(unsigned int, round_up(rect->y2, ST7571_PAGE_HEIGHT), st7571->nlines); in st7571_fb_update_rect_monochrome() 334 for (int y = rect->y1; y < rect->y2; y += ST7571_PAGE_HEIGHT) { in st7571_fb_update_rect_monochrome() 357 rect->y1 = round_down(rect->y1, ST7571_PAGE_HEIGHT); in st7571_fb_update_rect_grayscale() 358 rect->y2 = min_t(unsigned int, round_up(rect->y2, ST7571_PAGE_HEIGHT), st7571->nlines); in st7571_fb_update_rect_grayscale() 374 for (int y = rect->y1; y < rect->y2; y += ST7571_PAGE_HEIGHT) { in st7571_fb_update_rect_grayscale()
|