Lines Matching refs:acrtc

72 	struct ade_crtc acrtc;  member
185 struct ade_crtc *acrtc = to_ade_crtc(crtc); in ade_crtc_mode_fixup() local
186 struct ade_hw_ctx *ctx = acrtc->ctx; in ade_crtc_mode_fixup()
211 static void ade_ldi_set_mode(struct ade_crtc *acrtc, in ade_ldi_set_mode() argument
215 struct ade_hw_ctx *ctx = acrtc->ctx; in ade_ldi_set_mode()
302 static void ade_set_medianoc_qos(struct ade_crtc *acrtc) in ade_set_medianoc_qos() argument
304 struct ade_hw_ctx *ctx = acrtc->ctx; in ade_set_medianoc_qos()
320 struct ade_crtc *acrtc = to_ade_crtc(crtc); in ade_crtc_enable_vblank() local
321 struct ade_hw_ctx *ctx = acrtc->ctx; in ade_crtc_enable_vblank()
335 struct ade_crtc *acrtc = to_ade_crtc(crtc); in ade_crtc_disable_vblank() local
336 struct ade_hw_ctx *ctx = acrtc->ctx; in ade_crtc_disable_vblank()
350 struct ade_crtc *acrtc = data; in ade_irq_handler() local
351 struct ade_hw_ctx *ctx = acrtc->ctx; in ade_irq_handler()
352 struct drm_crtc *crtc = &acrtc->base; in ade_irq_handler()
369 static void ade_display_enable(struct ade_crtc *acrtc) in ade_display_enable() argument
371 struct ade_hw_ctx *ctx = acrtc->ctx; in ade_display_enable()
373 u32 out_fmt = acrtc->out_format; in ade_display_enable()
486 struct ade_crtc *acrtc = to_ade_crtc(crtc); in ade_crtc_atomic_enable() local
487 struct ade_hw_ctx *ctx = acrtc->ctx; in ade_crtc_atomic_enable()
490 if (acrtc->enable) in ade_crtc_atomic_enable()
499 ade_set_medianoc_qos(acrtc); in ade_crtc_atomic_enable()
500 ade_display_enable(acrtc); in ade_crtc_atomic_enable()
503 acrtc->enable = true; in ade_crtc_atomic_enable()
509 struct ade_crtc *acrtc = to_ade_crtc(crtc); in ade_crtc_atomic_disable() local
510 struct ade_hw_ctx *ctx = acrtc->ctx; in ade_crtc_atomic_disable()
512 if (!acrtc->enable) in ade_crtc_atomic_disable()
517 acrtc->enable = false; in ade_crtc_atomic_disable()
522 struct ade_crtc *acrtc = to_ade_crtc(crtc); in ade_crtc_mode_set_nofb() local
523 struct ade_hw_ctx *ctx = acrtc->ctx; in ade_crtc_mode_set_nofb()
529 ade_ldi_set_mode(acrtc, mode, adj_mode); in ade_crtc_mode_set_nofb()
535 struct ade_crtc *acrtc = to_ade_crtc(crtc); in ade_crtc_atomic_begin() local
536 struct ade_hw_ctx *ctx = acrtc->ctx; in ade_crtc_atomic_begin()
542 ade_ldi_set_mode(acrtc, mode, adj_mode); in ade_crtc_atomic_begin()
549 struct ade_crtc *acrtc = to_ade_crtc(crtc); in ade_crtc_atomic_flush() local
550 struct ade_hw_ctx *ctx = acrtc->ctx; in ade_crtc_atomic_flush()
555 if (acrtc->enable) { in ade_crtc_atomic_flush()
994 struct ade_crtc *acrtc; in ade_drm_init() local
1008 acrtc = &ade->acrtc; in ade_drm_init()
1009 acrtc->ctx = ctx; in ade_drm_init()
1010 acrtc->out_format = LDI_OUT_RGB_888; in ade_drm_init()
1034 ret = ade_crtc_init(dev, &acrtc->base, &ade->aplane[PRIMARY_CH].base); in ade_drm_init()
1040 IRQF_SHARED, dev->driver->name, acrtc); in ade_drm_init()