Home
last modified time | relevance | path

Searched refs:dst_x_offset (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/gpu/drm/amd/display/dc/hubp/dcn401/
A Ddcn401_hubp.c679 int dst_x_offset; in hubp401_cursor_set_position() local
708 dst_x_offset = x_pos_viewport - x_hot_viewport * in hubp401_cursor_set_position()
710 dst_x_offset = (dst_x_offset >= 0) ? dst_x_offset : 0; in hubp401_cursor_set_position()
711 dst_x_offset *= param->ref_clk_khz; in hubp401_cursor_set_position()
712 dst_x_offset /= param->pixel_clk_khz; in hubp401_cursor_set_position()
717 dst_x_offset = dc_fixpt_floor(dc_fixpt_div( in hubp401_cursor_set_position()
718 dc_fixpt_from_int(dst_x_offset), in hubp401_cursor_set_position()
736 CURSOR_DST_X_OFFSET, dst_x_offset); in hubp401_cursor_set_position()
744 hubp->pos.dst_offset.bits.dst_x_offset = dst_x_offset; in hubp401_cursor_set_position()
/linux/drivers/media/platform/st/sti/bdisp/
A Dbdisp-hw.c767 int dst_x_offset; in bdisp_hw_build_node() local
781 dst_x_offset = (src_x_offset * dst_width) / ctx->src.crop.width; in bdisp_hw_build_node()
782 dst_rect.left += dst_x_offset; in bdisp_hw_build_node()
843 dst_x_offset /= 2; in bdisp_hw_build_node()
849 node->txy |= cfg->hflip ? (dst_width - dst_x_offset - 1) : in bdisp_hw_build_node()
/linux/drivers/gpu/drm/amd/display/dc/hubp/dcn10/
A Ddcn10_hubp.c1191 uint32_t dst_x_offset; in hubp1_cursor_set_position() local
1228 dst_x_offset = (src_x_offset >= 0) ? src_x_offset : 0; in hubp1_cursor_set_position()
1229 dst_x_offset *= param->ref_clk_khz; in hubp1_cursor_set_position()
1230 dst_x_offset /= param->pixel_clk_khz; in hubp1_cursor_set_position()
1235 dst_x_offset = dc_fixpt_floor(dc_fixpt_div( in hubp1_cursor_set_position()
1236 dc_fixpt_from_int(dst_x_offset), in hubp1_cursor_set_position()
1266 CURSOR_DST_X_OFFSET, dst_x_offset); in hubp1_cursor_set_position()
/linux/drivers/gpu/drm/amd/display/dc/inc/hw/
A Dcursor_reg_cache.h40 uint32_t dst_x_offset: 13; member
/linux/drivers/gpu/drm/amd/display/dc/hubp/dcn20/
A Ddcn20_hubp.c987 uint32_t dst_x_offset; in hubp2_cursor_set_position() local
1024 dst_x_offset = (src_x_offset >= 0) ? src_x_offset : 0; in hubp2_cursor_set_position()
1025 dst_x_offset *= param->ref_clk_khz; in hubp2_cursor_set_position()
1026 dst_x_offset /= param->pixel_clk_khz; in hubp2_cursor_set_position()
1031 dst_x_offset = dc_fixpt_floor(dc_fixpt_div( in hubp2_cursor_set_position()
1032 dc_fixpt_from_int(dst_x_offset), in hubp2_cursor_set_position()
1062 CURSOR_DST_X_OFFSET, dst_x_offset); in hubp2_cursor_set_position()
1070 hubp->pos.dst_offset.bits.dst_x_offset = dst_x_offset; in hubp2_cursor_set_position()
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/inc/
A Ddml_top_dchub_registers.h94 uint32_t dst_x_offset; // CURSOR0_DST_X_OFFSET member
/linux/drivers/gpu/drm/exynos/
A Dexynos_mixer.c610 unsigned int dst_x_offset, dst_y_offset; in mixer_graph_buffer() local
647 dst_x_offset = state->crtc.x; in mixer_graph_buffer()
672 val = MXR_GRP_DXY_DX(dst_x_offset); in mixer_graph_buffer()
/linux/drivers/gpu/drm/amd/display/dmub/inc/
A Ddmub_cmd.h3134 uint32_t dst_x_offset: 13; member
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/
A Ddml2_core_shared.c11448 …int dst_x_offset = (int)((p->cursor_x_position + (p->cursor_stereo_en == 0 ? 0 : math_max2(p->curs… in dml2_core_shared_cursor_dlg_reg() local
11450 cursor_dlg_regs->dst_x_offset = (unsigned int)((dst_x_offset > 0) ? dst_x_offset : 0); in dml2_core_shared_cursor_dlg_reg()
11456 dml2_printf("DML_DLG::%s: dst_x_offset=%d\n", __func__, dst_x_offset); in dml2_core_shared_cursor_dlg_reg()
11457 dml2_printf("DML_DLG::%s: dst_x_offset=%d (reg)\n", __func__, cursor_dlg_regs->dst_x_offset); in dml2_core_shared_cursor_dlg_reg()
A Ddml2_core_dcn4_calcs.c11760 …int dst_x_offset = (int) ((p->cursor_x_position + (p->cursor_stereo_en == 0 ? 0 : math_max2(p->cur… in dml2_core_calcs_cursor_dlg_reg() local
11762 cursor_dlg_regs->dst_x_offset = (unsigned int) ((dst_x_offset > 0) ? dst_x_offset : 0); in dml2_core_calcs_cursor_dlg_reg()
11768 dml2_printf("DML_DLG::%s: dst_x_offset=%d\n", __func__, dst_x_offset); in dml2_core_calcs_cursor_dlg_reg()
11769 dml2_printf("DML_DLG::%s: dst_x_offset=%d (reg)\n", __func__, cursor_dlg_regs->dst_x_offset); in dml2_core_calcs_cursor_dlg_reg()

Completed in 81 milliseconds