Searched refs:BIT_VAL (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/gpu/drm/exynos/ |
H A D | exynos5433_drm_decon.c | 395 #define BIT_VAL(x, e, s) (((x) & ((1 << ((e) - (s) + 1)) - 1)) << (s)) macro 396 #define COORDINATE_X(x) BIT_VAL((x), 23, 12) 397 #define COORDINATE_Y(x) BIT_VAL((x), 11, 0) 443 val = BIT_VAL(pitch - state->crtc.w * cpp, 27, 14) in decon_update_plane() 444 | BIT_VAL(state->crtc.w * cpp, 13, 0); in decon_update_plane() 446 val = BIT_VAL(pitch - state->crtc.w * cpp, 29, 15) in decon_update_plane() 447 | BIT_VAL(state->crtc.w * cpp, 14, 0); in decon_update_plane()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/exynos/ |
H A D | exynos5433_drm_decon.c | 396 #define BIT_VAL(x, e, s) (((x) & ((1 << ((e) - (s) + 1)) - 1)) << (s)) macro 397 #define COORDINATE_X(x) BIT_VAL((x), 23, 12) 398 #define COORDINATE_Y(x) BIT_VAL((x), 11, 0) 444 val = BIT_VAL(pitch - state->crtc.w * cpp, 27, 14) in decon_update_plane() 445 | BIT_VAL(state->crtc.w * cpp, 13, 0); in decon_update_plane() 447 val = BIT_VAL(pitch - state->crtc.w * cpp, 29, 15) in decon_update_plane() 448 | BIT_VAL(state->crtc.w * cpp, 14, 0); in decon_update_plane()
|
Completed in 3 milliseconds