Home
last modified time | relevance | path

Searched refs:ypos (Results 1 – 12 of 12) sorted by relevance

/drivers/video/console/
Dfbcon.h227 static inline int real_y(struct display *p, int ypos) in real_y() argument
231 ypos += p->yscroll; in real_y()
232 return ypos < rows ? ypos : ypos - rows; in real_y()
Dsticon.c82 static void sticon_putc(struct vc_data *conp, int c, int ypos, int xpos) in sticon_putc() argument
92 if ((p->cursor_x == xpos) && (p->cursor_y == ypos)) { in sticon_putc()
98 sti_putc(sticon_sti, c, ypos, xpos); in sticon_putc()
105 int count, int ypos, int xpos) in sticon_putcs() argument
116 if ((p->cursor_y == ypos) && (xpos <= p->cursor_x) && in sticon_putcs()
124 sti_putc(sticon_sti, scr_readw(s++), ypos, xpos++); in sticon_putcs()
Dnewport_con.c371 static void newport_putc(struct vc_data *vc, int charattr, int ypos, in newport_putc() argument
379 ypos <<= 4; in newport_putc()
381 newport_render_background(xpos, ypos, xpos, ypos, in newport_putc()
392 npregs->set.xystarti = (xpos << 16) | ((ypos + topscan) & 0x3ff); in newport_putc()
401 int count, int ypos, int xpos) in newport_putcs() argument
410 ypos <<= 4; in newport_putcs()
414 newport_render_background(xpos, ypos, in newport_putcs()
415 xpos + ((count - 1) << 3), ypos, in newport_putcs()
433 (xpos << 16) | ((ypos + topscan) & 0x3ff); in newport_putcs()
Dfbcon.c162 static void fbcon_putc(struct vc_data *vc, int c, int ypos, int xpos);
164 int count, int ypos, int xpos);
1280 int count, int ypos, int xpos) in fbcon_putcs() argument
1287 ops->putcs(vc, info, s, count, real_y(p, ypos), xpos, in fbcon_putcs()
1292 static void fbcon_putc(struct vc_data *vc, int c, int ypos, int xpos) in fbcon_putc() argument
1297 fbcon_putcs(vc, &chr, 1, ypos, xpos); in fbcon_putc()
/drivers/video/fbdev/
Dau1200fb.c114 unsigned int ypos; member
196 int ypos; member
702 int xpos, int ypos) in au1200_setlocation() argument
723 if ((ypos + win->w[plane].yres) > panel->Yres) { in au1200_setlocation()
725 ysz = panel->Yres - ypos; /* off by 1 ??? */ in au1200_setlocation()
737 if (ypos < 0) { in au1200_setlocation()
739 ysz = win->w[plane].yres + ypos; in au1200_setlocation()
741 ypos = 0; in au1200_setlocation()
747 win->w[plane].ypos = ypos; in au1200_setlocation()
752 winctrl0 |= (ypos << 10); in au1200_setlocation()
[all …]
Dpxafb.c768 int xpos, ypos, pfor, bpp; in overlayfb_check_var() local
771 ypos = NONSTD_TO_YPOS(var->nonstd); in overlayfb_check_var()
807 (ypos + var->yres > base_var->yres)) in overlayfb_check_var()
844 int xpos, ypos, pfor, bpp, ret; in overlayfb_set_par() local
852 ypos = NONSTD_TO_YPOS(var->nonstd); in overlayfb_set_par()
857 ofb->control[1] = OVLxC2_XPOS(xpos) | OVLxC2_YPOS(ypos); in overlayfb_set_par()
/drivers/media/platform/davinci/
Dvpbe_osd.c902 lconfig->ypos = min(lconfig->ypos, (unsigned)MAX_WIN_SIZE); in try_layer_config()
907 lconfig->ypos &= ~1; in try_layer_config()
1021 osd_write(sd, lconfig->ypos >> 1, OSD_OSDWIN0YP); in _osd_set_layer_config()
1024 osd_write(sd, lconfig->ypos, OSD_OSDWIN0YP); in _osd_set_layer_config()
1077 osd_write(sd, lconfig->ypos >> 1, OSD_VIDWIN0YP); in _osd_set_layer_config()
1081 osd_write(sd, lconfig->ypos >> 1, in _osd_set_layer_config()
1087 osd_write(sd, lconfig->ypos, OSD_VIDWIN0YP); in _osd_set_layer_config()
1091 osd_write(sd, lconfig->ypos, OSD_VIDWIN1YP); in _osd_set_layer_config()
1170 osd_write(sd, lconfig->ypos >> 1, OSD_OSDWIN1YP); in _osd_set_layer_config()
1173 osd_write(sd, lconfig->ypos, OSD_OSDWIN1YP); in _osd_set_layer_config()
[all …]
Dvpbe_display.c540 cfg->ypos = min((unsigned int)top, in vpbe_disp_adj_position()
545 cfg->xpos, cfg->ypos); in vpbe_disp_adj_position()
740 rect->top = cfg->ypos; in vpbe_display_g_selection()
880 cfg->ypos = 0; in vpbe_display_s_fmt()
/drivers/input/touchscreen/
Dmigor_ts.c49 unsigned short xpos, ypos; in migor_ts_isr() local
79 ypos = ((buf[9] & 0x03) << 8 | buf[8]); in migor_ts_isr()
87 input_report_abs(priv->input, ABS_X, ypos); /*X-Y swap*/ in migor_ts_isr()
/drivers/iio/adc/
Dat91_adc.c289 unsigned int x, y, pres, xpos, ypos; in at91_ts_sample() local
311 ypos = reg & xyz_mask; in at91_ts_sample()
312 y = (ypos << MAX_POS_BITS) - ypos; in at91_ts_sample()
332 xpos, xscale, ypos, yscale, z1, z2, pres); in at91_ts_sample()
/drivers/video/fbdev/mmp/hw/
Dmmp_ctrl.c158 writel_relaxed(win->ypos << 16 | win->xpos, &regs->v_start); in overlay_set_win()
164 writel_relaxed(win->ypos << 16 | win->xpos, &regs->g_start); in overlay_set_win()
/drivers/gpu/drm/i915/
Dintel_tv.c1033 int xpos = 0x0, ypos = 0x0; in intel_tv_pre_enable() local
1130 ypos += intel_tv->margin[TV_MARGIN_TOP]; in intel_tv_pre_enable()
1135 I915_WRITE(TV_WIN_POS, (xpos<<16)|ypos); in intel_tv_pre_enable()