Home
last modified time | relevance | path

Searched refs:SSD16XX_PIXELS_PER_BYTE (Results 1 – 1 of 1) sorted by relevance

/Zephyr-Core-3.7.0/drivers/display/
Dssd16xx.c31 #define SSD16XX_PIXELS_PER_BYTE 8 macro
361 if ((desc->width % SSD16XX_PIXELS_PER_BYTE) != 0U) { in ssd16xx_set_window()
362 LOG_ERR("Buffer width not multiple of %d", SSD16XX_PIXELS_PER_BYTE); in ssd16xx_set_window()
366 if ((x % SSD16XX_PIXELS_PER_BYTE) != 0U) { in ssd16xx_set_window()
367 LOG_ERR("X coordinate not multiple of %d", SSD16XX_PIXELS_PER_BYTE); in ssd16xx_set_window()
374 x_start = (panel_h - 1 - y) / SSD16XX_PIXELS_PER_BYTE; in ssd16xx_set_window()
375 x_end = (panel_h - 1 - (y + desc->height - 1)) / SSD16XX_PIXELS_PER_BYTE; in ssd16xx_set_window()
380 x_start = (panel_h - 1 - x) / SSD16XX_PIXELS_PER_BYTE; in ssd16xx_set_window()
381 x_end = (panel_h - 1 - (x + desc->width - 1)) / SSD16XX_PIXELS_PER_BYTE; in ssd16xx_set_window()
386 x_start = y / SSD16XX_PIXELS_PER_BYTE; in ssd16xx_set_window()
[all …]