Home
last modified time | relevance | path

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

/drivers/video/console/
Dfbcon.h225 static inline int real_y(struct display *p, int ypos) in real_y() argument
229 ypos += p->yscroll; in real_y()
230 return ypos < rows ? ypos : ypos - rows; in real_y()
Dsticon.c87 static void sticon_putc(struct vc_data *conp, int c, int ypos, int xpos) in sticon_putc() argument
97 if ((p->cursor_x == xpos) && (p->cursor_y == ypos)) { in sticon_putc()
103 sti_putc(sticon_sti, c, ypos, xpos); in sticon_putc()
110 int count, int ypos, int xpos) in sticon_putcs() argument
121 if ((p->cursor_y == ypos) && (xpos <= p->cursor_x) && in sticon_putcs()
129 sti_putc(sticon_sti, scr_readw(s++), ypos, xpos++); in sticon_putcs()
Dnewport_con.c372 static void newport_putc(struct vc_data *vc, int charattr, int ypos, in newport_putc() argument
380 ypos <<= 4; in newport_putc()
382 newport_render_background(xpos, ypos, xpos, ypos, in newport_putc()
393 npregs->set.xystarti = (xpos << 16) | ((ypos + topscan) & 0x3ff); in newport_putc()
402 int count, int ypos, int xpos) in newport_putcs() argument
411 ypos <<= 4; in newport_putcs()
415 newport_render_background(xpos, ypos, in newport_putcs()
416 xpos + ((count - 1) << 3), ypos, in newport_putcs()
434 (xpos << 16) | ((ypos + topscan) & 0x3ff); in newport_putcs()
Dfbcon.c165 static void fbcon_putc(struct vc_data *vc, int c, int ypos, int xpos);
167 int count, int ypos, int xpos);
1232 int count, int ypos, int xpos) in fbcon_putcs() argument
1239 ops->putcs(vc, info, s, count, real_y(p, ypos), xpos, in fbcon_putcs()
1244 static void fbcon_putc(struct vc_data *vc, int c, int ypos, int xpos) in fbcon_putc() argument
1249 fbcon_putcs(vc, &chr, 1, ypos, xpos); in fbcon_putc()
/drivers/video/
Dau1200fb.c118 unsigned int ypos; member
192 int ypos; member
723 int xpos, int ypos) in au1200_setlocation() argument
744 if ((ypos + win->w[plane].yres) > panel->Yres) { in au1200_setlocation()
746 ysz = panel->Yres - ypos; /* off by 1 ??? */ in au1200_setlocation()
758 if (ypos < 0) { in au1200_setlocation()
760 ysz = win->w[plane].yres + ypos; in au1200_setlocation()
762 ypos = 0; in au1200_setlocation()
768 win->w[plane].ypos = ypos; in au1200_setlocation()
773 winctrl0 |= (ypos << 10); in au1200_setlocation()
[all …]
Dpxafb.c739 int xpos, ypos, pfor, bpp; in overlayfb_check_var() local
742 ypos = NONSTD_TO_XPOS(var->nonstd); in overlayfb_check_var()
778 (ypos + var->yres > base_var->yres)) in overlayfb_check_var()
829 int xpos, ypos, pfor, bpp, ret; in overlayfb_set_par() local
837 ypos = NONSTD_TO_XPOS(var->nonstd); in overlayfb_set_par()
842 ofb->control[1] = OVLxC2_XPOS(xpos) | OVLxC2_YPOS(ypos); in overlayfb_set_par()
/drivers/input/touchscreen/
Dmigor_ts.c50 unsigned short xpos, ypos; in migor_ts_poscheck() local
69 ypos = ((buf[9] & 0x03) << 8 | buf[8]); in migor_ts_poscheck()
75 input_report_abs(priv->input, ABS_X, ypos); /*X-Y swap*/ in migor_ts_poscheck()
/drivers/video/pnx4008/
Dsdum.c332 u32 * frame_buffer, u32 xpos, u32 ypos, u32 w, u32 h) in display_open() argument
342 if ((ypos + h) > DISP_MAX_Y_SIZE) in display_open()
343 h = DISP_MAX_Y_SIZE - ypos; in display_open()
348 k.ymin = ypos; in display_open()
350 k.ymax = ypos + (h - 1); in display_open()
/drivers/gpu/drm/i915/
Dintel_tv.c1283 int xpos = 0x0, ypos = 0x0; in intel_tv_mode_set() local
1307 ypos += tv_priv->margin[TV_MARGIN_TOP]; in intel_tv_mode_set()
1312 I915_WRITE(TV_WIN_POS, (xpos<<16)|ypos); in intel_tv_mode_set()