fb_dev
static void s3_getgeometry(struct fb_dev *, int *, int *);
static void s3_putcmap(struct fb_dev *, const struct fb_cmap *);
static void s3_copy(struct fb_dev *, int, int, int, int, int, int, int);
static void s3_fill(struct fb_dev *, int, int, int, int, int, int);
static struct fb_dev console_dev;
sc->sc_fb = kmem_zalloc(sizeof(struct fb_dev), KM_SLEEP);
fb_init(struct fb_dev *fb, int width, int height)
struct fb_dev *fb = ri->ri_hw;
struct fb_dev *fb = ri->ri_hw;
struct fb_dev *fb = ri->ri_hw;
struct fb_dev *fb = ri->ri_hw;
s3_getgeometry(struct fb_dev *fb, int *width, int *height)
s3_putcmap(struct fb_dev *fb, const struct fb_cmap *cmap)
s3_copy(struct fb_dev *fb, int src_x, int src_y, int dest_x, int dest_y,
s3_fill(struct fb_dev *fb, int x, int y, int width, int height,
struct fb_dev *sc_fb;
static void fb_init(struct fb_dev *, int, int);
while (fbl != NULL && fbl->fb_dev != NULL) {
(*fbl->fb_dev->fb_driver->fbd_unblank)(fbl->fb_dev->fb_device);
fblist.fb_dev != NULL) {
fbl->fb_dev = fblist.fb_dev;
aprint_normal_dev(fbl->fb_dev->fb_device,
aprint_normal_dev(fbl->fb_dev->fb_device,
fblist.fb_dev = fb;
if (fblist.fb_dev != NULL) {
fbl->fb_dev = fb;
aprint_normal_dev(fbl->fb_dev->fb_device,
if (fbl == NULL || fbl->fb_dev == NULL)
nunit = device_unit(fbl->fb_dev->fb_device);
return (fbl->fb_dev->fb_driver->fbd_open)(makedev(0, nunit), flags,
if (fbl == NULL || fbl->fb_dev == NULL)
nunit = device_unit(fbl->fb_dev->fb_device);
return (fbl->fb_dev->fb_driver->fbd_close)(makedev(0, nunit), flags,
if (fbl == NULL || fbl->fb_dev == NULL)
nunit = device_unit(fbl->fb_dev->fb_device);
return (fbl->fb_dev->fb_driver->fbd_ioctl)(makedev(0, nunit), cmd,
if (fbl == NULL || fbl->fb_dev == NULL)
nunit = device_unit(fbl->fb_dev->fb_device);
return (fbl->fb_dev->fb_driver->fbd_poll)(makedev(0, nunit), events,
if (fbl == NULL || fbl->fb_dev == NULL)
nunit = device_unit(fbl->fb_dev->fb_device);
return (fbl->fb_dev->fb_driver->fbd_kqfilter)(makedev(0, nunit), kn);
if (fbl == NULL || fbl->fb_dev == NULL)
nunit = device_unit(fbl->fb_dev->fb_device);
paddr_t (*map)(dev_t, off_t, int) = fbl->fb_dev->fb_driver->fbd_mmap;
struct fbdevice *fb_dev;