Lines Matching +full:0 +full:xa5
18 #if (CONFIG_DRM_PANIC_BACKGROUND_COLOR == 0 && \
19 CONFIG_DRM_PANIC_FOREGROUND_COLOR == 0xffffff)
23 KUNIT_EXPECT_TRUE(test, (b == 0 || b == 0xff)); in drm_panic_check_color_byte()
76 return 0; in drm_test_panic_init()
81 * Set the whole buffer to 0xa5, and then check that all pixels have been
93 fb_size = params->width * params->height * sb->format->cpp[0]; in drm_test_panic_screen_user_map()
98 memset(fb, 0xa5, fb_size); in drm_test_panic_screen_user_map()
100 iosys_map_set_vaddr(&sb->map[0], fb); in drm_test_panic_screen_user_map()
103 sb->pitch[0] = params->width * sb->format->cpp[0]; in drm_test_panic_screen_user_map()
107 for (i = 0; i < fb_size; i++) in drm_test_panic_screen_user_map()
115 * Set the whole buffer to 0xa5, and then check that all pixels have been
127 fb_size = params->width * params->height * sb->format->cpp[0]; in drm_test_panic_screen_user_page()
133 for (p = 0; p < npages; p++) { in drm_test_panic_screen_user_page()
141 memset(vaddr, 0xa5, PAGE_SIZE); in drm_test_panic_screen_user_page()
147 sb->pitch[0] = params->width * sb->format->cpp[0]; in drm_test_panic_screen_user_page()
151 for (p = 0; p < npages; p++) { in drm_test_panic_screen_user_page()
155 for (i = 0; i < bytes_in_page; i++) in drm_test_panic_screen_user_page()
162 for (p = 0; p < npages; p++) in drm_test_panic_screen_user_page()