Searched refs:xorigin (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.10/drivers/gpu/drm/radeon/ |
D | radeon_cursor.c | 148 int xorigin = 0, yorigin = 0; in radeon_cursor_move_locked() local 161 xorigin = min(-x, radeon_crtc->max_cursor_width - 1); in radeon_cursor_move_locked() 214 x += xorigin; in radeon_cursor_move_locked() 219 WREG32(EVERGREEN_CUR_HOT_SPOT + radeon_crtc->crtc_offset, (xorigin << 16) | yorigin); in radeon_cursor_move_locked() 224 WREG32(AVIVO_D1CUR_HOT_SPOT + radeon_crtc->crtc_offset, (xorigin << 16) | yorigin); in radeon_cursor_move_locked() 236 | (xorigin << 16) in radeon_cursor_move_locked()
|
/Linux-v5.10/drivers/gpu/drm/amd/amdgpu/ |
D | dce_v6_0.c | 2226 int xorigin = 0, yorigin = 0; in dce_v6_0_cursor_move_locked() local 2239 xorigin = min(-x, amdgpu_crtc->max_cursor_width - 1); in dce_v6_0_cursor_move_locked() 2248 WREG32(mmCUR_HOT_SPOT + amdgpu_crtc->crtc_offset, (xorigin << 16) | yorigin); in dce_v6_0_cursor_move_locked()
|
D | dce_v8_0.c | 2234 int xorigin = 0, yorigin = 0; in dce_v8_0_cursor_move_locked() local 2245 xorigin = min(-x, amdgpu_crtc->max_cursor_width - 1); in dce_v8_0_cursor_move_locked() 2254 WREG32(mmCUR_HOT_SPOT + amdgpu_crtc->crtc_offset, (xorigin << 16) | yorigin); in dce_v8_0_cursor_move_locked()
|
D | dce_v10_0.c | 2333 int xorigin = 0, yorigin = 0; in dce_v10_0_cursor_move_locked() local 2344 xorigin = min(-x, amdgpu_crtc->max_cursor_width - 1); in dce_v10_0_cursor_move_locked() 2353 WREG32(mmCUR_HOT_SPOT + amdgpu_crtc->crtc_offset, (xorigin << 16) | yorigin); in dce_v10_0_cursor_move_locked()
|
D | dce_v11_0.c | 2412 int xorigin = 0, yorigin = 0; in dce_v11_0_cursor_move_locked() local 2423 xorigin = min(-x, amdgpu_crtc->max_cursor_width - 1); in dce_v11_0_cursor_move_locked() 2432 WREG32(mmCUR_HOT_SPOT + amdgpu_crtc->crtc_offset, (xorigin << 16) | yorigin); in dce_v11_0_cursor_move_locked()
|
/Linux-v5.10/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm.c | 6762 int xorigin = 0, yorigin = 0; in get_cursor_position() local 6788 xorigin = min(-x, amdgpu_crtc->max_cursor_width - 1); in get_cursor_position() 6799 position->x_hotspot = xorigin; in get_cursor_position()
|