Searched refs:x_pos (Results 1 – 14 of 14) sorted by relevance
/drivers/gpu/drm/amd/display/dc/dcn10/ |
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()
|
D | dcn10_hubp.c | 1182 int x_pos = pos->x - param->viewport.x; in hubp1_cursor_set_position() local 1186 int src_x_offset = x_pos - pos->x_hotspot; in hubp1_cursor_set_position() 1212 src_x_offset = x_pos - (cursor_width - x_hotspot); in hubp1_cursor_set_position() 1216 src_x_offset = x_pos - x_hotspot; in hubp1_cursor_set_position() 1222 src_x_offset = x_pos - (cursor_width - x_hotspot); in hubp1_cursor_set_position()
|
D | dcn10_hw_sequencer.c | 3439 int x_pos = pos_cpy.x; in dcn10_set_cursor_position() local 3467 x_pos = (x_pos - x_plane) * pipe_ctx->plane_state->src_rect.height / in dcn10_set_cursor_position() 3472 x_pos = (x_pos - x_plane) * pipe_ctx->plane_state->src_rect.width / in dcn10_set_cursor_position() 3491 x_pos += pipe_ctx->plane_state->src_rect.x; in dcn10_set_cursor_position() 3500 if (x_pos < 0) { in dcn10_set_cursor_position() 3501 pos_cpy.x_hotspot -= x_pos; in dcn10_set_cursor_position() 3502 x_pos = 0; in dcn10_set_cursor_position() 3510 pos_cpy.x = (uint32_t)x_pos; in dcn10_set_cursor_position()
|
/drivers/gpu/drm/i915/gvt/ |
D | fb_decoder.h | 129 u32 x_pos; /* in pixels */ member 145 u32 x_pos; /* in pixels */ member
|
D | dmabuf.c | 302 info->x_pos = c.x_pos; in vgpu_get_plane_info() 393 gvt_dmabuf->x_pos = fb_info->x_pos; in update_fb_info()
|
D | dmabuf.h | 44 __u32 x_pos; /* horizontal position of cursor plane */ member
|
D | fb_decoder.c | 383 plane->x_pos = (val & _CURSOR_POS_X_MASK) >> _CURSOR_POS_X_SHIFT; in intel_vgpu_decode_cursor_plane() 498 plane->x_pos = (val & _SPRITE_POS_X_MASK) >> _SPRITE_POS_X_SHIFT; in intel_vgpu_decode_sprite_plane()
|
/drivers/input/touchscreen/ |
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()
|
/drivers/gpu/drm/amd/display/dc/inc/hw/ |
D | cursor_reg_cache.h | 26 uint32_t x_pos: 16; member
|
/drivers/gpu/ipu-v3/ |
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()
|
/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_hubp.c | 976 int x_pos = pos->x - param->viewport.x; in hubp2_cursor_set_position() local 980 int src_x_offset = x_pos - pos->x_hotspot; in hubp2_cursor_set_position() 1006 src_x_offset = x_pos - (cursor_width - x_hotspot); in hubp2_cursor_set_position() 1010 src_x_offset = x_pos - x_hotspot; in hubp2_cursor_set_position() 1016 src_x_offset = x_pos - (cursor_width - x_hotspot); in hubp2_cursor_set_position() 1063 hubp->pos.position.bits.x_pos = pos->x; in hubp2_cursor_set_position()
|
/drivers/gpu/drm/i915/gem/selftests/ |
D | i915_gem_client_blt.c | 360 int x_pos, int y_pos) in tiled_offset() argument 371 v = linear_x_y_to_ftiled_pos(x_pos, y_pos, stride, 32); in tiled_offset()
|
/drivers/video/fbdev/ |
D | mx3fb.c | 473 int16_t x_pos, int16_t y_pos) in sdc_set_window_pos() argument 478 x_pos += mx3fb->h_start_width; in sdc_set_window_pos() 481 mx3fb_write_reg(mx3fb, (x_pos << 16) | y_pos, SDC_BG_POS); in sdc_set_window_pos()
|
/drivers/iio/adc/ |
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()
|