Lines Matching refs:sysfb

298 	struct drm_sysfb_device sysfb;  member
317 return container_of(to_drm_sysfb_device(dev), struct ofdrm_device, sysfb); in ofdrm_device_of_dev()
358 struct drm_device *dev = &odev->sysfb.dev; in ofdrm_device_init_pci()
402 struct platform_device *pdev = to_platform_device(odev->sysfb.dev.dev); in ofdrm_find_fb_resource()
428 struct drm_device *dev = &odev->sysfb.dev; in get_cmap_address_of()
461 struct drm_device *dev = &odev->sysfb.dev; in ofdrm_mach64_cmap_ioremap()
623 struct drm_device *dev = &odev->sysfb.dev; in ofdrm_qemu_cmap_ioremap()
669 struct drm_device *dev = &odev->sysfb.dev; in ofdrm_device_fill_gamma()
692 struct drm_device *dev = &odev->sysfb.dev; in ofdrm_device_load_gamma()
823 struct drm_sysfb_device *sysfb; in ofdrm_device_create() local
842 odev = devm_drm_dev_alloc(&pdev->dev, drv, struct ofdrm_device, sysfb.dev); in ofdrm_device_create()
845 sysfb = &odev->sysfb; in ofdrm_device_create()
846 dev = &sysfb->dev; in ofdrm_device_create()
987 iosys_map_set_vaddr_iomem(&sysfb->fb_addr, screen_base); in ofdrm_device_create()
988 sysfb->fb_mode = drm_sysfb_mode(width, height, 0, 0); in ofdrm_device_create()
989 sysfb->fb_format = format; in ofdrm_device_create()
990 sysfb->fb_pitch = linebytes; in ofdrm_device_create()
992 sysfb->fb_gamma_lut_size = OFDRM_GAMMA_LUT_SIZE; in ofdrm_device_create()
993 sysfb->edid = edid; in ofdrm_device_create()
995 drm_dbg(dev, "display mode={" DRM_MODE_FMT "}\n", DRM_MODE_ARG(&sysfb->fb_mode)); in ofdrm_device_create()
1042 if (sysfb->fb_gamma_lut_size) { in ofdrm_device_create()
1043 ret = drm_mode_crtc_set_gamma_size(crtc, sysfb->fb_gamma_lut_size); in ofdrm_device_create()
1045 drm_crtc_enable_color_mgmt(crtc, 0, false, sysfb->fb_gamma_lut_size); in ofdrm_device_create()
1103 struct drm_sysfb_device *sysfb; in ofdrm_probe() local
1110 sysfb = &odev->sysfb; in ofdrm_probe()
1111 dev = &sysfb->dev; in ofdrm_probe()
1117 drm_client_setup(dev, sysfb->fb_format); in ofdrm_probe()