Home
last modified time | relevance | path

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

/openbmc/linux/drivers/video/console/
H A 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
H A Dnewport_con.c371 int xpos) in newport_putc() argument
377 xpos <<= 3; in newport_putc()
380 newport_render_background(xpos, ypos, xpos, ypos, in newport_putc()
392 npregs->set.xyendi = ((xpos + 7) << 16); in newport_putc()
400 int count, int ypos, int xpos) in newport_putcs() argument
408 xpos <<= 3; in newport_putcs()
413 newport_render_background(xpos, ypos, in newport_putcs()
414 xpos + ((count - 1) << 3), ypos, in newport_putcs()
425 for (i = 0; i < count; i++, xpos += 8) { in newport_putcs()
432 (xpos << 16) | ((ypos + topscan) & 0x3ff); in newport_putcs()
[all …]
H A Dsticon.c74 static void sticon_putc(struct vc_data *conp, int c, int ypos, int xpos) in sticon_putc() argument
82 sti_putc(sticon_sti, c, ypos, xpos, font_data[conp->vc_num]); in sticon_putc()
86 int count, int ypos, int xpos) in sticon_putcs() argument
95 sti_putc(sticon_sti, scr_readw(s++), ypos, xpos++, in sticon_putcs()
H A Dvgacon.c1161 static void vgacon_putc(struct vc_data *vc, int c, int ypos, int xpos) { } in vgacon_putc() argument
1163 int count, int ypos, int xpos) { } in vgacon_putcs() argument
/openbmc/u-boot/drivers/video/
H A Dconsole_truetype.c198 double xpos, x_shift; in console_truetype_putc_xy() local
214 xpos = frac(VID_TO_PIXEL((double)x)); in console_truetype_putc_xy()
216 xpos += priv->scale * stbtt_GetCodepointKernAdvance(font, in console_truetype_putc_xy()
226 x_shift = xpos - (double)tt_floor(xpos); in console_truetype_putc_xy()
227 xpos += advance * priv->scale; in console_truetype_putc_xy()
228 width_frac = (int)VID_TO_POS(xpos); in console_truetype_putc_xy()
H A Dstb_truetype.h335 float scale, xpos=2; // leave a little padding in case the character extends left
347 float x_shift = xpos - (float) floor(xpos);
355 xpos += (advance * scale);
357 xpos += scale*stbtt_GetCodepointKernAdvance(&font, text[ch],text[ch+1]);
486 … float *xpos, float *ypos, // pointers to current position in screen pixel space
2565 int round_x = STBTT_ifloor((*xpos + b->xoff) + 0.5f); in stbtt_GetBakedQuad()
2578 *xpos += b->xadvance; in stbtt_GetBakedQuad()
3016 float x = (float) STBTT_ifloor((*xpos + b->xoff) + 0.5f); in stbtt_GetPackedQuad()
3023 q->x0 = *xpos + b->xoff; in stbtt_GetPackedQuad()
3025 q->x1 = *xpos + b->xoff2; in stbtt_GetPackedQuad()
[all …]
H A Dcfb_console.c1519 int xpos = x; in video_display_bitmap() local
1526 fill_555rgb_pswap(fb, xpos++, cte.red, in video_display_bitmap()
1605 int xpos = x; in video_display_bitmap() local
1611 fill_555rgb_pswap(fb, xpos++, bmap[2], in video_display_bitmap()
1778 int xpos = x; in plot_logo_or_black() local
1803 fill_555rgb_pswap(dest, xpos++, r, g, b); in plot_logo_or_black()
/openbmc/linux/drivers/video/fbdev/
H A Dau1200fb.c113 unsigned int xpos; member
196 int xpos; member
703 int xpos, int ypos) in au1200_setlocation() argument
718 if ((xpos + win->w[plane].xres) > panel->Xres) { in au1200_setlocation()
720 xsz = panel->Xres - xpos; /* off by 1 ??? */ in au1200_setlocation()
730 if (xpos < 0) { in au1200_setlocation()
732 xsz = win->w[plane].xres + xpos; in au1200_setlocation()
734 xpos = 0; in au1200_setlocation()
747 win->w[plane].xpos = xpos; in au1200_setlocation()
752 winctrl0 |= (xpos << 21); in au1200_setlocation()
[all …]
H A Dpxafb.c767 int xpos, ypos, pfor, bpp; in overlayfb_check_var() local
769 xpos = NONSTD_TO_XPOS(var->nonstd); in overlayfb_check_var()
799 if ((xpos * bpp) % 32) in overlayfb_check_var()
805 if ((xpos + var->xres > base_var->xres) || in overlayfb_check_var()
843 int xpos, ypos, pfor, bpp, ret; in overlayfb_set_par() local
850 xpos = NONSTD_TO_XPOS(var->nonstd); in overlayfb_set_par()
856 ofb->control[1] = OVLxC2_XPOS(xpos) | OVLxC2_YPOS(ypos); in overlayfb_set_par()
/openbmc/linux/drivers/input/touchscreen/
H A Dmigor_ts.c36 unsigned short xpos, ypos; in migor_ts_isr() local
67 xpos = ((buf[11] & 0x03) << 8 | buf[10]); in migor_ts_isr()
75 input_report_abs(priv->input, ABS_Y, xpos); in migor_ts_isr()
/openbmc/u-boot/lib/efi_selftest/
H A Defi_selftest_bitblt.c30 static efi_uintn_t xpos; variable
110 TPL_CALLBACK, notify, (void *)&xpos, in setup()
285 xpos = WIDTH; in execute()
/openbmc/linux/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
H A DSchedGui.py150 (xpos, ypos) = self.scroll.GetViewStart()
151 xpos = self.us_to_px(x) / self.scroll_scale
152 …scale, self.width_virtual / self.scroll_scale, self.height_virtual / self.scroll_scale, xpos, ypos)
/openbmc/linux/include/linux/
H A Dconsole.h53 void (*con_putc)(struct vc_data *vc, int c, int ypos, int xpos);
55 int count, int ypos, int xpos);
/openbmc/linux/Documentation/input/devices/
H A Dsentelic.rst117 Byte 2: X coordinate (xpos[9:2])
119 Byte 4: Bit1~Bit0 => Y coordinate (xpos[1:0])
172 Byte 2: X coordinate (xpos[9:2])
174 Byte 4: Bit1~Bit0 => Y coordinate (xpos[1:0])
197 Byte 2: X coordinate (xpos[9:2])
199 Byte 4: Bit1~Bit0 => Y coordinate (xpos[1:0])
264 Byte 2: X coordinate (xpos[9:2])
266 Byte 4: Bit1~Bit0 => Y coordinate (xpos[1:0])
291 Byte 2: X coordinate (xpos[9:2])
362 Byte 2: X coordinate (xpos[9:2])
[all …]
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_tv.c1104 int xsize, ysize, xpos, ypos; in intel_tv_get_config() local
1148 xpos = tmp >> 16; in intel_tv_get_config()
1161 xpos, mode.hdisplay - xsize - xpos); in intel_tv_get_config()
1454 int xpos, ypos; in intel_tv_pre_enable() local
1563 xpos = conn_state->tv.margins.left; in intel_tv_pre_enable()
1569 intel_de_write(dev_priv, TV_WIN_POS, (xpos << 16) | ypos); in intel_tv_pre_enable()
/openbmc/linux/drivers/iio/adc/
H A Dat91_adc.c312 unsigned int x, y, pres, xpos, ypos; in at91_ts_sample() local
322 xpos = reg & xyz_mask; in at91_ts_sample()
323 x = (xpos << MAX_POS_BITS) - xpos; in at91_ts_sample()
354 xpos, xscale, ypos, yscale, z1, z2, pres); in at91_ts_sample()
/openbmc/linux/include/video/
H A Dmmp_disp.h74 u16 xpos; member
/openbmc/linux/drivers/video/fbdev/mmp/hw/
H A Dmmp_ctrl.c148 writel_relaxed(win->ypos << 16 | win->xpos, in overlay_set_win()
157 writel_relaxed(win->ypos << 16 | win->xpos, in overlay_set_win()
/openbmc/linux/include/uapi/drm/
H A Dvmwgfx_drm.h539 __s32 xpos; member
/openbmc/linux/drivers/video/fbdev/core/
H A Dfbcon.c1275 int count, int ypos, int xpos) in fbcon_putcs() argument
1282 ops->putcs(vc, info, s, count, real_y(p, ypos), xpos, in fbcon_putcs()
1287 static void fbcon_putc(struct vc_data *vc, int c, int ypos, int xpos) in fbcon_putc() argument
1292 fbcon_putcs(vc, &chr, 1, ypos, xpos); in fbcon_putc()