Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/display/dc/hubp/dcn401/
H A Ddcn401_hubp.c738 int dst_x_offset; in hubp401_cursor_set_position() local
767 dst_x_offset = x_pos_viewport - x_hot_viewport * in hubp401_cursor_set_position()
769 dst_x_offset = (dst_x_offset >= 0) ? dst_x_offset : 0; in hubp401_cursor_set_position()
770 dst_x_offset *= param->ref_clk_khz; in hubp401_cursor_set_position()
771 dst_x_offset /= param->pixel_clk_khz; in hubp401_cursor_set_position()
776 dst_x_offset = dc_fixpt_floor(dc_fixpt_div( in hubp401_cursor_set_position()
777 dc_fixpt_from_int(dst_x_offset), in hubp401_cursor_set_position()
799 CURSOR_DST_X_OFFSET, dst_x_offset); in hubp401_cursor_set_position()
807 hubp->pos.dst_offset.bits.dst_x_offset = dst_x_offset; in hubp401_cursor_set_position()
/linux/drivers/media/platform/st/sti/bdisp/
H 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/
H A Ddcn10_hubp.c1212 uint32_t dst_x_offset; in hubp1_cursor_set_position() local
1249 dst_x_offset = (src_x_offset >= 0) ? src_x_offset : 0; in hubp1_cursor_set_position()
1250 dst_x_offset *= param->ref_clk_khz; in hubp1_cursor_set_position()
1251 dst_x_offset /= param->pixel_clk_khz; in hubp1_cursor_set_position()
1256 dst_x_offset = dc_fixpt_floor(dc_fixpt_div( in hubp1_cursor_set_position()
1257 dc_fixpt_from_int(dst_x_offset), in hubp1_cursor_set_position()
1287 CURSOR_DST_X_OFFSET, dst_x_offset); in hubp1_cursor_set_position()
/linux/drivers/gpu/drm/amd/display/dc/hubp/dcn20/
H A Ddcn20_hubp.c1003 uint32_t dst_x_offset; in hubp2_cursor_set_position() local
1040 dst_x_offset = (src_x_offset >= 0) ? src_x_offset : 0; in hubp2_cursor_set_position()
1041 dst_x_offset *= param->ref_clk_khz; in hubp2_cursor_set_position()
1042 dst_x_offset /= param->pixel_clk_khz; in hubp2_cursor_set_position()
1047 dst_x_offset = dc_fixpt_floor(dc_fixpt_div( in hubp2_cursor_set_position()
1048 dc_fixpt_from_int(dst_x_offset), in hubp2_cursor_set_position()
1083 CURSOR_DST_X_OFFSET, dst_x_offset); in hubp2_cursor_set_position()
1093 hubp->pos.dst_offset.bits.dst_x_offset = dst_x_offset; in hubp2_cursor_set_position()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn35/
H A Ddcn35_hwseq.c1698 p->CURSOR0_0_CURSOR_DST_OFFSET__CURSOR_DST_X_OFFSET = hubp->pos.dst_offset.bits.dst_x_offset; in dcn35_update_cursor_offload_pipe()
/linux/drivers/gpu/drm/amd/display/dmub/inc/
H A Ddmub_cmd.h4051 uint32_t dst_x_offset: 13; member
/linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/
H A Ddml2_core_dcn4_calcs.c12234 …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
12236 cursor_dlg_regs->dst_x_offset = (unsigned int) ((dst_x_offset > 0) ? dst_x_offset : 0); in dml2_core_calcs_cursor_dlg_reg()
12242 DML_LOG_VERBOSE("DML_DLG::%s: dst_x_offset=%d\n", __func__, dst_x_offset); in dml2_core_calcs_cursor_dlg_reg()
12243 DML_LOG_VERBOSE("DML_DLG::%s: dst_x_offset=%d (reg)\n", __func__, cursor_dlg_regs->dst_x_offset); in dml2_core_calcs_cursor_dlg_reg()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn401/
H A Ddcn401_hwseq.c3003 p->CURSOR0_0_CURSOR_DST_OFFSET__CURSOR_DST_X_OFFSET = hubp->pos.dst_offset.bits.dst_x_offset; in dcn401_update_cursor_offload_pipe()