Lines Matching refs:fb
279 mode_set->fb,
298 return c->fb;
309 struct drm_framebuffer *fb;
316 fb = drm_mode_config_fb(crtc);
321 if (!fb) {
327 funcs->mode_set_base_atomic(mode_set->crtc, fb, crtc->x,
575 struct drm_framebuffer *fb = fb_helper->fb;
602 if (fb->bits_per_pixel == 16) {
605 if (fb->depth == 16 && regno > 63)
607 if (fb->depth == 15 && regno > 31)
610 if (fb->depth == 16) {
630 if (fb->depth != 16)
678 struct drm_framebuffer *fb = fb_helper->fb;
685 if (var->bits_per_pixel > fb->bits_per_pixel ||
686 var->xres > fb->width || var->yres > fb->height ||
687 var->xres_virtual > fb->width || var->yres_virtual > fb->height) {
692 fb->width, fb->height, fb->bits_per_pixel);
931 fb_helper->crtc_info[i].mode_set.fb = fb_helper->fb; in drm_fb_helper_single_fb_probe()
1009 struct drm_framebuffer *fb = fb_helper->fb; in drm_fb_helper_fill_var() local
1013 info->fb_width = fb->width; in drm_fb_helper_fill_var()
1014 info->fb_height = fb->height; in drm_fb_helper_fill_var()
1015 info->fb_depth = fb->bits_per_pixel; in drm_fb_helper_fill_var()
1455 if (!fb_helper->fb) in drm_fb_helper_hotplug_event()
1460 if (crtc->fb) in drm_fb_helper_hotplug_event()
1462 if (crtc->fb == fb_helper->fb) in drm_fb_helper_hotplug_event()
1473 max_width = fb_helper->fb->width; in drm_fb_helper_hotplug_event()
1474 max_height = fb_helper->fb->height; in drm_fb_helper_hotplug_event()
1475 bpp_sel = fb_helper->fb->bits_per_pixel; in drm_fb_helper_hotplug_event()