Searched refs:pos_x (Results 1 - 22 of 22) sorted by relevance

/linux-4.1.27/drivers/input/touchscreen/
H A Dbu21013_ts.c194 unsigned int pos_x[2], pos_y[2]; bu21013_do_touch_report() local
217 pos_x[finger_down_count] = x; bu21013_do_touch_report()
224 (abs(pos_x[0] - pos_x[1]) < DELTA_MIN || bu21013_do_touch_report()
231 pos_x[i] = data->chip->touch_x_max - pos_x[i]; bu21013_do_touch_report()
236 ABS_MT_POSITION_X, pos_x[i]); bu21013_do_touch_report()
H A Dsur40.c69 __le16 pos_x; /* finger tip position */ member in struct:sur40_blob
268 int pos_x = le16_to_cpu(blob->pos_x); sur40_report_blob() local
284 input_report_abs(input, ABS_MT_POSITION_X, pos_x); sur40_report_blob()
/linux-4.1.27/drivers/input/
H A Dmousedev.c104 int pos_x, pos_y; member in struct:mousedev_client
287 p->dx += packet->x - client->pos_x; mousedev_notify_readers()
289 client->pos_x = packet->x; mousedev_notify_readers()
293 client->pos_x += packet->dx; mousedev_notify_readers()
294 client->pos_x = client->pos_x < 0 ? mousedev_notify_readers()
295 0 : (client->pos_x >= xres ? xres : client->pos_x); mousedev_notify_readers()
554 client->pos_x = xres / 2; mousedev_open()
/linux-4.1.27/drivers/video/fbdev/omap2/dss/
H A Doverlay.c174 if (dw < info->pos_x + outw) { dss_ovl_check()
177 ovl->id, info->pos_x, outw, dw); dss_ovl_check()
H A Ddispc.c82 u16 pos_x, unsigned long *core_clk, bool mem_to_mem);
2092 const struct omap_video_timings *t, u16 pos_x, check_horiz_timing_omap3()
2121 * during nonactive - pos_x period. check_horiz_timing_omap3()
2123 val = div_u64((u64)(nonactive - pos_x) * lclk, pclk); check_horiz_timing_omap3()
2124 DSSDBG("(nonactive - pos_x) * pcd = %llu max(0, DS - 2) * width = %d\n", check_horiz_timing_omap3()
2241 u16 pos_x, unsigned long *core_clk, bool mem_to_mem) dispc_ovl_calc_scaling_24xx()
2282 u16 pos_x, unsigned long *core_clk, bool mem_to_mem) dispc_ovl_calc_scaling_34xx()
2310 pos_x, in_width, in_height, out_width, dispc_ovl_calc_scaling_34xx()
2332 if (check_horiz_timing_omap3(pclk, lclk, mgr_timings, pos_x, width, dispc_ovl_calc_scaling_34xx()
2356 u16 pos_x, unsigned long *core_clk, bool mem_to_mem) dispc_ovl_calc_scaling_44xx()
2398 int *x_predecim, int *y_predecim, u16 pos_x, dispc_ovl_calc_scaling()
2447 x_predecim, y_predecim, &decim_x, &decim_y, pos_x, &core_clk, dispc_ovl_calc_scaling()
2480 int pos_x = oi->pos_x; dispc_ovl_check() local
2504 &five_taps, x_predecim, y_predecim, pos_x, dispc_ovl_check()
2511 u16 screen_width, int pos_x, int pos_y, u16 width, u16 height, dispc_ovl_setup_common()
2558 &five_taps, &x_predecim, &y_predecim, pos_x, dispc_ovl_setup_common()
2638 DSSDBG("%d,%d %dx%d -> %dx%d\n", pos_x, pos_y, in_width, dispc_ovl_setup_common()
2641 dispc_ovl_set_pos(plane, caps, pos_x, pos_y); dispc_ovl_setup_common()
2677 plane, &oi->paddr, &oi->p_uv_addr, oi->screen_width, oi->pos_x, dispc_ovl_setup()
2682 oi->screen_width, oi->pos_x, oi->pos_y, oi->width, oi->height, dispc_ovl_setup()
2697 const int pos_x = 0, pos_y = 0; dispc_wb_setup() local
2712 wi->buf_width, pos_x, pos_y, in_width, in_height, wi->width, dispc_wb_setup()
2091 check_horiz_timing_omap3(unsigned long pclk, unsigned long lclk, const struct omap_video_timings *t, u16 pos_x, u16 width, u16 height, u16 out_width, u16 out_height, bool five_taps) check_horiz_timing_omap3() argument
2236 dispc_ovl_calc_scaling_24xx(unsigned long pclk, unsigned long lclk, const struct omap_video_timings *mgr_timings, u16 width, u16 height, u16 out_width, u16 out_height, enum omap_color_mode color_mode, bool *five_taps, int *x_predecim, int *y_predecim, int *decim_x, int *decim_y, u16 pos_x, unsigned long *core_clk, bool mem_to_mem) dispc_ovl_calc_scaling_24xx() argument
2277 dispc_ovl_calc_scaling_34xx(unsigned long pclk, unsigned long lclk, const struct omap_video_timings *mgr_timings, u16 width, u16 height, u16 out_width, u16 out_height, enum omap_color_mode color_mode, bool *five_taps, int *x_predecim, int *y_predecim, int *decim_x, int *decim_y, u16 pos_x, unsigned long *core_clk, bool mem_to_mem) dispc_ovl_calc_scaling_34xx() argument
2351 dispc_ovl_calc_scaling_44xx(unsigned long pclk, unsigned long lclk, const struct omap_video_timings *mgr_timings, u16 width, u16 height, u16 out_width, u16 out_height, enum omap_color_mode color_mode, bool *five_taps, int *x_predecim, int *y_predecim, int *decim_x, int *decim_y, u16 pos_x, unsigned long *core_clk, bool mem_to_mem) dispc_ovl_calc_scaling_44xx() argument
2393 dispc_ovl_calc_scaling(unsigned long pclk, unsigned long lclk, enum omap_overlay_caps caps, const struct omap_video_timings *mgr_timings, u16 width, u16 height, u16 out_width, u16 out_height, enum omap_color_mode color_mode, bool *five_taps, int *x_predecim, int *y_predecim, u16 pos_x, enum omap_dss_rotation_type rotation_type, bool mem_to_mem) dispc_ovl_calc_scaling() argument
2509 dispc_ovl_setup_common(enum omap_plane plane, enum omap_overlay_caps caps, u32 paddr, u32 p_uv_addr, u16 screen_width, int pos_x, int pos_y, u16 width, u16 height, u16 out_width, u16 out_height, enum omap_color_mode color_mode, u8 rotation, bool mirror, u8 zorder, u8 pre_mult_alpha, u8 global_alpha, enum omap_dss_rotation_type rotation_type, bool replication, const struct omap_video_timings *mgr_timings, bool mem_to_mem) dispc_ovl_setup_common() argument
H A Doverlay-sysfs.c142 info.pos_x, info.pos_y); overlay_position_show()
154 info.pos_x = simple_strtoul(buf, &last, 10); overlay_position_store()
/linux-4.1.27/drivers/video/fbdev/omap2/omapfb/
H A Domapfb-ioctl.c121 r = omapfb_setup_overlay(fbi, ovl, pi->pos_x, pi->pos_y, omapfb_setup_plane()
130 info.pos_x = pi->pos_x; omapfb_setup_plane()
200 pi->pos_x = ovli.pos_x; omapfb_query_plane()
H A Domapfb-main.c917 info.pos_x = posx; omapfb_setup_overlay()
989 posx = info.pos_x; omapfb_apply_changes()
/linux-4.1.27/drivers/video/fbdev/omap/
H A Dlcdc.c293 int pos_x, int pos_y, int width, int height, omap_lcdc_setup_plane()
307 if (plane != 0 || channel_out != 0 || pos_x != 0 || pos_y != 0 || omap_lcdc_setup_plane()
311 "invalid plane params plane %d pos_x %d pos_y %d " omap_lcdc_setup_plane()
312 "w %d h %d\n", plane, pos_x, pos_y, width, height); omap_lcdc_setup_plane()
291 omap_lcdc_setup_plane(int plane, int channel_out, unsigned long offset, int screen_width, int pos_x, int pos_y, int width, int height, int color_mode) omap_lcdc_setup_plane() argument
H A Domapfb.h169 int pos_x, int pos_y, int width,
H A Dhwa742.c528 int pos_x, int pos_y, int width, int height, hwa742_setup_plane()
526 hwa742_setup_plane(int plane, int channel_out, unsigned long offset, int screen_width, int pos_x, int pos_y, int width, int height, int color_mode) hwa742_setup_plane() argument
H A Domapfb_main.c207 plane->info.pos_x, plane->info.pos_y, ctrl_change_mode()
808 if (pi->pos_x + pi->out_width > panel->x_res || omapfb_setup_plane()
/linux-4.1.27/include/uapi/linux/
H A Domapfb.h137 __u32 pos_x; member in struct:omapfb_plane_info
/linux-4.1.27/drivers/input/mouse/
H A Delan_i2c_core.c732 unsigned int pos_x, pos_y; elan_report_contact() local
738 pos_x = ((finger_data[0] & 0xf0) << 4) | elan_report_contact()
746 if (pos_x > data->max_x || pos_y > data->max_y) { elan_report_contact()
749 contact_num, pos_x, pos_y, elan_report_contact()
771 input_report_abs(input, ABS_MT_POSITION_X, pos_x); elan_report_contact()
/linux-4.1.27/drivers/video/fbdev/
H A Dsh_mobile_lcdcfb.c171 * @pos_x: Horizontal overlay position
202 int pos_x; member in struct:sh_mobile_lcdc_overlay
945 (ovl->pos_x << LDBBLOCR_CHLC_SHIFT)); sh_mobile_lcdc_overlay_setup()
1411 return scnprintf(buf, PAGE_SIZE, "%d,%d\n", ovl->pos_x, ovl->pos_y); overlay_position_show()
1421 int pos_x; overlay_position_store() local
1424 pos_x = simple_strtol(buf, &endp, 10); overlay_position_store()
1435 if (ovl->pos_x != pos_x || ovl->pos_y != pos_y) { overlay_position_store()
1436 ovl->pos_x = pos_x; overlay_position_store()
2562 ovl->pos_x = 0; sh_mobile_lcdc_overlay_init()
/linux-4.1.27/drivers/media/platform/exynos4-is/
H A Dfimc-is.h167 u16 pos_x; member in struct:is_af_info
/linux-4.1.27/drivers/gpu/drm/omapdrm/
H A Domap_fb.c158 info->pos_x = win->crtc_x; omap_framebuffer_update_scanout()
H A Domap_plane.c149 DBG("%d,%d %pad %pad", info->pos_x, info->pos_y, omap_plane_pre_apply()
/linux-4.1.27/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_kms.c1587 save->pos_x = vmw_read(vmw_priv, SVGA_REG_DISPLAY_POSITION_X); vmw_kms_save_vga()
1600 save->width = vmw_priv->vga_width - save->pos_x; vmw_kms_save_vga()
1630 vmw_write(vmw_priv, SVGA_REG_DISPLAY_POSITION_X, save->pos_x); vmw_kms_restore_vga()
H A Dvmwgfx_drv.h369 uint32_t pos_x; member in struct:vmw_vga_topology_state
/linux-4.1.27/include/video/
H A Domapdss.h396 u16 pos_x; member in struct:omap_overlay_info
/linux-4.1.27/drivers/media/platform/omap/
H A Domap_vout.c405 info.pos_x = posx; omapvid_setup_overlay()
425 info.color_mode, info.rotation, info.mirror, info.pos_x, omapvid_setup_overlay()

Completed in 558 milliseconds