Lines Matching refs:ST7789V_TEST

107 #define ST7789V_TEST(val, func)			\  macro
427 ST7789V_TEST(ret, st7789v_write_command(ctx, MIPI_DCS_EXIT_SLEEP_MODE)); in st7789v_prepare()
432 ST7789V_TEST(ret, st7789v_write_command(ctx, in st7789v_prepare()
434 ST7789V_TEST(ret, st7789v_write_data(ctx, 0)); in st7789v_prepare()
436 ST7789V_TEST(ret, st7789v_write_command(ctx, in st7789v_prepare()
438 ST7789V_TEST(ret, st7789v_write_data(ctx, pixel_fmt)); in st7789v_prepare()
440 ST7789V_TEST(ret, st7789v_write_command(ctx, ST7789V_PORCTRL_CMD)); in st7789v_prepare()
441 ST7789V_TEST(ret, st7789v_write_data(ctx, 0xc)); in st7789v_prepare()
442 ST7789V_TEST(ret, st7789v_write_data(ctx, 0xc)); in st7789v_prepare()
443 ST7789V_TEST(ret, st7789v_write_data(ctx, 0)); in st7789v_prepare()
444 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_PORCTRL_IDLE_BP(3) | in st7789v_prepare()
446 ST7789V_TEST(ret, st7789v_write_data(ctx, in st7789v_prepare()
450 ST7789V_TEST(ret, st7789v_write_command(ctx, ST7789V_GCTRL_CMD)); in st7789v_prepare()
451 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_GCTRL_VGLS(5) | in st7789v_prepare()
454 ST7789V_TEST(ret, st7789v_write_command(ctx, ST7789V_VCOMS_CMD)); in st7789v_prepare()
455 ST7789V_TEST(ret, st7789v_write_data(ctx, 0x2b)); in st7789v_prepare()
457 ST7789V_TEST(ret, st7789v_write_command(ctx, ST7789V_LCMCTRL_CMD)); in st7789v_prepare()
458 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_LCMCTRL_XMH | in st7789v_prepare()
462 ST7789V_TEST(ret, st7789v_write_command(ctx, ST7789V_VDVVRHEN_CMD)); in st7789v_prepare()
463 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_VDVVRHEN_CMDEN)); in st7789v_prepare()
465 ST7789V_TEST(ret, st7789v_write_command(ctx, ST7789V_VRHS_CMD)); in st7789v_prepare()
466 ST7789V_TEST(ret, st7789v_write_data(ctx, 0xf)); in st7789v_prepare()
468 ST7789V_TEST(ret, st7789v_write_command(ctx, ST7789V_VDVS_CMD)); in st7789v_prepare()
469 ST7789V_TEST(ret, st7789v_write_data(ctx, 0x20)); in st7789v_prepare()
471 ST7789V_TEST(ret, st7789v_write_command(ctx, ST7789V_FRCTRL2_CMD)); in st7789v_prepare()
472 ST7789V_TEST(ret, st7789v_write_data(ctx, 0xf)); in st7789v_prepare()
474 ST7789V_TEST(ret, st7789v_write_command(ctx, ST7789V_PWCTRL1_CMD)); in st7789v_prepare()
475 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_PWCTRL1_MAGIC)); in st7789v_prepare()
476 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_PWCTRL1_AVDD(2) | in st7789v_prepare()
480 ST7789V_TEST(ret, st7789v_write_command(ctx, ST7789V_PVGAMCTRL_CMD)); in st7789v_prepare()
481 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_PVGAMCTRL_VP63(0xd))); in st7789v_prepare()
482 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_PVGAMCTRL_VP1(0xca))); in st7789v_prepare()
483 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_PVGAMCTRL_VP2(0xe))); in st7789v_prepare()
484 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_PVGAMCTRL_VP4(8))); in st7789v_prepare()
485 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_PVGAMCTRL_VP6(9))); in st7789v_prepare()
486 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_PVGAMCTRL_VP13(7))); in st7789v_prepare()
487 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_PVGAMCTRL_VP20(0x2d))); in st7789v_prepare()
488 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_PVGAMCTRL_VP27(0xb) | in st7789v_prepare()
490 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_PVGAMCTRL_VP43(0x3d))); in st7789v_prepare()
491 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_PVGAMCTRL_JP1(3) | in st7789v_prepare()
493 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_PVGAMCTRL_VP57(0xa))); in st7789v_prepare()
494 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_PVGAMCTRL_VP59(0xa))); in st7789v_prepare()
495 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_PVGAMCTRL_VP61(0x1b))); in st7789v_prepare()
496 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_PVGAMCTRL_VP62(0x28))); in st7789v_prepare()
498 ST7789V_TEST(ret, st7789v_write_command(ctx, ST7789V_NVGAMCTRL_CMD)); in st7789v_prepare()
499 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_NVGAMCTRL_VN63(0xd))); in st7789v_prepare()
500 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_NVGAMCTRL_VN1(0xca))); in st7789v_prepare()
501 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_NVGAMCTRL_VN2(0xf))); in st7789v_prepare()
502 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_NVGAMCTRL_VN4(8))); in st7789v_prepare()
503 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_NVGAMCTRL_VN6(8))); in st7789v_prepare()
504 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_NVGAMCTRL_VN13(7))); in st7789v_prepare()
505 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_NVGAMCTRL_VN20(0x2e))); in st7789v_prepare()
506 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_NVGAMCTRL_VN27(0xc) | in st7789v_prepare()
508 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_NVGAMCTRL_VN43(0x40))); in st7789v_prepare()
509 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_NVGAMCTRL_JN1(3) | in st7789v_prepare()
511 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_NVGAMCTRL_VN57(9))); in st7789v_prepare()
512 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_NVGAMCTRL_VN59(0xb))); in st7789v_prepare()
513 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_NVGAMCTRL_VN61(0x1b))); in st7789v_prepare()
514 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_NVGAMCTRL_VN62(0x28))); in st7789v_prepare()
517 ST7789V_TEST(ret, st7789v_write_command(ctx, in st7789v_prepare()
520 ST7789V_TEST(ret, st7789v_write_command(ctx, in st7789v_prepare()
537 ST7789V_TEST(ret, st7789v_write_command( in st7789v_prepare()
540 ST7789V_TEST(ret, st7789v_write_command( in st7789v_prepare()
542 ST7789V_TEST(ret, st7789v_write_data(ctx, area_data[0])); in st7789v_prepare()
543 ST7789V_TEST(ret, st7789v_write_data(ctx, area_data[1])); in st7789v_prepare()
544 ST7789V_TEST(ret, st7789v_write_data(ctx, area_data[2])); in st7789v_prepare()
545 ST7789V_TEST(ret, st7789v_write_data(ctx, area_data[3])); in st7789v_prepare()
547 ST7789V_TEST(ret, st7789v_write_command( in st7789v_prepare()
549 ST7789V_TEST(ret, st7789v_write_data(ctx, area_data[0])); in st7789v_prepare()
550 ST7789V_TEST(ret, st7789v_write_data(ctx, area_data[1])); in st7789v_prepare()
551 ST7789V_TEST(ret, st7789v_write_data(ctx, area_data[2])); in st7789v_prepare()
552 ST7789V_TEST(ret, st7789v_write_data(ctx, area_data[3])); in st7789v_prepare()
555 ST7789V_TEST(ret, st7789v_write_command(ctx, ST7789V_RAMCTRL_CMD)); in st7789v_prepare()
556 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_RAMCTRL_DM_RGB | in st7789v_prepare()
558 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_RAMCTRL_EPF(3) | in st7789v_prepare()
561 ST7789V_TEST(ret, st7789v_write_command(ctx, ST7789V_RGBCTRL_CMD)); in st7789v_prepare()
562 ST7789V_TEST(ret, st7789v_write_data(ctx, mode | in st7789v_prepare()
565 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_RGBCTRL_VBP(8))); in st7789v_prepare()
566 ST7789V_TEST(ret, st7789v_write_data(ctx, ST7789V_RGBCTRL_HBP(20))); in st7789v_prepare()
583 ST7789V_TEST(ret, st7789v_write_command(ctx, MIPI_DCS_SET_DISPLAY_OFF)); in st7789v_disable()
593 ST7789V_TEST(ret, st7789v_write_command(ctx, MIPI_DCS_ENTER_SLEEP_MODE)); in st7789v_unprepare()