Lines Matching refs:ST7789V_TEST
108 #define ST7789V_TEST(val, func) \ macro
208 ST7789V_TEST(ret, st7789v_write_command(ctx, MIPI_DCS_EXIT_SLEEP_MODE)); in st7789v_prepare()
213 ST7789V_TEST(ret, st7789v_write_command(ctx, in st7789v_prepare()
215 ST7789V_TEST(ret, st7789v_write_data(ctx, 0)); in st7789v_prepare()
217 ST7789V_TEST(ret, st7789v_write_command(ctx, in st7789v_prepare()
219 ST7789V_TEST(ret, st7789v_write_data(ctx, in st7789v_prepare()
223 ST7789V_TEST(ret, st7789v_write_command(ctx, ST7789V_PORCTRL_CMD)); in st7789v_prepare()
224 ST7789V_TEST(ret, st7789v_write_data(ctx, 0xc)); in st7789v_prepare()
225 ST7789V_TEST(ret, st7789v_write_data(ctx, 0xc)); in st7789v_prepare()
226 ST7789V_TEST(ret, st7789v_write_data(ctx, 0)); in st7789v_prepare()
227 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_PORCTRL_IDLE_BP(3) | in st7789v_prepare()
229 ST7789V_TEST(ret, st7789v_write_data(ctx, in st7789v_prepare()
233 ST7789V_TEST(ret, st7789v_write_command(ctx, ST7789V_GCTRL_CMD)); in st7789v_prepare()
234 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_GCTRL_VGLS(5) | in st7789v_prepare()
237 ST7789V_TEST(ret, st7789v_write_command(ctx, ST7789V_VCOMS_CMD)); in st7789v_prepare()
238 ST7789V_TEST(ret, st7789v_write_data(ctx, 0x2b)); in st7789v_prepare()
240 ST7789V_TEST(ret, st7789v_write_command(ctx, ST7789V_LCMCTRL_CMD)); in st7789v_prepare()
241 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_LCMCTRL_XMH | in st7789v_prepare()
245 ST7789V_TEST(ret, st7789v_write_command(ctx, ST7789V_VDVVRHEN_CMD)); in st7789v_prepare()
246 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_VDVVRHEN_CMDEN)); in st7789v_prepare()
248 ST7789V_TEST(ret, st7789v_write_command(ctx, ST7789V_VRHS_CMD)); in st7789v_prepare()
249 ST7789V_TEST(ret, st7789v_write_data(ctx, 0xf)); in st7789v_prepare()
251 ST7789V_TEST(ret, st7789v_write_command(ctx, ST7789V_VDVS_CMD)); in st7789v_prepare()
252 ST7789V_TEST(ret, st7789v_write_data(ctx, 0x20)); in st7789v_prepare()
254 ST7789V_TEST(ret, st7789v_write_command(ctx, ST7789V_FRCTRL2_CMD)); in st7789v_prepare()
255 ST7789V_TEST(ret, st7789v_write_data(ctx, 0xf)); in st7789v_prepare()
257 ST7789V_TEST(ret, st7789v_write_command(ctx, ST7789V_PWCTRL1_CMD)); in st7789v_prepare()
258 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_PWCTRL1_MAGIC)); in st7789v_prepare()
259 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_PWCTRL1_AVDD(2) | in st7789v_prepare()
263 ST7789V_TEST(ret, st7789v_write_command(ctx, ST7789V_PVGAMCTRL_CMD)); in st7789v_prepare()
264 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_PVGAMCTRL_VP63(0xd))); in st7789v_prepare()
265 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_PVGAMCTRL_VP1(0xca))); in st7789v_prepare()
266 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_PVGAMCTRL_VP2(0xe))); in st7789v_prepare()
267 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_PVGAMCTRL_VP4(8))); in st7789v_prepare()
268 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_PVGAMCTRL_VP6(9))); in st7789v_prepare()
269 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_PVGAMCTRL_VP13(7))); in st7789v_prepare()
270 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_PVGAMCTRL_VP20(0x2d))); in st7789v_prepare()
271 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_PVGAMCTRL_VP27(0xb) | in st7789v_prepare()
273 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_PVGAMCTRL_VP43(0x3d))); in st7789v_prepare()
274 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_PVGAMCTRL_JP1(3) | in st7789v_prepare()
276 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_PVGAMCTRL_VP57(0xa))); in st7789v_prepare()
277 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_PVGAMCTRL_VP59(0xa))); in st7789v_prepare()
278 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_PVGAMCTRL_VP61(0x1b))); in st7789v_prepare()
279 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_PVGAMCTRL_VP62(0x28))); in st7789v_prepare()
281 ST7789V_TEST(ret, st7789v_write_command(ctx, ST7789V_NVGAMCTRL_CMD)); in st7789v_prepare()
282 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_NVGAMCTRL_VN63(0xd))); in st7789v_prepare()
283 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_NVGAMCTRL_VN1(0xca))); in st7789v_prepare()
284 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_NVGAMCTRL_VN2(0xf))); in st7789v_prepare()
285 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_NVGAMCTRL_VN4(8))); in st7789v_prepare()
286 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_NVGAMCTRL_VN6(8))); in st7789v_prepare()
287 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_NVGAMCTRL_VN13(7))); in st7789v_prepare()
288 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_NVGAMCTRL_VN20(0x2e))); in st7789v_prepare()
289 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_NVGAMCTRL_VN27(0xc) | in st7789v_prepare()
291 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_NVGAMCTRL_VN43(0x40))); in st7789v_prepare()
292 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_NVGAMCTRL_JN1(3) | in st7789v_prepare()
294 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_NVGAMCTRL_VN57(9))); in st7789v_prepare()
295 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_NVGAMCTRL_VN59(0xb))); in st7789v_prepare()
296 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_NVGAMCTRL_VN61(0x1b))); in st7789v_prepare()
297 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_NVGAMCTRL_VN62(0x28))); in st7789v_prepare()
299 ST7789V_TEST(ret, st7789v_write_command(ctx, MIPI_DCS_ENTER_INVERT_MODE)); in st7789v_prepare()
301 ST7789V_TEST(ret, st7789v_write_command(ctx, ST7789V_RAMCTRL_CMD)); in st7789v_prepare()
302 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_RAMCTRL_DM_RGB | in st7789v_prepare()
304 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_RAMCTRL_EPF(3) | in st7789v_prepare()
307 ST7789V_TEST(ret, st7789v_write_command(ctx, ST7789V_RGBCTRL_CMD)); in st7789v_prepare()
308 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_RGBCTRL_WO | in st7789v_prepare()
313 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_RGBCTRL_VBP(8))); in st7789v_prepare()
314 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_RGBCTRL_HBP(20))); in st7789v_prepare()
331 ST7789V_TEST(ret, st7789v_write_command(ctx, MIPI_DCS_SET_DISPLAY_OFF)); in st7789v_disable()
341 ST7789V_TEST(ret, st7789v_write_command(ctx, MIPI_DCS_ENTER_SLEEP_MODE)); in st7789v_unprepare()