Searched refs:yorigin (Results 1 – 5 of 5) sorted by relevance
/drivers/gpu/drm/radeon/ |
D | radeon_cursor.c | 146 int xorigin = 0, yorigin = 0; in radeon_cursor_move_locked() local 161 yorigin = min(-y, radeon_crtc->max_cursor_height - 1); in radeon_cursor_move_locked() 213 y += yorigin; in radeon_cursor_move_locked() 217 WREG32(EVERGREEN_CUR_HOT_SPOT + radeon_crtc->crtc_offset, (xorigin << 16) | yorigin); in radeon_cursor_move_locked() 222 WREG32(AVIVO_D1CUR_HOT_SPOT + radeon_crtc->crtc_offset, (xorigin << 16) | yorigin); in radeon_cursor_move_locked() 235 | yorigin)); in radeon_cursor_move_locked() 243 yorigin * 256); in radeon_cursor_move_locked()
|
/drivers/gpu/drm/amd/amdgpu/ |
D | dce_v6_0.c | 1927 int xorigin = 0, yorigin = 0; in dce_v6_0_cursor_move_locked() local 1944 yorigin = min(-y, amdgpu_crtc->max_cursor_height - 1); in dce_v6_0_cursor_move_locked() 1949 WREG32(EVERGREEN_CUR_HOT_SPOT + amdgpu_crtc->crtc_offset, (xorigin << 16) | yorigin); in dce_v6_0_cursor_move_locked()
|
D | dce_v8_0.c | 2456 int xorigin = 0, yorigin = 0; in dce_v8_0_cursor_move_locked() local 2471 yorigin = min(-y, amdgpu_crtc->max_cursor_height - 1); in dce_v8_0_cursor_move_locked() 2476 WREG32(mmCUR_HOT_SPOT + amdgpu_crtc->crtc_offset, (xorigin << 16) | yorigin); in dce_v8_0_cursor_move_locked()
|
D | dce_v11_0.c | 2584 int xorigin = 0, yorigin = 0; in dce_v11_0_cursor_move_locked() local 2599 yorigin = min(-y, amdgpu_crtc->max_cursor_height - 1); in dce_v11_0_cursor_move_locked() 2604 WREG32(mmCUR_HOT_SPOT + amdgpu_crtc->crtc_offset, (xorigin << 16) | yorigin); in dce_v11_0_cursor_move_locked()
|
D | dce_v10_0.c | 2568 int xorigin = 0, yorigin = 0; in dce_v10_0_cursor_move_locked() local 2583 yorigin = min(-y, amdgpu_crtc->max_cursor_height - 1); in dce_v10_0_cursor_move_locked() 2588 WREG32(mmCUR_HOT_SPOT + amdgpu_crtc->crtc_offset, (xorigin << 16) | yorigin); in dce_v10_0_cursor_move_locked()
|