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()
357 struct drm_device *dev = &odev->sysfb.dev; in ofdrm_device_init_pci()
400 struct platform_device *pdev = to_platform_device(odev->sysfb.dev.dev); in ofdrm_find_fb_resource()
426 struct drm_device *dev = &odev->sysfb.dev; in get_cmap_address_of()
459 struct drm_device *dev = &odev->sysfb.dev; in ofdrm_mach64_cmap_ioremap()
621 struct drm_device *dev = &odev->sysfb.dev; in ofdrm_qemu_cmap_ioremap()
667 struct drm_device *dev = &odev->sysfb.dev; in ofdrm_device_fill_gamma()
690 struct drm_device *dev = &odev->sysfb.dev; in ofdrm_device_load_gamma()
821 struct drm_sysfb_device *sysfb; in ofdrm_device_create() local
840 odev = devm_drm_dev_alloc(&pdev->dev, drv, struct ofdrm_device, sysfb.dev); in ofdrm_device_create()
843 sysfb = &odev->sysfb; in ofdrm_device_create()
844 dev = &sysfb->dev; in ofdrm_device_create()
985 iosys_map_set_vaddr_iomem(&sysfb->fb_addr, screen_base); in ofdrm_device_create()
986 sysfb->fb_mode = drm_sysfb_mode(width, height, 0, 0); in ofdrm_device_create()
987 sysfb->fb_format = format; in ofdrm_device_create()
988 sysfb->fb_pitch = linebytes; in ofdrm_device_create()
990 sysfb->fb_gamma_lut_size = OFDRM_GAMMA_LUT_SIZE; in ofdrm_device_create()
991 sysfb->edid = edid; in ofdrm_device_create()
993 drm_dbg(dev, "display mode={" DRM_MODE_FMT "}\n", DRM_MODE_ARG(&sysfb->fb_mode)); in ofdrm_device_create()
1040 if (sysfb->fb_gamma_lut_size) { in ofdrm_device_create()
1041 ret = drm_mode_crtc_set_gamma_size(crtc, sysfb->fb_gamma_lut_size); in ofdrm_device_create()
1043 drm_crtc_enable_color_mgmt(crtc, 0, false, sysfb->fb_gamma_lut_size); in ofdrm_device_create()
1101 struct drm_sysfb_device *sysfb; in ofdrm_probe() local
1108 sysfb = &odev->sysfb; in ofdrm_probe()
1109 dev = &sysfb->dev; in ofdrm_probe()
1115 drm_client_setup(dev, sysfb->fb_format); in ofdrm_probe()