Home
last modified time | relevance | path

Searched refs:base_width (Results 1 – 4 of 4) sorted by relevance

/openbmc/u-boot/board/gdsys/common/
H A Dosd.c63 unsigned int base_width; variable
292 res = osd_write_videomem(screen, y * base_width + x, buf, len); in osd_print()
313 base_width = ((features & 0x3f00) >> 8) + 1; in osd_probe()
315 bufsize = base_width * base_height; in osd_probe()
323 (screen > 3) ? 1 : 0, version/100, version%100, base_width, in osd_probe()
327 screen, version/100, version%100, base_width, base_height); in osd_probe()
410 u16 buffer[base_width]; in osd_write()
433 if (wp - buffer > base_width) in osd_write()
439 y * base_width + x + k * (wp - buffer); in osd_write()
/openbmc/linux/drivers/media/usb/stk1160/
H A Dstk1160-v4l.c376 unsigned int base_width, base_height; in stk1160_try_fmt() local
381 base_width = 720; in stk1160_try_fmt()
386 base_width / 20, base_width); in stk1160_try_fmt()
395 f->fmt.pix.width = base_width; in stk1160_try_fmt()
400 if (width < base_width && width > base_width / 2) { in stk1160_try_fmt()
411 col_n = div_round_integer(width, base_width - width); in stk1160_try_fmt()
415 f->fmt.pix.width = (base_width * col_n) / (col_n + 1); in stk1160_try_fmt()
418 } else if (width <= base_width / 2) { in stk1160_try_fmt()
430 col_n = div_round_integer(base_width, width) - 1; in stk1160_try_fmt()
434 f->fmt.pix.width = base_width / (col_n + 1); in stk1160_try_fmt()
/openbmc/u-boot/drivers/video/
H A Dihs_video_out.c75 uint base_width; member
123 info->width = priv->base_width; in ihs_video_out_get_info()
142 offset = row * priv->base_width + col + rep * (buflen / 2); in ihs_video_out_set_mem()
146 uint max_size = priv->base_width * priv->base_height; in ihs_video_out_set_mem()
287 priv->base_width = ((features & BASE_WIDTH_MASK) in ihs_video_out_probe()
/openbmc/qemu/ui/
H A Dgtk.c310 geo.base_width = geo.width_inc; in gd_update_geometry_hints()
317 geo.base_width += padding.left + padding.right; in gd_update_geometry_hints()