Lines Matching refs:zplane
536 struct zx_plane *zplane; in zx_crtc_init() local
547 zplane = devm_kzalloc(dev, sizeof(*zplane), GFP_KERNEL); in zx_crtc_init()
548 if (!zplane) in zx_crtc_init()
551 zplane->dev = dev; in zx_crtc_init()
554 zplane->layer = vou->osd + MAIN_GL_OFFSET; in zx_crtc_init()
555 zplane->csc = vou->osd + MAIN_GL_CSC_OFFSET; in zx_crtc_init()
556 zplane->hbsc = vou->osd + MAIN_HBSC_OFFSET; in zx_crtc_init()
557 zplane->rsz = vou->otfppu + MAIN_RSZ_OFFSET; in zx_crtc_init()
558 zplane->bits = &zx_gl_bits[0]; in zx_crtc_init()
565 zplane->layer = vou->osd + AUX_GL_OFFSET; in zx_crtc_init()
566 zplane->csc = vou->osd + AUX_GL_CSC_OFFSET; in zx_crtc_init()
567 zplane->hbsc = vou->osd + AUX_HBSC_OFFSET; in zx_crtc_init()
568 zplane->rsz = vou->otfppu + AUX_RSZ_OFFSET; in zx_crtc_init()
569 zplane->bits = &zx_gl_bits[1]; in zx_crtc_init()
585 ret = zx_plane_init(drm, zplane, DRM_PLANE_TYPE_PRIMARY); in zx_crtc_init()
591 zcrtc->primary = &zplane->plane; in zx_crtc_init()
614 struct zx_plane *zplane = to_zx_plane(plane); in zx_vou_layer_enable() local
615 const struct vou_layer_bits *bits = zplane->bits; in zx_vou_layer_enable()
635 struct zx_plane *zplane = to_zx_plane(plane); in zx_vou_layer_disable() local
636 const struct vou_layer_bits *bits = zplane->bits; in zx_vou_layer_disable()
644 struct zx_plane *zplane; in zx_overlay_init() local
653 zplane = devm_kzalloc(dev, sizeof(*zplane), GFP_KERNEL); in zx_overlay_init()
654 if (!zplane) { in zx_overlay_init()
659 zplane->layer = vou->osd + OSD_VL_OFFSET(i); in zx_overlay_init()
660 zplane->hbsc = vou->osd + HBSC_VL_OFFSET(i); in zx_overlay_init()
661 zplane->rsz = vou->otfppu + RSZ_VL_OFFSET(i); in zx_overlay_init()
662 zplane->bits = &zx_vl_bits[i]; in zx_overlay_init()
664 ret = zx_plane_init(drm, zplane, DRM_PLANE_TYPE_OVERLAY); in zx_overlay_init()