Lines Matching refs:mock
52 struct drm_plane_state *mock; in drm_plane_helper_init() local
62 mock = kunit_kzalloc(test, sizeof(*mock), GFP_KERNEL); in drm_plane_helper_init()
63 KUNIT_ASSERT_NOT_NULL(test, mock); in drm_plane_helper_init()
64 mock->plane = plane; in drm_plane_helper_init()
65 mock->crtc = ZERO_SIZE_PTR; in drm_plane_helper_init()
66 mock->fb = fb; in drm_plane_helper_init()
67 mock->rotation = params->rotation; in drm_plane_helper_init()
68 mock->src_x = params->src.x; in drm_plane_helper_init()
69 mock->src_y = params->src.y; in drm_plane_helper_init()
70 mock->src_w = params->src.w; in drm_plane_helper_init()
71 mock->src_h = params->src.h; in drm_plane_helper_init()
72 mock->crtc_x = params->crtc.x; in drm_plane_helper_init()
73 mock->crtc_y = params->crtc.y; in drm_plane_helper_init()
74 mock->crtc_w = params->crtc.w; in drm_plane_helper_init()
75 mock->crtc_h = params->crtc.h; in drm_plane_helper_init()
77 test->priv = mock; in drm_plane_helper_init()