Searched refs:pos_cpy (Results 1 – 4 of 4) sorted by relevance
1089 …st_hotspot_between_slices_for_2x_magnify(uint32_t cursor_width, struct dc_cursor_position *pos_cpy) in adjust_hotspot_between_slices_for_2x_magnify() argument1092 pos_cpy->x_hotspot /= 2; in adjust_hotspot_between_slices_for_2x_magnify()1093 pos_cpy->x_hotspot += 1; in adjust_hotspot_between_slices_for_2x_magnify()1095 pos_cpy->x_hotspot /= 2; in adjust_hotspot_between_slices_for_2x_magnify()1096 pos_cpy->x_hotspot += 2; in adjust_hotspot_between_slices_for_2x_magnify()1102 struct dc_cursor_position pos_cpy = pipe_ctx->stream->cursor_position; in dcn401_set_cursor_position() local1124 int x_pos = pos_cpy.x; in dcn401_set_cursor_position()1125 int y_pos = pos_cpy.y; in dcn401_set_cursor_position()1172 if (pos_cpy.translate_by_source) { in dcn401_set_cursor_position()1197 pos_cpy.x_hotspot -= x_pos; in dcn401_set_cursor_position()[all …]
83 …t_hotspot_between_slices_for_2x_magnify(uint32_t cursor_width, struct dc_cursor_position *pos_cpy);
3481 struct dc_cursor_position pos_cpy = pipe_ctx->stream->cursor_position; in dcn10_set_cursor_position() local3500 int x_pos = pos_cpy.x; in dcn10_set_cursor_position()3501 int y_pos = pos_cpy.y; in dcn10_set_cursor_position()3551 if (pos_cpy.translate_by_source) { in dcn10_set_cursor_position()3562 pos_cpy.x_hotspot -= x_pos; in dcn10_set_cursor_position()3567 pos_cpy.y_hotspot -= y_pos; in dcn10_set_cursor_position()3571 pos_cpy.x = (uint32_t)x_pos; in dcn10_set_cursor_position()3572 pos_cpy.y = (uint32_t)y_pos; in dcn10_set_cursor_position()3576 pos_cpy.enable = false; in dcn10_set_cursor_position()3578 if (pos_cpy.enable && dcn10_can_pipe_disable_cursor(pipe_ctx)) in dcn10_set_cursor_position()[all …]
3081 struct dc_cursor_position pos_cpy = pipe_ctx->stream->cursor_position; in dce110_set_cursor_position() local3106 if (pos_cpy.translate_by_source) { in dce110_set_cursor_position()3107 pos_cpy.x += pipe_ctx->plane_state->src_rect.x; in dce110_set_cursor_position()3108 pos_cpy.y += pipe_ctx->plane_state->src_rect.y; in dce110_set_cursor_position()3113 pos_cpy.enable = false; in dce110_set_cursor_position()3116 pos_cpy.enable = false; in dce110_set_cursor_position()3119 ipp->funcs->ipp_cursor_set_position(ipp, &pos_cpy, ¶m); in dce110_set_cursor_position()3121 mi->funcs->set_cursor_position(mi, &pos_cpy, ¶m); in dce110_set_cursor_position()