Home
last modified time | relevance | path

Searched refs:x_pos (Results 1 - 25 of 36) sorted by relevance

12

/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/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()
H A Ddcn10_hubp.c1182 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()
H A Ddcn10_hw_sequencer.c3423 int x_pos = pos_cpy.x; in dcn10_set_cursor_position() local
3451 x_pos = (x_pos - x_plane) * pipe_ctx->plane_state->src_rect.height / in dcn10_set_cursor_position()
3456 x_pos = (x_pos - x_plane) * pipe_ctx->plane_state->src_rect.width / in dcn10_set_cursor_position()
3475 x_pos += pipe_ctx->plane_state->src_rect.x; in dcn10_set_cursor_position()
3484 if (x_pos < 0) { in dcn10_set_cursor_position()
3485 pos_cpy.x_hotspot -= x_pos; in dcn10_set_cursor_position()
3486 x_pos = 0; in dcn10_set_cursor_position()
3494 pos_cpy.x = (uint32_t)x_pos; in dcn10_set_cursor_position()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gvt/
H A Dfb_decoder.h127 u32 x_pos; /* in pixels */ member
143 u32 x_pos; /* in pixels */ member
H A Ddmabuf.h44 __u32 x_pos; /* horizontal position of cursor plane */ member
H A Ddmabuf.c316 info->x_pos = c.x_pos; in vgpu_get_plane_info()
413 gvt_dmabuf->x_pos = fb_info->x_pos; in update_fb_info()
H A Dfb_decoder.c382 plane->x_pos = (val & _CURSOR_POS_X_MASK) >> _CURSOR_POS_X_SHIFT; in intel_vgpu_decode_cursor_plane()
497 plane->x_pos = (val & _SPRITE_POS_X_MASK) >> _SPRITE_POS_X_SHIFT; in intel_vgpu_decode_sprite_plane()
/kernel/linux/linux-6.6/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.c305 info->x_pos = c.x_pos; in vgpu_get_plane_info()
396 gvt_dmabuf->x_pos = fb_info->x_pos; in update_fb_info()
H A Ddmabuf.h44 __u32 x_pos; /* horizontal position of cursor plane */ member
H A Dfb_decoder.c383 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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/inc/hw/
H A Dcursor_reg_cache.h26 uint32_t x_pos: 16; member
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/gpu/ipu-v3/
H A Dipu-dp.c114 int ipu_dp_set_window_pos(struct ipu_dp *dp, u16 x_pos, u16 y_pos) in ipu_dp_set_window_pos() argument
119 writel((x_pos << 16) | y_pos, flow->base + DP_FG_POS); in ipu_dp_set_window_pos()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn20/
H A Ddcn20_hubp.c976 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()
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gem/selftests/
H A Di915_gem_client_blt.c360 int x_pos, int y_pos) in tiled_offset()
371 v = linear_x_y_to_ftiled_pos(x_pos, y_pos, stride, 32); in tiled_offset()
356 tiled_offset(const struct intel_gt *gt, u64 v, unsigned int stride, enum client_tiling tiling, int x_pos, int y_pos) tiled_offset() argument
/kernel/linux/linux-5.10/include/uapi/linux/
H A Dvfio.h904 __u32 x_pos; /* horizontal position of cursor plane */ member
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Dvfio.h250 __u32 x_pos; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Dvfio.h250 __u32 x_pos; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
H A Dvfio.h189 __u32 x_pos; member
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn10/
H A Ddcn10_hw_sequencer.c3400 int x_pos = pos_cpy.x; in dcn10_set_cursor_position() local
3420 x_pos = (x_pos - x_plane) * pipe_ctx->plane_state->src_rect.width / in dcn10_set_cursor_position()
3438 x_pos += pipe_ctx->plane_state->src_rect.x; in dcn10_set_cursor_position()
3447 if (x_pos < 0) { in dcn10_set_cursor_position()
3448 pos_cpy.x_hotspot -= x_pos; in dcn10_set_cursor_position()
3449 x_pos = 0; in dcn10_set_cursor_position()
3457 pos_cpy.x = (uint32_t)x_pos; in dcn10_set_cursor_position()
/kernel/linux/linux-5.10/drivers/iio/adc/
H A Dat91-sama5d2_adc.c375 * @x_pos: temporary placeholder for pressure computation
382 u16 x_pos; member
663 st->touch_st.x_pos = at91_adc_touch_pos(st, AT91_SAMA5D2_XPOSR); in at91_adc_touch_x_pos()
664 return st->touch_st.x_pos; in at91_adc_touch_x_pos()
686 pres = rxp * (st->touch_st.x_pos * factor / 1024) * in at91_adc_touch_pressure()

Completed in 34 milliseconds

12