Home
last modified time | relevance | path

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

/drivers/video/console/
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()
122 (p->cursor_x < (xpos + count))) { in sticon_putcs()
129 sti_putc(sticon_sti, scr_readw(s++), ypos, xpos++); in sticon_putcs()
Dnewport_con.c369 int xpos) in newport_putc() argument
375 xpos <<= 3; in newport_putc()
378 newport_render_background(xpos, ypos, xpos, ypos, in newport_putc()
389 npregs->set.xystarti = (xpos << 16) | ((ypos + topscan) & 0x3ff); in newport_putc()
390 npregs->set.xyendi = ((xpos + 7) << 16); in newport_putc()
398 int count, int ypos, int xpos) in newport_putcs() argument
406 xpos <<= 3; in newport_putcs()
411 newport_render_background(xpos, ypos, in newport_putcs()
412 xpos + ((count - 1) << 3), ypos, in newport_putcs()
423 for (i = 0; i < count; i++, xpos += 8) { in newport_putcs()
[all …]
Dvgacon.c523 static void vgacon_set_cursor_size(int xpos, int from, int to) in vgacon_set_cursor_size() argument
529 if (xpos < 16) in vgacon_set_cursor_size()
Dfbcon.c154 static void fbcon_putc(struct vc_data *vc, int c, int ypos, int xpos);
156 int count, int ypos, int xpos);
1226 int count, int ypos, int xpos) in fbcon_putcs() argument
1233 ops->putcs(vc, info, s, count, real_y(p, ypos), xpos, in fbcon_putcs()
1238 static void fbcon_putc(struct vc_data *vc, int c, int ypos, int xpos) in fbcon_putc() argument
1243 fbcon_putcs(vc, &chr, 1, ypos, xpos); in fbcon_putc()
/drivers/video/fbdev/
Dau1200fb.c112 unsigned int xpos; member
194 int xpos; member
701 int xpos, int ypos) in au1200_setlocation() argument
716 if ((xpos + win->w[plane].xres) > panel->Xres) { in au1200_setlocation()
718 xsz = panel->Xres - xpos; /* off by 1 ??? */ in au1200_setlocation()
728 if (xpos < 0) { in au1200_setlocation()
730 xsz = win->w[plane].xres + xpos; in au1200_setlocation()
731 fb_offset += (((0 - xpos) * winbpp(lcd->window[plane].winctrl1))/8); in au1200_setlocation()
732 xpos = 0; in au1200_setlocation()
745 win->w[plane].xpos = xpos; in au1200_setlocation()
[all …]
Dpxafb.c765 int xpos, ypos, pfor, bpp; in overlayfb_check_var() local
767 xpos = NONSTD_TO_XPOS(var->nonstd); in overlayfb_check_var()
797 if ((xpos * bpp) % 32) in overlayfb_check_var()
803 if ((xpos + var->xres > base_var->xres) || in overlayfb_check_var()
841 int xpos, ypos, pfor, bpp, ret; in overlayfb_set_par() local
848 xpos = NONSTD_TO_XPOS(var->nonstd); in overlayfb_set_par()
854 ofb->control[1] = OVLxC2_XPOS(xpos) | OVLxC2_YPOS(ypos); in overlayfb_set_par()
/drivers/input/touchscreen/
Dmigor_ts.c49 unsigned short xpos, ypos; in migor_ts_isr() local
80 xpos = ((buf[11] & 0x03) << 8 | buf[10]); in migor_ts_isr()
88 input_report_abs(priv->input, ABS_Y, xpos); in migor_ts_isr()
/drivers/media/platform/davinci/
Dvpbe_osd.c901 lconfig->xpos = min(lconfig->xpos, (unsigned)MAX_WIN_SIZE); in try_layer_config()
1018 osd_write(sd, lconfig->xpos, OSD_OSDWIN0XP); in _osd_set_layer_config()
1035 osd_write(sd, lconfig->xpos, OSD_VIDWIN0XP); in _osd_set_layer_config()
1055 osd_write(sd, lconfig->xpos, OSD_VIDWIN1XP); in _osd_set_layer_config()
1167 osd_write(sd, lconfig->xpos, OSD_OSDWIN1XP); in _osd_set_layer_config()
1184 osd_write(sd, lconfig->xpos, OSD_VIDWIN1XP); in _osd_set_layer_config()
1203 osd_write(sd, lconfig->xpos, OSD_VIDWIN0XP); in _osd_set_layer_config()
1398 cfg->xpos = 0; in osd_init_layer()
Dvpbe_display.c540 cfg->xpos = min((unsigned int)left, in vpbe_disp_adj_position()
547 cfg->xpos, cfg->ypos); in vpbe_disp_adj_position()
742 rect->left = cfg->xpos; in vpbe_display_g_crop()
874 cfg->xpos = 0; in vpbe_display_s_fmt()
/drivers/iio/adc/
Dat91_adc.c291 unsigned int x, y, pres, xpos, ypos; in at91_ts_sample() local
302 xpos = reg & xyz_mask; in at91_ts_sample()
303 x = (xpos << MAX_POS_BITS) - xpos; in at91_ts_sample()
334 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.c1034 int xpos = 0x0, ypos = 0x0; in intel_tv_pre_enable() local
1130 xpos += intel_tv->margin[TV_MARGIN_LEFT]; in intel_tv_pre_enable()
1136 I915_WRITE(TV_WIN_POS, (xpos<<16)|ypos); in intel_tv_pre_enable()