Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/video/console/
Ddummycon.c52 static void dummycon_putc(struct vc_data *vc, int c, int ypos, int xpos) in dummycon_putc() argument
61 int count, int ypos, int xpos) in dummycon_putcs() argument
86 static void dummycon_putc(struct vc_data *vc, int c, int ypos, int xpos) { } in dummycon_putc() argument
88 int count, int ypos, int xpos) { } in dummycon_putcs() argument
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.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()
Dvgacon.c1419 static void vgacon_putc(struct vc_data *vc, int c, int ypos, int xpos) { } in vgacon_putc() argument
1421 int count, int ypos, int xpos) { } in vgacon_putcs() argument
/Linux-v5.4/drivers/video/fbdev/core/
Dfbcon.h228 static inline int real_y(struct fbcon_display *p, int ypos) in real_y() argument
232 ypos += p->yscroll; in real_y()
233 return ypos < rows ? ypos : ypos - rows; in real_y()
Dfbcon.c189 static void fbcon_putc(struct vc_data *vc, int c, int ypos, int xpos);
191 int count, int ypos, int xpos);
1346 int count, int ypos, int xpos) in fbcon_putcs() argument
1353 ops->putcs(vc, info, s, count, real_y(p, ypos), xpos, in fbcon_putcs()
1358 static void fbcon_putc(struct vc_data *vc, int c, int ypos, int xpos) in fbcon_putc() argument
1363 fbcon_putcs(vc, &chr, 1, ypos, xpos); in fbcon_putc()
/Linux-v5.4/drivers/video/fbdev/
Dau1200fb.c114 unsigned int ypos; member
197 int ypos; member
703 int xpos, int ypos) in au1200_setlocation() argument
724 if ((ypos + win->w[plane].yres) > panel->Yres) { in au1200_setlocation()
726 ysz = panel->Yres - ypos; /* off by 1 ??? */ in au1200_setlocation()
738 if (ypos < 0) { in au1200_setlocation()
740 ysz = win->w[plane].yres + ypos; in au1200_setlocation()
742 ypos = 0; in au1200_setlocation()
748 win->w[plane].ypos = ypos; in au1200_setlocation()
753 winctrl0 |= (ypos << 10); in au1200_setlocation()
[all …]
Dpxafb.c769 int xpos, ypos, pfor, bpp; in overlayfb_check_var() local
772 ypos = NONSTD_TO_YPOS(var->nonstd); in overlayfb_check_var()
808 (ypos + var->yres > base_var->yres)) in overlayfb_check_var()
845 int xpos, ypos, pfor, bpp, ret; in overlayfb_set_par() local
853 ypos = NONSTD_TO_YPOS(var->nonstd); in overlayfb_set_par()
858 ofb->control[1] = OVLxC2_XPOS(xpos) | OVLxC2_YPOS(ypos); in overlayfb_set_par()
/Linux-v5.4/drivers/media/platform/davinci/
Dvpbe_osd.c888 lconfig->ypos = min(lconfig->ypos, (unsigned)MAX_WIN_SIZE); in try_layer_config()
893 lconfig->ypos &= ~1; in try_layer_config()
1007 osd_write(sd, lconfig->ypos >> 1, OSD_OSDWIN0YP); in _osd_set_layer_config()
1010 osd_write(sd, lconfig->ypos, OSD_OSDWIN0YP); in _osd_set_layer_config()
1063 osd_write(sd, lconfig->ypos >> 1, OSD_VIDWIN0YP); in _osd_set_layer_config()
1067 osd_write(sd, lconfig->ypos >> 1, in _osd_set_layer_config()
1073 osd_write(sd, lconfig->ypos, OSD_VIDWIN0YP); in _osd_set_layer_config()
1077 osd_write(sd, lconfig->ypos, OSD_VIDWIN1YP); in _osd_set_layer_config()
1156 osd_write(sd, lconfig->ypos >> 1, OSD_OSDWIN1YP); in _osd_set_layer_config()
1159 osd_write(sd, lconfig->ypos, OSD_OSDWIN1YP); in _osd_set_layer_config()
[all …]
Dvpbe_display.c531 cfg->ypos = min((unsigned int)top, in vpbe_disp_adj_position()
536 cfg->xpos, cfg->ypos); in vpbe_disp_adj_position()
729 rect->top = cfg->ypos; in vpbe_display_g_selection()
861 cfg->ypos = 0; in vpbe_display_s_fmt()
/Linux-v5.4/drivers/input/touchscreen/
Dmigor_ts.c36 unsigned short xpos, ypos; in migor_ts_isr() local
66 ypos = ((buf[9] & 0x03) << 8 | buf[8]); in migor_ts_isr()
74 input_report_abs(priv->input, ABS_X, ypos); /*X-Y swap*/ in migor_ts_isr()
/Linux-v5.4/include/media/davinci/
Dvpbe_osd.h254 unsigned ypos; member
283 unsigned ypos; member
/Linux-v5.4/include/linux/
Dconsole.h55 void (*con_putc)(struct vc_data *vc, int c, int ypos, int xpos);
57 int count, int ypos, int xpos);
/Linux-v5.4/Documentation/input/devices/
Dsentelic.rst118 Byte 3: Y coordinate (ypos[9:2])
120 Bit3~Bit2 => X coordinate (ypos[1:0])
173 Byte 3: Y coordinate (ypos[9:2])
175 Bit3~Bit2 => X coordinate (ypos[1:0])
198 Byte 3: Y coordinate (ypos[9:2])
200 Bit3~Bit2 => X coordinate (ypos[1:0])
265 Byte 3: Y coordinate (ypos[9:2])
267 Bit3~Bit2 => X coordinate (ypos[1:0])
292 Byte 3: Y coordinate (ypos[9:2])
294 Bit3~Bit2 => X coordinate (ypos[1:0])
[all …]
/Linux-v5.4/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
DSchedGui.py150 (xpos, ypos) = self.scroll.GetViewStart()
152 …scale, self.width_virtual / self.scroll_scale, self.height_virtual / self.scroll_scale, xpos, ypos)
/Linux-v5.4/drivers/gpu/drm/i915/display/
Dintel_tv.c1095 int xsize, ysize, xpos, ypos; in intel_tv_get_config() local
1140 ypos = tmp & 0xffff; in intel_tv_get_config()
1154 ypos, mode.vdisplay - ysize - ypos); in intel_tv_get_config()
1432 int xpos, ypos; in intel_tv_pre_enable() local
1543 ypos = tv_conn_state->margins.top; in intel_tv_pre_enable()
1548 I915_WRITE(TV_WIN_POS, (xpos<<16)|ypos); in intel_tv_pre_enable()
/Linux-v5.4/drivers/iio/adc/
Dat91_adc.c293 unsigned int x, y, pres, xpos, ypos; in at91_ts_sample() local
315 ypos = reg & xyz_mask; in at91_ts_sample()
316 y = (ypos << MAX_POS_BITS) - ypos; in at91_ts_sample()
336 xpos, xscale, ypos, yscale, z1, z2, pres); in at91_ts_sample()
/Linux-v5.4/drivers/media/platform/
Dvim2m.c289 u8 *src[2], u8 **dst, int ypos, bool reverse) in copy_two_pixels() argument
407 if (!(ypos & 1)) { in copy_two_pixels()
416 if (!(ypos & 1)) { in copy_two_pixels()
425 if (!(ypos & 1)) { in copy_two_pixels()
434 if (!(ypos & 1)) { in copy_two_pixels()
/Linux-v5.4/include/video/
Dmmp_disp.h75 u16 ypos; member
/Linux-v5.4/drivers/video/fbdev/mmp/hw/
Dmmp_ctrl.c145 writel_relaxed(win->ypos << 16 | win->xpos, &regs->v_start); in overlay_set_win()
151 writel_relaxed(win->ypos << 16 | win->xpos, &regs->g_start); in overlay_set_win()
/Linux-v5.4/include/uapi/drm/
Dvmwgfx_drm.h524 __s32 ypos; member
/Linux-v5.4/drivers/usb/misc/sisusbvga/
Dsisusb_con.c1324 static void sisusbdummycon_putc(struct vc_data *vc, int c, int ypos, in sisusbdummycon_putc() argument
1327 int count, int ypos, int xpos) { } in sisusbdummycon_putcs() argument