Home
last modified time | relevance | path

Searched refs:sf_width (Results 1 – 21 of 21) sorted by relevance

/openbsd-src/sys/arch/sparc64/dev/
H A Dfb.c140 sf->sf_width = getpropint(node, "width", def_width); in fb_setsize()
144 roundup(sf->sf_width, sf->sf_depth) * sf->sf_depth / 8; in fb_setsize()
153 if (sf->sf_linebytes < (sf->sf_width * sf->sf_depth) / 8) in fb_setsize()
203 ri->ri_width = sf->sf_width; in fbwscons_init()
237 wl <= 0 || wl > sf->sf_width - cols * fw) in fbwscons_init()
262 if (fw != 12 || sf->sf_width < 12 * 80) in fbwscons_init()
H A Dgfb.c118 wdf->width = sc->sc_sunfb.sf_width; in gfb_ioctl()
H A Dvgafb.c162 (sc->sc_sunfb.sf_depth / 8) * sc->sc_sunfb.sf_width; in vgafbattach()
212 wdf->width = sc->sc_sunfb.sf_width; in vgafb_ioctl()
H A Difb.c418 sc->sc_sunfb.sf_width = (bus_space_read_4(sc->sc_mem_t, sc->sc_reg_h, in ifbattach()
428 printf(", %dx%d\n", sc->sc_sunfb.sf_width, sc->sc_sunfb.sf_height); in ifbattach()
466 ifb_rop(sc, 0, 0, 0, 0, sc->sc_sunfb.sf_width, in ifbattach()
561 wdf->width = sc->sc_sunfb.sf_width; in ifb_ioctl()
H A Dmachfb.c291 (sc->sc_sunfb.sf_depth / 8) * sc->sc_sunfb.sf_width; in machfb_attach()
296 printf(", %dx%d\n", sc->sc_sunfb.sf_width, sc->sc_sunfb.sf_height); in machfb_attach()
348 wdf->width = sc->sc_sunfb.sf_width; in machfb_ioctl()
H A Dradeonfb.c206 printf(", %dx%d\n", sc->sc_sunfb.sf_width, sc->sc_sunfb.sf_height); in radeonfb_attach()
269 wdf->width = sc->sc_sunfb.sf_width; in radeonfb_ioctl()
H A Dgfxp.c220 printf(", %dx%d\n", sc->sc_sunfb.sf_width, sc->sc_sunfb.sf_height); in gfxp_attach()
275 wdf->width = sc->sc_sunfb.sf_width; in gfxp_ioctl()
H A Draptor.c218 printf(", %dx%d\n", sc->sc_sunfb.sf_width, sc->sc_sunfb.sf_height); in raptor_attach()
258 wdf->width = sc->sc_sunfb.sf_width; in raptor_ioctl()
H A Dcreator.c178 printf(", %dx%d\n", sc->sc_sunfb.sf_width, sc->sc_sunfb.sf_height); in creator_attach()
251 wdf->width = sc->sc_sunfb.sf_width; in creator_ioctl()
/openbsd-src/sys/dev/sbus/
H A Dagten.c198 sc->sc_sunfb.sf_width = getpropint(node, "ffb_width", 1152); in agtenattach()
201 roundup(sc->sc_sunfb.sf_width, sc->sc_sunfb.sf_depth) * in agtenattach()
207 sc->sc_sunfb.sf_width, sc->sc_sunfb.sf_height, in agtenattach()
237 wdf->width = sc->sc_sunfb.sf_width; in agten_ioctl()
H A Dcgtwelve.c197 sc->sc_sunfb.sf_linebytes = sc->sc_sunfb.sf_width / 8; in cgtwelveattach()
201 sc->sc_highres = sc->sc_sunfb.sf_width == CG12_WIDTH_HR; in cgtwelveattach()
237 sc->sc_sunfb.sf_width, sc->sc_sunfb.sf_height); in cgtwelveattach()
280 wdf->width = sc->sc_sunfb.sf_width; in cgtwelve_ioctl()
H A Dtvtwo.c258 sc->sc_sunfb.sf_width = width; in tvtwoattach()
263 printf(", %dx%d\n", sc->sc_sunfb.sf_width, sc->sc_sunfb.sf_height); in tvtwoattach()
314 wdf->width = sc->sc_sunfb.sf_width; in tvtwo_ioctl()
H A Dzx.c253 sc->sc_sunfb.sf_width = getpropint(node, "width", 1152); in zx_attach()
258 printf(", %dx%d\n", sc->sc_sunfb.sf_width, sc->sc_sunfb.sf_height); in zx_attach()
329 wdf->width = sc->sc_sunfb.sf_width; in zx_ioctl()
424 SETREG(zd->zd_vclipmax, (sc->sc_sunfb.sf_width - 1) | in zx_reset()
431 SETREG(zc->zc_extent, ZX_COORDS(sc->sc_sunfb.sf_width - 1, in zx_reset()
460 SETREG(zc->zc_extent, ZX_COORDS(sc->sc_sunfb.sf_width - 1, in zx_reset()
H A Dbwtwo.c183 printf(", %dx%d\n", sc->sc_sunfb.sf_width, sc->sc_sunfb.sf_height); in bwtwoattach()
217 wdf->width = sc->sc_sunfb.sf_width; in bwtwo_ioctl()
H A Drfx.c264 sc->sc_sunfb.sf_width = cf.width; in rfxattach()
269 printf(", %dx%d\n", sc->sc_sunfb.sf_width, sc->sc_sunfb.sf_height); in rfxattach()
322 wdf->width = sc->sc_sunfb.sf_width; in rfx_ioctl()
H A Dmgx.c278 sc->sc_sunfb.sf_width, sc->sc_sunfb.sf_height); in mgxattach()
360 wdf->width = sc->sc_sunfb.sf_width; in mgx_ioctl()
605 switch (sc->sc_sunfb.sf_width) { in mgx_ras_init()
638 ATR_DUAL(sc->sc_sunfb.sf_width - 1, sc->sc_sunfb.sf_depth - 1)); in mgx_ras_init()
H A Dvigra.c299 printf(", %dx%d\n", sc->sc_sunfb.sf_width, sc->sc_sunfb.sf_height); in vigraattach()
331 wdf->width = sc->sc_sunfb.sf_width; in vigra_ioctl()
H A Dcgthree.c246 printf(", %dx%d\n", sc->sc_sunfb.sf_width, sc->sc_sunfb.sf_height); in cgthreeattach()
283 wdf->width = sc->sc_sunfb.sf_width; in cgthree_ioctl()
H A Dcgsix.c195 printf(", %dx%d, rev %d\n", sc->sc_sunfb.sf_width, in cgsixattach()
271 wdf->width = sc->sc_sunfb.sf_width; in cgsix_ioctl()
/openbsd-src/sys/arch/sparc64/include/
H A Dfbvar.h51 int sf_width; member
/openbsd-src/sys/dev/pci/drm/radeon/
H A Dradeon_fbdev.c393 mode->xres = rdev->sf.sf_width; in radeon_fbdev_client_hotplug()