Home
last modified time | relevance | path

Searched refs:x_pos (Results 1 – 22 of 22) sorted by relevance

/linux/drivers/gpu/drm/i915/gvt/
H A Dfb_decoder.h129 u32 x_pos; /* in pixels */ member
145 u32 x_pos; /* in pixels */ member
H A Ddmabuf.h44 __u32 x_pos; /* horizontal position of cursor plane */ member
H A Ddmabuf.c306 info->x_pos = c.x_pos; in vgpu_get_plane_info()
397 gvt_dmabuf->x_pos = fb_info->x_pos; in update_fb_info()
H A Dfb_decoder.c389 plane->x_pos = (val & _CURSOR_POS_X_MASK) >> _CURSOR_POS_X_SHIFT; in intel_vgpu_decode_cursor_plane()
504 plane->x_pos = (val & _SPRITE_POS_X_MASK) >> _SPRITE_POS_X_SHIFT; in intel_vgpu_decode_sprite_plane()
/linux/drivers/gpu/drm/amd/display/dc/dpp/dcn10/
H A Ddcn10_dpp.c439 int x_pos = pos->x - param->viewport.x; in dpp1_set_cursor_position() local
443 int src_x_offset = x_pos - pos->x_hotspot; in dpp1_set_cursor_position()
456 src_x_offset = x_pos - (cursor_width - x_hotspot); in dpp1_set_cursor_position()
460 src_x_offset = x_pos - x_hotspot; in dpp1_set_cursor_position()
466 src_x_offset = x_pos - (cursor_width - x_hotspot); in dpp1_set_cursor_position()
/linux/drivers/input/touchscreen/
H A Dfsl-imx25-tcq.c240 unsigned int x_pos = 0; in mx25_tcq_create_event_for_4wire() local
255 x_pos = val; in mx25_tcq_create_event_for_4wire()
278 x_pos /= priv->sample_count; in mx25_tcq_create_event_for_4wire()
280 input_report_abs(priv->idev, ABS_X, x_pos); in mx25_tcq_create_event_for_4wire()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn401/
H A Ddcn401_hwseq.c1124 int x_pos = pos_cpy.x; in dcn401_set_cursor_position() local
1156 x_pos = pipe_ctx->stream->dst.x + x_pos * pipe_ctx->stream->dst.width / in dcn401_set_cursor_position()
1173 x_pos += pipe_ctx->plane_state->src_rect.x; in dcn401_set_cursor_position()
1189 x_pos -= (prev_odm_width); in dcn401_set_cursor_position()
1196 if (x_pos < 0) { in dcn401_set_cursor_position()
1197 pos_cpy.x_hotspot -= x_pos; in dcn401_set_cursor_position()
1200 x_pos = 0; in dcn401_set_cursor_position()
1217 x_pos = pipe_ctx->plane_res.scl_data.recout.x; in dcn401_set_cursor_position()
1224 pos_cpy.x = (uint32_t)x_pos; in dcn401_set_cursor_position()
1230 x_pos = pos_cpy.x - param.recout.x; in dcn401_set_cursor_position()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/hubp/dcn401/
H A Ddcn401_hubp.c675 int x_pos = pos->x - param->recout.x; in hubp401_cursor_set_position() local
677 int rec_x_offset = x_pos - pos->x_hotspot; in hubp401_cursor_set_position()
690 x_pos_viewport = x_pos * param->viewport.width / param->recout.width; in hubp401_cursor_set_position()
693 ASSERT(!cur_en || x_pos == 0); in hubp401_cursor_set_position()
728 CURSOR_X_POSITION, x_pos, in hubp401_cursor_set_position()
740 hubp->pos.position.bits.x_pos = pos->x; in hubp401_cursor_set_position()
/linux/drivers/gpu/drm/amd/display/dc/inc/hw/
H A Dcursor_reg_cache.h26 uint32_t x_pos: 16; member
/linux/drivers/gpu/drm/vkms/
H A Dvkms_formats.c135 int x_pos = get_x_position(frame_info, limit, x); in vkms_compose_row() local
141 plane->pixel_read(src_pixels, &out_pixels[x_pos]); in vkms_compose_row()
/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.c1183 int x_pos = pos->x - param->viewport.x; in hubp1_cursor_set_position() local
1187 int src_x_offset = x_pos - pos->x_hotspot; in hubp1_cursor_set_position()
1213 src_x_offset = x_pos - (cursor_width - x_hotspot); in hubp1_cursor_set_position()
1217 src_x_offset = x_pos - x_hotspot; in hubp1_cursor_set_position()
1223 src_x_offset = x_pos - (cursor_width - x_hotspot); in hubp1_cursor_set_position()
/linux/drivers/gpu/drm/amd/display/dc/hubp/dcn20/
H A Ddcn20_hubp.c979 int x_pos = pos->x - param->viewport.x; in hubp2_cursor_set_position() local
983 int src_x_offset = x_pos - pos->x_hotspot; in hubp2_cursor_set_position()
1009 src_x_offset = x_pos - (cursor_width - x_hotspot); in hubp2_cursor_set_position()
1013 src_x_offset = x_pos - x_hotspot; in hubp2_cursor_set_position()
1019 src_x_offset = x_pos - (cursor_width - x_hotspot); in hubp2_cursor_set_position()
1066 hubp->pos.position.bits.x_pos = pos->x; 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.c3500 int x_pos = pos_cpy.x; in dcn10_set_cursor_position() local
3528 x_pos = (x_pos - x_plane) * pipe_ctx->plane_state->src_rect.height / in dcn10_set_cursor_position()
3533 x_pos = (x_pos - x_plane) * pipe_ctx->plane_state->src_rect.width / in dcn10_set_cursor_position()
3552 x_pos += pipe_ctx->plane_state->src_rect.x; in dcn10_set_cursor_position()
3561 if (x_pos < 0) { in dcn10_set_cursor_position()
3562 pos_cpy.x_hotspot -= x_pos; in dcn10_set_cursor_position()
3563 x_pos = 0; in dcn10_set_cursor_position()
3571 pos_cpy.x = (uint32_t)x_pos; in dcn10_set_cursor_position()
/linux/include/uapi/linux/
H A Dvfio.h824 __u32 x_pos; /* horizontal position of cursor plane */ member
/linux/drivers/iio/adc/
H A Dat91-sama5d2_adc.c559 u16 x_pos; member
1047 st->touch_st.x_pos = at91_adc_touch_pos(st, st->soc_info.platform->layout->XPOSR); in at91_adc_touch_x_pos()
1048 return st->touch_st.x_pos; in at91_adc_touch_x_pos()
1070 pres = rxp * (st->touch_st.x_pos * factor / 1024) * in at91_adc_touch_pressure()
/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.c507 plane->x_pos = 0; in mdpy_query_gfx_plane()
H A Dmbochs.c1119 plane->x_pos = 0; in mbochs_query_gfx_plane()
/linux/drivers/media/platform/nuvoton/
H A Dnpcm-video.c197 __be16 x_pos = cpu_to_be16(x); in npcm_video_ece_prepend_rect_header() local
203 memcpy(addr, &x_pos, 2); in npcm_video_ece_prepend_rect_header()
/linux/arch/m68k/fpsp040/
H A Dbindec.S406 bges x_pos |if pos, don't set bit 0