Lines Matching defs:FBINFO
1046 #define FBINFO (*(struct wsdisplay_fbinfo*)data)
1079 FBINFO.width = adp->gfxwidth;
1080 FBINFO.height = adp->gfxheight;
1081 FBINFO.depth = adp->gfxdepth;
1082 FBINFO.cmsize = 1 << FBINFO.depth;
1098 #undef FBINFO
1102 amidisplaycc_getfbinfo(struct amidisplaycc_softc *adp, struct wsdisplayio_fbinfo *fbinfo)
1115 memset(fbinfo, 0, sizeof(*fbinfo));
1116 fbinfo->fbi_fbsize = bm->bytes_per_row * bm->rows * adp->gfxdepth;
1117 fbinfo->fbi_fboffset = 0;
1118 fbinfo->fbi_width = bm->bytes_per_row * 8;
1119 fbinfo->fbi_height = bm->rows;
1120 fbinfo->fbi_stride = bm->bytes_per_row;
1121 fbinfo->fbi_bitsperpixel = adp->gfxdepth;
1122 fbinfo->fbi_pixeltype = WSFB_CI;
1123 fbinfo->fbi_flags = 0;
1124 fbinfo->fbi_subtype.fbi_cmapinfo.cmap_entries = 1 << adp->gfxdepth;