Lines Matching refs:cdev

38 	struct cirrus_device *cdev = dev->dev_private;  in cirrus_crtc_load_lut()  local
61 struct cirrus_device *cdev = dev->dev_private; in cirrus_crtc_dpms() local
108 struct cirrus_device *cdev = crtc->dev->dev_private; in cirrus_set_start_address() local
134 struct cirrus_device *cdev = crtc->dev->dev_private; in cirrus_crtc_do_set_base() local
167 if (&cdev->mode_info.gfbdev->gfb == cirrus_fb) { in cirrus_crtc_do_set_base()
199 struct cirrus_device *cdev = dev->dev_private; in cirrus_crtc_mode_set() local
386 struct cirrus_device *cdev = dev->dev_private; in cirrus_crtc_init() local
400 cdev->mode_info.crtc = cirrus_crtc; in cirrus_crtc_init()
569 int cirrus_modeset_init(struct cirrus_device *cdev) in cirrus_modeset_init() argument
575 drm_mode_config_init(cdev->dev); in cirrus_modeset_init()
576 cdev->mode_info.mode_config_initialized = true; in cirrus_modeset_init()
578 cdev->dev->mode_config.max_width = CIRRUS_MAX_FB_WIDTH; in cirrus_modeset_init()
579 cdev->dev->mode_config.max_height = CIRRUS_MAX_FB_HEIGHT; in cirrus_modeset_init()
581 cdev->dev->mode_config.fb_base = cdev->mc.vram_base; in cirrus_modeset_init()
582 cdev->dev->mode_config.preferred_depth = 24; in cirrus_modeset_init()
584 cdev->dev->mode_config.prefer_shadow = 0; in cirrus_modeset_init()
586 cirrus_crtc_init(cdev->dev); in cirrus_modeset_init()
588 encoder = cirrus_encoder_init(cdev->dev); in cirrus_modeset_init()
594 connector = cirrus_vga_init(cdev->dev); in cirrus_modeset_init()
602 ret = cirrus_fbdev_init(cdev); in cirrus_modeset_init()
611 void cirrus_modeset_fini(struct cirrus_device *cdev) in cirrus_modeset_fini() argument
613 cirrus_fbdev_fini(cdev); in cirrus_modeset_fini()
615 if (cdev->mode_info.mode_config_initialized) { in cirrus_modeset_fini()
616 drm_mode_config_cleanup(cdev->dev); in cirrus_modeset_fini()
617 cdev->mode_info.mode_config_initialized = false; in cirrus_modeset_fini()