Lines Matching +full:10 +full:base
31 * @base: base CRTC state
36 struct drm_crtc_state base; member
44 return container_of(state, struct atmel_hlcdc_crtc_state, base); in drm_crtc_state_to_atmel_hlcdc_crtc_state()
50 * @base: base DRM CRTC structure
56 struct drm_crtc base; member
65 return container_of(crtc, struct atmel_hlcdc_crtc, base); in drm_crtc_to_atmel_hlcdc_crtc()
138 /* The divider ended up too big, try a lower base rate. */ in atmel_hlcdc_crtc_mode_set_nofb()
148 (10 * (prate / div_low - mode_rate) < in atmel_hlcdc_crtc_mode_set_nofb()
151 * At least 10 times better when using a higher in atmel_hlcdc_crtc_mode_set_nofb()
217 10, 1000)) in atmel_hlcdc_crtc_atomic_disable()
223 10, 1000)) in atmel_hlcdc_crtc_atomic_disable()
230 10, 1000)) in atmel_hlcdc_crtc_atomic_disable()
236 10, 1000)) in atmel_hlcdc_crtc_atomic_disable()
242 10, 1000)) in atmel_hlcdc_crtc_atomic_disable()
271 10, 1000)) in atmel_hlcdc_crtc_atomic_enable()
277 10, 1000)) in atmel_hlcdc_crtc_atomic_enable()
283 10, 1000)) in atmel_hlcdc_crtc_atomic_enable()
290 10, 1000)) in atmel_hlcdc_crtc_atomic_enable()
296 10, 1000)) in atmel_hlcdc_crtc_atomic_enable()
521 struct drm_device *dev = crtc->base.dev; in atmel_hlcdc_crtc_finish_page_flip()
526 drm_crtc_send_vblank_event(&crtc->base, crtc->event); in atmel_hlcdc_crtc_finish_page_flip()
527 drm_crtc_vblank_put(&crtc->base); in atmel_hlcdc_crtc_finish_page_flip()
552 __drm_atomic_helper_crtc_reset(crtc, &state->base); in atmel_hlcdc_crtc_reset()
567 __drm_atomic_helper_crtc_duplicate_state(crtc, &state->base); in atmel_hlcdc_crtc_duplicate_state()
574 return &state->base; in atmel_hlcdc_crtc_duplicate_state()
649 ret = drm_crtc_init_with_planes(dev, &crtc->base, &primary->base, in atmel_hlcdc_crtc_create()
650 &cursor->base, &atmel_hlcdc_crtc_funcs, in atmel_hlcdc_crtc_create()
655 crtc->id = drm_crtc_index(&crtc->base); in atmel_hlcdc_crtc_create()
663 overlay->base.possible_crtcs = 1 << crtc->id; in atmel_hlcdc_crtc_create()
667 drm_crtc_helper_add(&crtc->base, &lcdc_crtc_helper_funcs); in atmel_hlcdc_crtc_create()
669 drm_mode_crtc_set_gamma_size(&crtc->base, ATMEL_HLCDC_CLUT_SIZE); in atmel_hlcdc_crtc_create()
670 drm_crtc_enable_color_mgmt(&crtc->base, 0, false, in atmel_hlcdc_crtc_create()
673 dc->crtc = &crtc->base; in atmel_hlcdc_crtc_create()
678 atmel_hlcdc_crtc_destroy(&crtc->base); in atmel_hlcdc_crtc_create()