| /openbsd-src/sys/arch/sparc64/dev/ |
| H A D | fb.c | 140 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 D | gfb.c | 118 wdf->width = sc->sc_sunfb.sf_width; in gfb_ioctl()
|
| H A D | vgafb.c | 162 (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 D | ifb.c | 418 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 D | machfb.c | 291 (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 D | radeonfb.c | 206 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 D | gfxp.c | 220 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 D | raptor.c | 218 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 D | creator.c | 178 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 D | agten.c | 198 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 D | cgtwelve.c | 197 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 D | tvtwo.c | 258 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 D | zx.c | 253 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 D | bwtwo.c | 183 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 D | rfx.c | 264 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 D | mgx.c | 278 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 D | vigra.c | 299 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 D | cgthree.c | 246 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 D | cgsix.c | 195 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 D | fbvar.h | 51 int sf_width; member
|
| /openbsd-src/sys/dev/pci/drm/radeon/ |
| H A D | radeon_fbdev.c | 393 mode->xres = rdev->sf.sf_width; in radeon_fbdev_client_hotplug()
|