Home
last modified time | relevance | path

Searched refs:x_hotspot (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/gpu/drm/amd/display/dc/dpp/dcn10/
H A Ddcn10_dpp.c446 int x_hotspot = pos->x_hotspot; in dpp1_set_cursor_position() local
448 int src_x_offset = x_pos - pos->x_hotspot; in dpp1_set_cursor_position()
457 swap(x_hotspot, y_hotspot); in dpp1_set_cursor_position()
461 src_x_offset = x_pos - (cursor_width - x_hotspot); in dpp1_set_cursor_position()
465 src_x_offset = x_pos - x_hotspot; in dpp1_set_cursor_position()
471 src_x_offset = x_pos - (cursor_width - x_hotspot); in dpp1_set_cursor_position()
/linux/drivers/gpu/drm/amd/display/dc/hubp/dcn10/
H A Ddcn10_hubp.c1206 int x_hotspot = pos->x_hotspot; in hubp1_cursor_set_position() local
1208 int src_x_offset = x_pos - pos->x_hotspot; in hubp1_cursor_set_position()
1230 swap(x_hotspot, y_hotspot); in hubp1_cursor_set_position()
1234 src_x_offset = x_pos - (cursor_width - x_hotspot); in hubp1_cursor_set_position()
1238 src_x_offset = x_pos - x_hotspot; in hubp1_cursor_set_position()
1244 src_x_offset = x_pos - (cursor_width - x_hotspot); in hubp1_cursor_set_position()
1283 CURSOR_HOT_SPOT_X, pos->x_hotspot, in hubp1_cursor_set_position()
/linux/drivers/gpu/drm/amd/display/dc/hubp/dcn20/
H A Ddcn20_hubp.c997 int x_hotspot = pos->x_hotspot; in hubp2_cursor_set_position() local
999 int src_x_offset = x_pos - pos->x_hotspot; in hubp2_cursor_set_position()
1021 swap(x_hotspot, y_hotspot); in hubp2_cursor_set_position()
1025 src_x_offset = x_pos - (cursor_width - x_hotspot); in hubp2_cursor_set_position()
1029 src_x_offset = x_pos - x_hotspot; in hubp2_cursor_set_position()
1035 src_x_offset = x_pos - (cursor_width - x_hotspot); in hubp2_cursor_set_position()
1079 CURSOR_HOT_SPOT_X, pos->x_hotspot, in hubp2_cursor_set_position()
1091 hubp->pos.hot_spot.bits.x_hot = pos->x_hotspot; in hubp2_cursor_set_position()
/linux/drivers/gpu/drm/amd/display/dc/hubp/dcn401/
H A Ddcn401_hubp.c736 int rec_x_offset = pos->x - pos->x_hotspot; in hubp401_cursor_set_position()
750 x_hot_viewport = pos->x_hotspot * param->viewport.width / param->recout.width; in hubp401_cursor_set_position()
753 ASSERT(!cur_en || pos->x_hotspot == 0); in hubp401_cursor_set_position()
795 CURSOR_HOT_SPOT_X, pos->x_hotspot, in hubp401_cursor_set_position()
805 hubp->pos.hot_spot.bits.x_hot = pos->x_hotspot; in hubp401_cursor_set_position()
/linux/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_ipp.c60 CURSOR_HOT_SPOT_X, position->x_hotspot, in dce_ipp_cursor_set_position()
/linux/drivers/gpu/drm/amd/display/dc/
H A Ddc_hw_types.h476 uint32_t x_hotspot; member
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn401/
H A Ddcn401_hwseq.c1021 pos_cpy->x_hotspot /= 2; in adjust_hotspot_between_slices_for_2x_magnify()
1022 pos_cpy->x_hotspot += 1; in adjust_hotspot_between_slices_for_2x_magnify()
1024 pos_cpy->x_hotspot /= 2; in adjust_hotspot_between_slices_for_2x_magnify()
1025 pos_cpy->x_hotspot += 2; in adjust_hotspot_between_slices_for_2x_magnify()
1178 pos_cpy.x_hotspot -= x_pos; in dcn401_set_cursor_position()
1199 pos_cpy.x_hotspot -= bottom_pipe_x_pos; in dcn401_set_cursor_position()
1214 recout_x_pos = x_pos - pos_cpy.x_hotspot; in dcn401_set_cursor_position()
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_plane.c1339 position->x_hotspot = xorigin; in amdgpu_dm_plane_get_cursor_position()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn10/
H A Ddcn10_hwseq.c3739 pos_cpy.x_hotspot -= x_pos; in dcn10_set_cursor_position()