/linux/drivers/gpu/drm/i915/gvt/ |
H A D | fb_decoder.h | 129 u32 x_pos; /* in pixels */ member 145 u32 x_pos; /* in pixels */ member
|
H A D | dmabuf.h | 44 __u32 x_pos; /* horizontal position of cursor plane */ member
|
H A D | dmabuf.c | 306 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 D | fb_decoder.c | 389 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 D | dcn10_dpp.c | 439 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 D | fsl-imx25-tcq.c | 240 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 D | dcn401_hwseq.c | 1124 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 D | dcn401_hubp.c | 675 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 D | cursor_reg_cache.h | 26 uint32_t x_pos: 16; member
|
/linux/drivers/gpu/drm/vkms/ |
H A D | vkms_formats.c | 135 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 D | ipu-dp.c | 115 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 D | dcn10_hubp.c | 1183 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 D | dcn20_hubp.c | 979 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 D | i915_gem_client_blt.c | 351 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 D | dcn10_hwseq.c | 3500 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 D | vfio.h | 824 __u32 x_pos; /* horizontal position of cursor plane */ member
|
/linux/drivers/iio/adc/ |
H A D | at91-sama5d2_adc.c | 559 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 D | imx-ipu-v3.h | 336 int ipu_dp_set_window_pos(struct ipu_dp *, u16 x_pos, u16 y_pos);
|
/linux/samples/vfio-mdev/ |
H A D | mdpy.c | 507 plane->x_pos = 0; in mdpy_query_gfx_plane()
|
H A D | mbochs.c | 1119 plane->x_pos = 0; in mbochs_query_gfx_plane()
|
/linux/drivers/media/platform/nuvoton/ |
H A D | npcm-video.c | 197 __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 D | bindec.S | 406 bges x_pos |if pos, don't set bit 0
|