Home
last modified time | relevance | path

Searched refs:y_pos (Results 1 – 20 of 20) sorted by relevance

/linux/drivers/gpu/drm/vkms/
H A Dvkms_composer.c186 int y_pos; in blend() local
197 y_pos = get_y_pos(plane[i]->frame_info, y); in blend()
199 if (!check_limit(plane[i]->frame_info, y_pos)) in blend()
202 vkms_compose_row(stage_buffer, plane[i], y_pos); in blend()
212 vkms_writeback_row(wb, output_buffer, y_pos); in blend()
/linux/drivers/gpu/drm/i915/gvt/
H A Dfb_decoder.h130 u32 y_pos; /* in lines */ member
146 u32 y_pos; /* in lines */ member
H A Ddmabuf.h45 __u32 y_pos; /* vertical position of cursor plane */ member
H A Ddmabuf.c307 info->y_pos = c.y_pos; in vgpu_get_plane_info()
398 gvt_dmabuf->y_pos = fb_info->y_pos; in update_fb_info()
H A Dfb_decoder.c391 plane->y_pos = (val & _CURSOR_POS_Y_MASK) >> _CURSOR_POS_Y_SHIFT; in intel_vgpu_decode_cursor_plane()
505 plane->y_pos = (val & _SPRITE_POS_Y_MASK) >> _SPRITE_POS_Y_SHIFT; in intel_vgpu_decode_sprite_plane()
/linux/drivers/gpu/drm/amd/display/dc/dpp/dcn10/
H A Ddcn10_dpp.c440 int y_pos = pos->y - param->viewport.y; in dpp1_set_cursor_position() local
444 int src_y_offset = y_pos - pos->y_hotspot; in dpp1_set_cursor_position()
457 src_y_offset = y_pos - y_hotspot; in dpp1_set_cursor_position()
461 src_y_offset = y_pos - (cursor_height - y_hotspot); in dpp1_set_cursor_position()
468 src_y_offset = y_pos - (cursor_height - y_hotspot); in dpp1_set_cursor_position()
/linux/drivers/input/touchscreen/
H A Dfsl-imx25-tcq.c241 unsigned int y_pos = 0; in mx25_tcq_create_event_for_4wire() local
258 y_pos = val; in mx25_tcq_create_event_for_4wire()
279 y_pos /= priv->sample_count; in mx25_tcq_create_event_for_4wire()
281 input_report_abs(priv->idev, ABS_Y, y_pos); in mx25_tcq_create_event_for_4wire()
/linux/drivers/gpu/drm/amd/display/dc/inc/hw/
H A Dcursor_reg_cache.h27 uint32_t y_pos: 16; member
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn401/
H A Ddcn401_hwseq.c1125 int y_pos = pos_cpy.y; in dcn401_set_cursor_position() local
1158 y_pos = pipe_ctx->stream->dst.y + y_pos * pipe_ctx->stream->dst.height / in dcn401_set_cursor_position()
1174 y_pos += pipe_ctx->plane_state->src_rect.y; in dcn401_set_cursor_position()
1203 if (y_pos < 0) { in dcn401_set_cursor_position()
1204 pos_cpy.y_hotspot -= y_pos; in dcn401_set_cursor_position()
1205 y_pos = 0; in dcn401_set_cursor_position()
1225 pos_cpy.y = (uint32_t)y_pos; in dcn401_set_cursor_position()
1231 y_pos = pos_cpy.y - param.recout.y; in dcn401_set_cursor_position()
1234 recout_y_pos = y_pos - pos_cpy.y_hotspot; in dcn401_set_cursor_position()
/linux/drivers/gpu/ipu-v3/
H A Dipu-dp.c115 int ipu_dp_set_window_pos(struct ipu_dp *dp, u16 x_pos, u16 y_pos) in ipu_dp_set_window_pos() argument
120 writel((x_pos << 16) | y_pos, flow->base + DP_FG_POS); in ipu_dp_set_window_pos()
/linux/drivers/gpu/drm/amd/display/dc/hubp/dcn10/
H A Ddcn10_hubp.c1184 int y_pos = pos->y - param->viewport.y; in hubp1_cursor_set_position() local
1188 int src_y_offset = y_pos - pos->y_hotspot; in hubp1_cursor_set_position()
1214 src_y_offset = y_pos - y_hotspot; in hubp1_cursor_set_position()
1218 src_y_offset = y_pos - (cursor_height - y_hotspot); in hubp1_cursor_set_position()
1225 src_y_offset = y_pos - (cursor_height - y_hotspot); in hubp1_cursor_set_position()
/linux/drivers/gpu/drm/amd/display/dc/hubp/dcn401/
H A Ddcn401_hubp.c676 int y_pos = pos->y - param->recout.y; in hubp401_cursor_set_position() local
678 int rec_y_offset = y_pos - pos->y_hotspot; in hubp401_cursor_set_position()
729 CURSOR_Y_POSITION, y_pos); in hubp401_cursor_set_position()
741 hubp->pos.position.bits.y_pos = pos->y; in hubp401_cursor_set_position()
/linux/drivers/gpu/drm/amd/display/dc/hubp/dcn20/
H A Ddcn20_hubp.c980 int y_pos = pos->y - param->viewport.y; in hubp2_cursor_set_position() local
984 int src_y_offset = y_pos - pos->y_hotspot; in hubp2_cursor_set_position()
1010 src_y_offset = y_pos - y_hotspot; in hubp2_cursor_set_position()
1014 src_y_offset = y_pos - (cursor_height - y_hotspot); in hubp2_cursor_set_position()
1021 src_y_offset = y_pos - (cursor_height - y_hotspot); in hubp2_cursor_set_position()
1067 hubp->pos.position.bits.y_pos = pos->y; in hubp2_cursor_set_position()
/linux/drivers/gpu/drm/i915/gem/selftests/
H A Di915_gem_client_blt.c351 int x_pos, int y_pos) in tiled_offset() argument
370 v = linear_x_y_to_ftiled_pos(x_pos, y_pos, stride, 32); in tiled_offset()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn10/
H A Ddcn10_hwseq.c3501 int y_pos = pos_cpy.y; in dcn10_set_cursor_position() local
3530 y_pos = (y_pos - y_plane) * pipe_ctx->plane_state->src_rect.width / in dcn10_set_cursor_position()
3535 y_pos = (y_pos - y_plane) * pipe_ctx->plane_state->src_rect.height / in dcn10_set_cursor_position()
3553 y_pos += pipe_ctx->plane_state->src_rect.y; in dcn10_set_cursor_position()
3566 if (y_pos < 0) { in dcn10_set_cursor_position()
3567 pos_cpy.y_hotspot -= y_pos; in dcn10_set_cursor_position()
3568 y_pos = 0; in dcn10_set_cursor_position()
3572 pos_cpy.y = (uint32_t)y_pos; in dcn10_set_cursor_position()
/linux/include/uapi/linux/
H A Dvfio.h825 __u32 y_pos; /* vertical position of cursor plane*/ member
/linux/include/video/
H A Dimx-ipu-v3.h336 int ipu_dp_set_window_pos(struct ipu_dp *, u16 x_pos, u16 y_pos);
/linux/samples/vfio-mdev/
H A Dmdpy.c508 plane->y_pos = 0; in mdpy_query_gfx_plane()
H A Dmbochs.c1120 plane->y_pos = 0; in mbochs_query_gfx_plane()
/linux/drivers/media/platform/nuvoton/
H A Dnpcm-video.c198 __be16 y_pos = cpu_to_be16(y); in npcm_video_ece_prepend_rect_header() local
204 memcpy(addr + 2, &y_pos, 2); in npcm_video_ece_prepend_rect_header()