Lines Matching refs:sysfb
297 struct drm_sysfb_device sysfb; member
316 return container_of(to_drm_sysfb_device(dev), struct ofdrm_device, sysfb); in ofdrm_device_of_dev()
356 struct drm_device *dev = &odev->sysfb.dev; in ofdrm_device_init_pci()
399 struct platform_device *pdev = to_platform_device(odev->sysfb.dev.dev); in ofdrm_find_fb_resource()
425 struct drm_device *dev = &odev->sysfb.dev; in get_cmap_address_of()
458 struct drm_device *dev = &odev->sysfb.dev; in ofdrm_mach64_cmap_ioremap()
620 struct drm_device *dev = &odev->sysfb.dev; in ofdrm_qemu_cmap_ioremap()
666 struct drm_device *dev = &odev->sysfb.dev; in ofdrm_device_fill_gamma()
689 struct drm_device *dev = &odev->sysfb.dev; in ofdrm_device_load_gamma()
820 struct drm_sysfb_device *sysfb; in ofdrm_device_create() local
839 odev = devm_drm_dev_alloc(&pdev->dev, drv, struct ofdrm_device, sysfb.dev); in ofdrm_device_create()
842 sysfb = &odev->sysfb; in ofdrm_device_create()
843 dev = &sysfb->dev; in ofdrm_device_create()
984 iosys_map_set_vaddr_iomem(&sysfb->fb_addr, screen_base); in ofdrm_device_create()
985 sysfb->fb_mode = drm_sysfb_mode(width, height, 0, 0); in ofdrm_device_create()
986 sysfb->fb_format = format; in ofdrm_device_create()
987 sysfb->fb_pitch = linebytes; in ofdrm_device_create()
989 sysfb->fb_gamma_lut_size = OFDRM_GAMMA_LUT_SIZE; in ofdrm_device_create()
990 sysfb->edid = edid; in ofdrm_device_create()
992 drm_dbg(dev, "display mode={" DRM_MODE_FMT "}\n", DRM_MODE_ARG(&sysfb->fb_mode)); in ofdrm_device_create()
1039 if (sysfb->fb_gamma_lut_size) { in ofdrm_device_create()
1040 ret = drm_mode_crtc_set_gamma_size(crtc, sysfb->fb_gamma_lut_size); in ofdrm_device_create()
1042 drm_crtc_enable_color_mgmt(crtc, 0, false, sysfb->fb_gamma_lut_size); in ofdrm_device_create()
1100 struct drm_sysfb_device *sysfb; in ofdrm_probe() local
1107 sysfb = &odev->sysfb; in ofdrm_probe()
1108 dev = &sysfb->dev; in ofdrm_probe()
1114 drm_client_setup(dev, sysfb->fb_format); in ofdrm_probe()