fbcon 1211 drivers/gpu/drm/amd/amdgpu/amdgpu.h int amdgpu_device_suspend(struct drm_device *dev, bool suspend, bool fbcon); fbcon 1212 drivers/gpu/drm/amd/amdgpu/amdgpu.h int amdgpu_device_resume(struct drm_device *dev, bool resume, bool fbcon); fbcon 3012 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c int amdgpu_device_suspend(struct drm_device *dev, bool suspend, bool fbcon) fbcon 3031 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c if (fbcon) fbcon 3117 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c int amdgpu_device_resume(struct drm_device *dev, bool resume, bool fbcon) fbcon 3183 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c if (fbcon) { fbcon 2418 drivers/gpu/drm/drm_fb_helper.c struct module *fbcon; fbcon 2421 drivers/gpu/drm/drm_fb_helper.c fbcon = find_module(name); fbcon 2424 drivers/gpu/drm/drm_fb_helper.c if (!fbcon) fbcon 1164 drivers/gpu/drm/nouveau/dispnv50/disp.c drm_fb_helper_remove_one_connector(&drm->fbcon->helper, &mstc->connector); fbcon 1174 drivers/gpu/drm/nouveau/dispnv50/disp.c drm_fb_helper_add_one_connector(&drm->fbcon->helper, connector); fbcon 184 drivers/gpu/drm/nouveau/nouveau_drv.h struct nouveau_fbdev *fbcon; fbcon 66 drivers/gpu/drm/nouveau/nouveau_fbcon.c struct nouveau_fbdev *fbcon = info->par; fbcon 67 drivers/gpu/drm/nouveau/nouveau_fbcon.c struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev); fbcon 98 drivers/gpu/drm/nouveau/nouveau_fbcon.c struct nouveau_fbdev *fbcon = info->par; fbcon 99 drivers/gpu/drm/nouveau/nouveau_fbcon.c struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev); fbcon 130 drivers/gpu/drm/nouveau/nouveau_fbcon.c struct nouveau_fbdev *fbcon = info->par; fbcon 131 drivers/gpu/drm/nouveau/nouveau_fbcon.c struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev); fbcon 162 drivers/gpu/drm/nouveau/nouveau_fbcon.c struct nouveau_fbdev *fbcon = info->par; fbcon 163 drivers/gpu/drm/nouveau/nouveau_fbcon.c struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev); fbcon 189 drivers/gpu/drm/nouveau/nouveau_fbcon.c struct nouveau_fbdev *fbcon = info->par; fbcon 190 drivers/gpu/drm/nouveau/nouveau_fbcon.c struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev); fbcon 200 drivers/gpu/drm/nouveau/nouveau_fbcon.c struct nouveau_fbdev *fbcon = info->par; fbcon 201 drivers/gpu/drm/nouveau/nouveau_fbcon.c struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev); fbcon 231 drivers/gpu/drm/nouveau/nouveau_fbcon.c if (drm->fbcon && drm->fbcon->helper.fbdev) { fbcon 232 drivers/gpu/drm/nouveau/nouveau_fbcon.c drm->fbcon->saved_flags = drm->fbcon->helper.fbdev->flags; fbcon 233 drivers/gpu/drm/nouveau/nouveau_fbcon.c drm->fbcon->helper.fbdev->flags |= FBINFO_HWACCEL_DISABLED; fbcon 241 drivers/gpu/drm/nouveau/nouveau_fbcon.c if (drm->fbcon && drm->fbcon->helper.fbdev) { fbcon 242 drivers/gpu/drm/nouveau/nouveau_fbcon.c drm->fbcon->helper.fbdev->flags = drm->fbcon->saved_flags; fbcon 250 drivers/gpu/drm/nouveau/nouveau_fbcon.c struct nouveau_fbdev *fbcon = drm->fbcon; fbcon 251 drivers/gpu/drm/nouveau/nouveau_fbcon.c if (fbcon && drm->channel) { fbcon 253 drivers/gpu/drm/nouveau/nouveau_fbcon.c if (fbcon->helper.fbdev) fbcon 254 drivers/gpu/drm/nouveau/nouveau_fbcon.c fbcon->helper.fbdev->flags |= FBINFO_HWACCEL_DISABLED; fbcon 257 drivers/gpu/drm/nouveau/nouveau_fbcon.c nvif_object_fini(&fbcon->twod); fbcon 258 drivers/gpu/drm/nouveau/nouveau_fbcon.c nvif_object_fini(&fbcon->blit); fbcon 259 drivers/gpu/drm/nouveau/nouveau_fbcon.c nvif_object_fini(&fbcon->gdi); fbcon 260 drivers/gpu/drm/nouveau/nouveau_fbcon.c nvif_object_fini(&fbcon->patt); fbcon 261 drivers/gpu/drm/nouveau/nouveau_fbcon.c nvif_object_fini(&fbcon->rop); fbcon 262 drivers/gpu/drm/nouveau/nouveau_fbcon.c nvif_object_fini(&fbcon->clip); fbcon 263 drivers/gpu/drm/nouveau/nouveau_fbcon.c nvif_object_fini(&fbcon->surf2d); fbcon 271 drivers/gpu/drm/nouveau/nouveau_fbcon.c struct nouveau_fbdev *fbcon = drm->fbcon; fbcon 272 drivers/gpu/drm/nouveau/nouveau_fbcon.c struct fb_info *info = fbcon->helper.fbdev; fbcon 288 drivers/gpu/drm/nouveau/nouveau_fbcon.c nouveau_fbcon_zfill(struct drm_device *dev, struct nouveau_fbdev *fbcon) fbcon 290 drivers/gpu/drm/nouveau/nouveau_fbcon.c struct fb_info *info = fbcon->helper.fbdev; fbcon 309 drivers/gpu/drm/nouveau/nouveau_fbcon.c struct nouveau_fbdev *fbcon = fbcon 311 drivers/gpu/drm/nouveau/nouveau_fbcon.c struct drm_device *dev = fbcon->helper.dev; fbcon 370 drivers/gpu/drm/nouveau/nouveau_fbcon.c fbcon->helper.fb = &fb->base; fbcon 386 drivers/gpu/drm/nouveau/nouveau_fbcon.c drm_fb_helper_fill_info(info, &fbcon->helper, sizes); fbcon 392 drivers/gpu/drm/nouveau/nouveau_fbcon.c nouveau_fbcon_zfill(dev, fbcon); fbcon 414 drivers/gpu/drm/nouveau/nouveau_fbcon.c nouveau_fbcon_destroy(struct drm_device *dev, struct nouveau_fbdev *fbcon) fbcon 416 drivers/gpu/drm/nouveau/nouveau_fbcon.c struct nouveau_framebuffer *nouveau_fb = nouveau_framebuffer(fbcon->helper.fb); fbcon 418 drivers/gpu/drm/nouveau/nouveau_fbcon.c drm_fb_helper_unregister_fbi(&fbcon->helper); fbcon 419 drivers/gpu/drm/nouveau/nouveau_fbcon.c drm_fb_helper_fini(&fbcon->helper); fbcon 433 drivers/gpu/drm/nouveau/nouveau_fbcon.c struct nouveau_fbdev *fbcon = info->par; fbcon 434 drivers/gpu/drm/nouveau/nouveau_fbcon.c struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev); fbcon 456 drivers/gpu/drm/nouveau/nouveau_fbcon.c drm_fb_helper_set_suspend(&drm->fbcon->helper, state); fbcon 462 drivers/gpu/drm/nouveau/nouveau_fbcon.c nouveau_fbcon_hotplug_resume(drm->fbcon); fbcon 473 drivers/gpu/drm/nouveau/nouveau_fbcon.c if (!drm->fbcon) fbcon 488 drivers/gpu/drm/nouveau/nouveau_fbcon.c struct nouveau_fbdev *fbcon = drm->fbcon; fbcon 491 drivers/gpu/drm/nouveau/nouveau_fbcon.c if (!fbcon) fbcon 494 drivers/gpu/drm/nouveau/nouveau_fbcon.c mutex_lock(&fbcon->hotplug_lock); fbcon 498 drivers/gpu/drm/nouveau/nouveau_fbcon.c drm_fb_helper_hotplug_event(&fbcon->helper); fbcon 510 drivers/gpu/drm/nouveau/nouveau_fbcon.c fbcon->hotplug_waiting = true; fbcon 517 drivers/gpu/drm/nouveau/nouveau_fbcon.c mutex_unlock(&fbcon->hotplug_lock); fbcon 521 drivers/gpu/drm/nouveau/nouveau_fbcon.c nouveau_fbcon_hotplug_resume(struct nouveau_fbdev *fbcon) fbcon 525 drivers/gpu/drm/nouveau/nouveau_fbcon.c if (!fbcon) fbcon 527 drivers/gpu/drm/nouveau/nouveau_fbcon.c drm = nouveau_drm(fbcon->helper.dev); fbcon 529 drivers/gpu/drm/nouveau/nouveau_fbcon.c mutex_lock(&fbcon->hotplug_lock); fbcon 530 drivers/gpu/drm/nouveau/nouveau_fbcon.c if (fbcon->hotplug_waiting) { fbcon 531 drivers/gpu/drm/nouveau/nouveau_fbcon.c fbcon->hotplug_waiting = false; fbcon 534 drivers/gpu/drm/nouveau/nouveau_fbcon.c drm_fb_helper_hotplug_event(&fbcon->helper); fbcon 536 drivers/gpu/drm/nouveau/nouveau_fbcon.c mutex_unlock(&fbcon->hotplug_lock); fbcon 543 drivers/gpu/drm/nouveau/nouveau_fbcon.c struct nouveau_fbdev *fbcon; fbcon 551 drivers/gpu/drm/nouveau/nouveau_fbcon.c fbcon = kzalloc(sizeof(struct nouveau_fbdev), GFP_KERNEL); fbcon 552 drivers/gpu/drm/nouveau/nouveau_fbcon.c if (!fbcon) fbcon 555 drivers/gpu/drm/nouveau/nouveau_fbcon.c drm->fbcon = fbcon; fbcon 557 drivers/gpu/drm/nouveau/nouveau_fbcon.c mutex_init(&fbcon->hotplug_lock); fbcon 559 drivers/gpu/drm/nouveau/nouveau_fbcon.c drm_fb_helper_prepare(dev, &fbcon->helper, &nouveau_fbcon_helper_funcs); fbcon 561 drivers/gpu/drm/nouveau/nouveau_fbcon.c ret = drm_fb_helper_init(dev, &fbcon->helper, 4); fbcon 565 drivers/gpu/drm/nouveau/nouveau_fbcon.c ret = drm_fb_helper_single_add_all_connectors(&fbcon->helper); fbcon 583 drivers/gpu/drm/nouveau/nouveau_fbcon.c ret = drm_fb_helper_initial_config(&fbcon->helper, preferred_bpp); fbcon 587 drivers/gpu/drm/nouveau/nouveau_fbcon.c if (fbcon->helper.fbdev) fbcon 588 drivers/gpu/drm/nouveau/nouveau_fbcon.c fbcon->helper.fbdev->pixmap.buf_align = 4; fbcon 592 drivers/gpu/drm/nouveau/nouveau_fbcon.c drm_fb_helper_fini(&fbcon->helper); fbcon 594 drivers/gpu/drm/nouveau/nouveau_fbcon.c kfree(fbcon); fbcon 603 drivers/gpu/drm/nouveau/nouveau_fbcon.c if (!drm->fbcon) fbcon 607 drivers/gpu/drm/nouveau/nouveau_fbcon.c nouveau_fbcon_destroy(dev, drm->fbcon); fbcon 608 drivers/gpu/drm/nouveau/nouveau_fbcon.c kfree(drm->fbcon); fbcon 609 drivers/gpu/drm/nouveau/nouveau_fbcon.c drm->fbcon = NULL; fbcon 75 drivers/gpu/drm/nouveau/nouveau_fbcon.h void nouveau_fbcon_hotplug_resume(struct nouveau_fbdev *fbcon); fbcon 2819 drivers/gpu/drm/radeon/radeon.h extern int radeon_resume_kms(struct drm_device *dev, bool resume, bool fbcon); fbcon 2821 drivers/gpu/drm/radeon/radeon.h bool fbcon, bool freeze); fbcon 1564 drivers/gpu/drm/radeon/radeon_device.c bool fbcon, bool freeze) fbcon 1651 drivers/gpu/drm/radeon/radeon_device.c if (fbcon) { fbcon 1668 drivers/gpu/drm/radeon/radeon_device.c int radeon_resume_kms(struct drm_device *dev, bool resume, bool fbcon) fbcon 1678 drivers/gpu/drm/radeon/radeon_device.c if (fbcon) { fbcon 1685 drivers/gpu/drm/radeon/radeon_device.c if (fbcon) fbcon 1748 drivers/gpu/drm/radeon/radeon_device.c if (fbcon) { fbcon 1764 drivers/gpu/drm/radeon/radeon_device.c if (fbcon) { fbcon 121 drivers/gpu/drm/radeon/radeon_drv.c bool fbcon, bool freeze); fbcon 122 drivers/gpu/drm/radeon/radeon_drv.c int radeon_resume_kms(struct drm_device *dev, bool resume, bool fbcon); fbcon 113 drivers/video/fbdev/matrox/i2c-matroxfb.c minfo->fbcon.node); fbcon 356 drivers/video/fbdev/matrox/matroxfb_DAC1064.c switch (minfo->fbcon.var.bits_per_pixel) { fbcon 362 drivers/video/fbdev/matrox/matroxfb_DAC1064.c if (minfo->fbcon.var.green.length == 5) fbcon 392 drivers/video/fbdev/matrox/matroxfb_DAC1064.c if (minfo->fbcon.var.bits_per_pixel > 16) { /* 256 entries */ fbcon 400 drivers/video/fbdev/matrox/matroxfb_DAC1064.c } else if (minfo->fbcon.var.bits_per_pixel > 8) { fbcon 401 drivers/video/fbdev/matrox/matroxfb_DAC1064.c if (minfo->fbcon.var.green.length == 5) { /* 0..31, 128..159 */ fbcon 319 drivers/video/fbdev/matrox/matroxfb_Ti3026.c if (minfo->fbcon.var.bits_per_pixel == 24) { fbcon 338 drivers/video/fbdev/matrox/matroxfb_Ti3026.c if (minfo->fbcon.var.bits_per_pixel == 24) { fbcon 377 drivers/video/fbdev/matrox/matroxfb_Ti3026.c switch (minfo->fbcon.var.bits_per_pixel) { fbcon 392 drivers/video/fbdev/matrox/matroxfb_Ti3026.c hw->DACreg[POS3026_XTRUECOLORCTRL] = (minfo->fbcon.var.green.length == 5) ? (TVP3026_XTRUECOLORCTRL_DIRECTCOLOR | TVP3026_XTRUECOLORCTRL_ORGB_1555) : (TVP3026_XTRUECOLORCTRL_DIRECTCOLOR | TVP3026_XTRUECOLORCTRL_RGB_565); fbcon 120 drivers/video/fbdev/matrox/matroxfb_accel.c mpitch = minfo->fbcon.var.xres_virtual; fbcon 127 drivers/video/fbdev/matrox/matroxfb_accel.c accel = (minfo->fbcon.var.accel_flags & FB_ACCELF_TEXT) == FB_ACCELF_TEXT; fbcon 129 drivers/video/fbdev/matrox/matroxfb_accel.c switch (minfo->fbcon.var.bits_per_pixel) { fbcon 148 drivers/video/fbdev/matrox/matroxfb_accel.c case 16: if (minfo->fbcon.var.green.length == 5) fbcon 298 drivers/video/fbdev/matrox/matroxfb_accel.c matrox_accel_bmove_lin(minfo, minfo->fbcon.var.xres_virtual >> 1, area->sy, area->sx >> 1, area->dy, area->dx >> 1, area->height, area->width >> 1); fbcon 304 drivers/video/fbdev/matrox/matroxfb_accel.c matrox_accel_bmove(minfo, minfo->fbcon.var.xres_virtual, area->sy, area->sx, area->dy, area->dx, area->height, area->width); fbcon 365 drivers/video/fbdev/matrox/matroxfb_accel.c mga_outl(M_YDST, sy * minfo->fbcon.var.xres_virtual >> 6); fbcon 370 drivers/video/fbdev/matrox/matroxfb_accel.c u_int32_t step = minfo->fbcon.var.xres_virtual >> 1; fbcon 161 drivers/video/fbdev/matrox/matroxfb_base.c if (info && (info->fbcon.var.bits_per_pixel == minfo->fbcon.var.bits_per_pixel) fbcon 162 drivers/video/fbdev/matrox/matroxfb_base.c && (info->fbcon.var.xres_virtual == minfo->fbcon.var.xres_virtual) fbcon 163 drivers/video/fbdev/matrox/matroxfb_base.c && (info->fbcon.var.green.length == minfo->fbcon.var.green.length) fbcon 165 drivers/video/fbdev/matrox/matroxfb_base.c switch (minfo->fbcon.var.bits_per_pixel) { fbcon 171 drivers/video/fbdev/matrox/matroxfb_base.c mga_outl(0x3C28, pos + minfo->fbcon.var.xres_virtual * minfo->fbcon.var.bits_per_pixel / 8); fbcon 323 drivers/video/fbdev/matrox/matroxfb_base.c minfo->fbcon.var.xoffset = var->xoffset; fbcon 324 drivers/video/fbdev/matrox/matroxfb_base.c minfo->fbcon.var.yoffset = var->yoffset; fbcon 325 drivers/video/fbdev/matrox/matroxfb_base.c pos = (minfo->fbcon.var.yoffset * minfo->fbcon.var.xres_virtual + minfo->fbcon.var.xoffset) * minfo->curr.final_bppShift / 32; fbcon 372 drivers/video/fbdev/matrox/matroxfb_base.c unregister_framebuffer(&minfo->fbcon); fbcon 647 drivers/video/fbdev/matrox/matroxfb_base.c struct matrox_fb_info* minfo = container_of(fb_info, struct matrox_fb_info, fbcon); fbcon 661 drivers/video/fbdev/matrox/matroxfb_base.c if (minfo->fbcon.var.grayscale) { fbcon 666 drivers/video/fbdev/matrox/matroxfb_base.c red = CNVT_TOHW(red, minfo->fbcon.var.red.length); fbcon 667 drivers/video/fbdev/matrox/matroxfb_base.c green = CNVT_TOHW(green, minfo->fbcon.var.green.length); fbcon 668 drivers/video/fbdev/matrox/matroxfb_base.c blue = CNVT_TOHW(blue, minfo->fbcon.var.blue.length); fbcon 669 drivers/video/fbdev/matrox/matroxfb_base.c transp = CNVT_TOHW(transp, minfo->fbcon.var.transp.length); fbcon 671 drivers/video/fbdev/matrox/matroxfb_base.c switch (minfo->fbcon.var.bits_per_pixel) { fbcon 684 drivers/video/fbdev/matrox/matroxfb_base.c (red << minfo->fbcon.var.red.offset) | fbcon 685 drivers/video/fbdev/matrox/matroxfb_base.c (green << minfo->fbcon.var.green.offset) | fbcon 686 drivers/video/fbdev/matrox/matroxfb_base.c (blue << minfo->fbcon.var.blue.offset) | fbcon 687 drivers/video/fbdev/matrox/matroxfb_base.c (transp << minfo->fbcon.var.transp.offset); /* for 1:5:5:5 */ fbcon 696 drivers/video/fbdev/matrox/matroxfb_base.c (red << minfo->fbcon.var.red.offset) | fbcon 697 drivers/video/fbdev/matrox/matroxfb_base.c (green << minfo->fbcon.var.green.offset) | fbcon 698 drivers/video/fbdev/matrox/matroxfb_base.c (blue << minfo->fbcon.var.blue.offset) | fbcon 699 drivers/video/fbdev/matrox/matroxfb_base.c (transp << minfo->fbcon.var.transp.offset); /* 8:8:8:8 */ fbcon 707 drivers/video/fbdev/matrox/matroxfb_base.c struct fb_fix_screeninfo *fix = &minfo->fbcon.fix; fbcon 722 drivers/video/fbdev/matrox/matroxfb_base.c struct fb_fix_screeninfo *fix = &minfo->fbcon.fix; fbcon 725 drivers/video/fbdev/matrox/matroxfb_base.c mutex_lock(&minfo->fbcon.mm_lock); fbcon 728 drivers/video/fbdev/matrox/matroxfb_base.c mutex_unlock(&minfo->fbcon.mm_lock); fbcon 765 drivers/video/fbdev/matrox/matroxfb_base.c minfo->fbcon.screen_base = vaddr_va(minfo->video.vbase) + ydstorg; fbcon 767 drivers/video/fbdev/matrox/matroxfb_base.c minfo->fbcon.fix.visual = visual; fbcon 768 drivers/video/fbdev/matrox/matroxfb_base.c minfo->fbcon.fix.type = FB_TYPE_PACKED_PIXELS; fbcon 769 drivers/video/fbdev/matrox/matroxfb_base.c minfo->fbcon.fix.type_aux = 0; fbcon 770 drivers/video/fbdev/matrox/matroxfb_base.c minfo->fbcon.fix.line_length = (var->xres_virtual * var->bits_per_pixel) >> 3; fbcon 859 drivers/video/fbdev/matrox/matroxfb_base.c if (vblank->vcount >= minfo->fbcon.var.yres) fbcon 951 drivers/video/fbdev/matrox/matroxfb_base.c crtc2->fbcon.fbops->fb_set_par(&crtc2->fbcon); fbcon 1779 drivers/video/fbdev/matrox/matroxfb_base.c minfo->fbcon.monspecs.hfmin = 0; fbcon 1780 drivers/video/fbdev/matrox/matroxfb_base.c minfo->fbcon.monspecs.hfmax = fh; fbcon 1781 drivers/video/fbdev/matrox/matroxfb_base.c minfo->fbcon.monspecs.vfmin = 0; fbcon 1782 drivers/video/fbdev/matrox/matroxfb_base.c minfo->fbcon.monspecs.vfmax = fv; fbcon 1783 drivers/video/fbdev/matrox/matroxfb_base.c minfo->fbcon.monspecs.dpms = 0; /* TBD */ fbcon 1796 drivers/video/fbdev/matrox/matroxfb_base.c minfo->fbcon.fbops = &minfo->fbops; fbcon 1797 drivers/video/fbdev/matrox/matroxfb_base.c minfo->fbcon.pseudo_palette = minfo->cmap; fbcon 1798 drivers/video/fbdev/matrox/matroxfb_base.c minfo->fbcon.flags = FBINFO_PARTIAL_PAN_OK | /* Prefer panning for scroll under MC viewer/edit */ fbcon 1806 drivers/video/fbdev/matrox/matroxfb_base.c fb_alloc_cmap(&minfo->fbcon.cmap, 256, 1); fbcon 1811 drivers/video/fbdev/matrox/matroxfb_base.c fb_find_mode(&vesafb_defined, &minfo->fbcon, videomode[0] ? videomode : NULL, fbcon 1902 drivers/video/fbdev/matrox/matroxfb_base.c minfo->fbcon.screen_base = vaddr_va(minfo->video.vbase); fbcon 1904 drivers/video/fbdev/matrox/matroxfb_base.c matroxfb_check_var(&vesafb_defined, &minfo->fbcon); fbcon 1909 drivers/video/fbdev/matrox/matroxfb_base.c minfo->fbcon.var = vesafb_defined; fbcon 1921 drivers/video/fbdev/matrox/matroxfb_base.c minfo->fbcon.device = &minfo->pcidev->dev; fbcon 1922 drivers/video/fbdev/matrox/matroxfb_base.c if (register_framebuffer(&minfo->fbcon) < 0) { fbcon 1925 drivers/video/fbdev/matrox/matroxfb_base.c fb_info(&minfo->fbcon, "%s frame buffer device\n", minfo->fbcon.fix.id); fbcon 1930 drivers/video/fbdev/matrox/matroxfb_base.c fb_info(&minfo->fbcon, "initializing hardware\n"); fbcon 1934 drivers/video/fbdev/matrox/matroxfb_base.c fb_set_var(&minfo->fbcon, &vesafb_defined); fbcon 2097 drivers/video/fbdev/matrox/matroxfb_base.c mutex_init(&minfo->fbcon.mm_lock); fbcon 339 drivers/video/fbdev/matrox/matroxfb_base.h struct fb_info fbcon; fbcon 497 drivers/video/fbdev/matrox/matroxfb_base.h #define info2minfo(info) container_of(info, struct matrox_fb_info, fbcon) fbcon 34 drivers/video/fbdev/matrox/matroxfb_crtc2.c #define m2info (container_of(info, struct matroxfb_dh_fb_info, fbcon)) fbcon 38 drivers/video/fbdev/matrox/matroxfb_crtc2.c if (m2info->fbcon.var.grayscale) { fbcon 42 drivers/video/fbdev/matrox/matroxfb_crtc2.c red = CNVT_TOHW(red, m2info->fbcon.var.red.length); fbcon 43 drivers/video/fbdev/matrox/matroxfb_crtc2.c green = CNVT_TOHW(green, m2info->fbcon.var.green.length); fbcon 44 drivers/video/fbdev/matrox/matroxfb_crtc2.c blue = CNVT_TOHW(blue, m2info->fbcon.var.blue.length); fbcon 45 drivers/video/fbdev/matrox/matroxfb_crtc2.c transp = CNVT_TOHW(transp, m2info->fbcon.var.transp.length); fbcon 47 drivers/video/fbdev/matrox/matroxfb_crtc2.c col = (red << m2info->fbcon.var.red.offset) | fbcon 48 drivers/video/fbdev/matrox/matroxfb_crtc2.c (green << m2info->fbcon.var.green.offset) | fbcon 49 drivers/video/fbdev/matrox/matroxfb_crtc2.c (blue << m2info->fbcon.var.blue.offset) | fbcon 50 drivers/video/fbdev/matrox/matroxfb_crtc2.c (transp << m2info->fbcon.var.transp.offset); fbcon 52 drivers/video/fbdev/matrox/matroxfb_crtc2.c switch (m2info->fbcon.var.bits_per_pixel) { fbcon 123 drivers/video/fbdev/matrox/matroxfb_crtc2.c u_int32_t linelen = m2info->fbcon.var.xres_virtual * (m2info->fbcon.var.bits_per_pixel >> 3); fbcon 175 drivers/video/fbdev/matrox/matroxfb_crtc2.c m2info->fbcon.var.xoffset = var->xoffset; fbcon 176 drivers/video/fbdev/matrox/matroxfb_crtc2.c m2info->fbcon.var.yoffset = var->yoffset; fbcon 177 drivers/video/fbdev/matrox/matroxfb_crtc2.c pixelsize = m2info->fbcon.var.bits_per_pixel >> 3; fbcon 178 drivers/video/fbdev/matrox/matroxfb_crtc2.c linelen = m2info->fbcon.var.xres_virtual * pixelsize; fbcon 179 drivers/video/fbdev/matrox/matroxfb_crtc2.c pos = m2info->fbcon.var.yoffset * linelen + m2info->fbcon.var.xoffset * pixelsize; fbcon 264 drivers/video/fbdev/matrox/matroxfb_crtc2.c #define m2info (container_of(info, struct matroxfb_dh_fb_info, fbcon)) fbcon 273 drivers/video/fbdev/matrox/matroxfb_crtc2.c err = minfo->fbops.fb_open(&minfo->fbcon, user); fbcon 283 drivers/video/fbdev/matrox/matroxfb_crtc2.c #define m2info (container_of(info, struct matroxfb_dh_fb_info, fbcon)) fbcon 288 drivers/video/fbdev/matrox/matroxfb_crtc2.c err = minfo->fbops.fb_release(&minfo->fbcon, user); fbcon 300 drivers/video/fbdev/matrox/matroxfb_crtc2.c struct fb_fix_screeninfo *fix = &m2info->fbcon.fix; fbcon 315 drivers/video/fbdev/matrox/matroxfb_crtc2.c #define m2info (container_of(info, struct matroxfb_dh_fb_info, fbcon)) fbcon 325 drivers/video/fbdev/matrox/matroxfb_crtc2.c #define m2info (container_of(info, struct matroxfb_dh_fb_info, fbcon)) fbcon 337 drivers/video/fbdev/matrox/matroxfb_crtc2.c m2info->fbcon.screen_base = vaddr_va(m2info->video.vbase); fbcon 338 drivers/video/fbdev/matrox/matroxfb_crtc2.c m2info->fbcon.fix.visual = visual; fbcon 339 drivers/video/fbdev/matrox/matroxfb_crtc2.c m2info->fbcon.fix.type = FB_TYPE_PACKED_PIXELS; fbcon 340 drivers/video/fbdev/matrox/matroxfb_crtc2.c m2info->fbcon.fix.type_aux = 0; fbcon 341 drivers/video/fbdev/matrox/matroxfb_crtc2.c m2info->fbcon.fix.line_length = (var->xres_virtual * var->bits_per_pixel) >> 3; fbcon 349 drivers/video/fbdev/matrox/matroxfb_crtc2.c matroxfb_var2my(&m2info->fbcon.var, &mt); fbcon 354 drivers/video/fbdev/matrox/matroxfb_crtc2.c pos = (m2info->fbcon.var.yoffset * m2info->fbcon.var.xres_virtual + m2info->fbcon.var.xoffset) * m2info->fbcon.var.bits_per_pixel >> 3; fbcon 397 drivers/video/fbdev/matrox/matroxfb_crtc2.c #define m2info (container_of(info, struct matroxfb_dh_fb_info, fbcon)) fbcon 412 drivers/video/fbdev/matrox/matroxfb_crtc2.c if (vblank->vcount >= m2info->fbcon.var.yres) fbcon 427 drivers/video/fbdev/matrox/matroxfb_crtc2.c #define m2info (container_of(info, struct matroxfb_dh_fb_info, fbcon)) fbcon 460 drivers/video/fbdev/matrox/matroxfb_crtc2.c return minfo->fbcon.fbops->fb_ioctl(&minfo->fbcon, cmd, arg); fbcon 553 drivers/video/fbdev/matrox/matroxfb_crtc2.c #define m2info (container_of(info, struct matroxfb_dh_fb_info, fbcon)) fbcon 605 drivers/video/fbdev/matrox/matroxfb_crtc2.c m2info->fbcon.fbops = &matroxfb_dh_ops; fbcon 606 drivers/video/fbdev/matrox/matroxfb_crtc2.c m2info->fbcon.flags = FBINFO_FLAG_DEFAULT; fbcon 607 drivers/video/fbdev/matrox/matroxfb_crtc2.c m2info->fbcon.flags |= FBINFO_HWACCEL_XPAN | fbcon 609 drivers/video/fbdev/matrox/matroxfb_crtc2.c m2info->fbcon.pseudo_palette = m2info->cmap; fbcon 610 drivers/video/fbdev/matrox/matroxfb_crtc2.c fb_alloc_cmap(&m2info->fbcon.cmap, 256, 1); fbcon 634 drivers/video/fbdev/matrox/matroxfb_crtc2.c if (register_framebuffer(&m2info->fbcon)) { fbcon 638 drivers/video/fbdev/matrox/matroxfb_crtc2.c fb_set_var(&m2info->fbcon, &matroxfb_dh_defined); fbcon 660 drivers/video/fbdev/matrox/matroxfb_crtc2.c minfo->fbcon.node, m2info->fbcon.node); fbcon 683 drivers/video/fbdev/matrox/matroxfb_crtc2.c id = m2info->fbcon.node; fbcon 684 drivers/video/fbdev/matrox/matroxfb_crtc2.c unregister_framebuffer(&m2info->fbcon); fbcon 9 drivers/video/fbdev/matrox/matroxfb_crtc2.h struct fb_info fbcon; fbcon 277 drivers/video/fbdev/matrox/matroxfb_misc.c wd = minfo->fbcon.var.xres_virtual * minfo->curr.final_bppShift / 64;