Searched refs:DISPLAY_BITS_PER_PIXEL (Results 1 – 7 of 7) sorted by relevance
29 #define BPP ((DISPLAY_BITS_PER_PIXEL(PIXEL_FORMAT)) / BITS_PER_BYTE)
58 #define DISPLAY_BITS_PER_PIXEL(fmt) \ macro
468 if (DISPLAY_BITS_PER_PIXEL(pixfmt) == 32) { in mipi_dbi_lcdic_write_display()470 } else if (DISPLAY_BITS_PER_PIXEL(pixfmt) == 16) { in mipi_dbi_lcdic_write_display()472 } else if (DISPLAY_BITS_PER_PIXEL(pixfmt) == 8) { in mipi_dbi_lcdic_write_display()
341 if (desc->width * desc->height * (DISPLAY_BITS_PER_PIXEL(pixfmt) / BITS_PER_BYTE) != in mipi_dbi_smartbond_write_display()
260 (DISPLAY_BITS_PER_PIXEL(DT_INST_PROP(n, pixel_format)) / BITS_PER_BYTE)
250 dev_data->pixel_bytes = DISPLAY_BITS_PER_PIXEL(pixel_format) / BITS_PER_BYTE; in mcux_elcdif_set_pixel_format()
48 (DISPLAY_BITS_PER_PIXEL(DT_INST_PROP(inst, pixel_format)) / BITS_PER_BYTE)