Lines Matching refs:zplane

535 	struct zx_plane *zplane;  in zx_crtc_init()  local
546 zplane = devm_kzalloc(dev, sizeof(*zplane), GFP_KERNEL); in zx_crtc_init()
547 if (!zplane) in zx_crtc_init()
550 zplane->dev = dev; in zx_crtc_init()
553 zplane->layer = vou->osd + MAIN_GL_OFFSET; in zx_crtc_init()
554 zplane->csc = vou->osd + MAIN_GL_CSC_OFFSET; in zx_crtc_init()
555 zplane->hbsc = vou->osd + MAIN_HBSC_OFFSET; in zx_crtc_init()
556 zplane->rsz = vou->otfppu + MAIN_RSZ_OFFSET; in zx_crtc_init()
557 zplane->bits = &zx_gl_bits[0]; in zx_crtc_init()
564 zplane->layer = vou->osd + AUX_GL_OFFSET; in zx_crtc_init()
565 zplane->csc = vou->osd + AUX_GL_CSC_OFFSET; in zx_crtc_init()
566 zplane->hbsc = vou->osd + AUX_HBSC_OFFSET; in zx_crtc_init()
567 zplane->rsz = vou->otfppu + AUX_RSZ_OFFSET; in zx_crtc_init()
568 zplane->bits = &zx_gl_bits[1]; in zx_crtc_init()
584 ret = zx_plane_init(drm, zplane, DRM_PLANE_TYPE_PRIMARY); in zx_crtc_init()
590 zcrtc->primary = &zplane->plane; in zx_crtc_init()
613 struct zx_plane *zplane = to_zx_plane(plane); in zx_vou_layer_enable() local
614 const struct vou_layer_bits *bits = zplane->bits; in zx_vou_layer_enable()
634 struct zx_plane *zplane = to_zx_plane(plane); in zx_vou_layer_disable() local
635 const struct vou_layer_bits *bits = zplane->bits; in zx_vou_layer_disable()
643 struct zx_plane *zplane; in zx_overlay_init() local
652 zplane = devm_kzalloc(dev, sizeof(*zplane), GFP_KERNEL); in zx_overlay_init()
653 if (!zplane) { in zx_overlay_init()
658 zplane->layer = vou->osd + OSD_VL_OFFSET(i); in zx_overlay_init()
659 zplane->hbsc = vou->osd + HBSC_VL_OFFSET(i); in zx_overlay_init()
660 zplane->rsz = vou->otfppu + RSZ_VL_OFFSET(i); in zx_overlay_init()
661 zplane->bits = &zx_vl_bits[i]; in zx_overlay_init()
663 ret = zx_plane_init(drm, zplane, DRM_PLANE_TYPE_OVERLAY); in zx_overlay_init()