Lines Matching refs:zplane

101 static inline void zx_vl_set_update(struct zx_plane *zplane)  in zx_vl_set_update()  argument
103 void __iomem *layer = zplane->layer; in zx_vl_set_update()
108 static inline void zx_vl_rsz_set_update(struct zx_plane *zplane) in zx_vl_rsz_set_update() argument
110 zx_writel(zplane->rsz + RSZ_VL_ENABLE_CFG, 1); in zx_vl_rsz_set_update()
147 static void zx_vl_rsz_setup(struct zx_plane *zplane, uint32_t format, in zx_vl_rsz_setup() argument
150 void __iomem *rsz = zplane->rsz; in zx_vl_rsz_setup()
178 zx_vl_rsz_set_update(zplane); in zx_vl_rsz_setup()
184 struct zx_plane *zplane = to_zx_plane(plane); in zx_vl_plane_atomic_update() local
190 void __iomem *layer = zplane->layer; in zx_vl_plane_atomic_update()
191 void __iomem *hbsc = zplane->hbsc; in zx_vl_plane_atomic_update()
249 zx_vl_rsz_setup(zplane, format, src_w, src_h, dst_w, dst_h); in zx_vl_plane_atomic_update()
256 zx_vl_set_update(zplane); in zx_vl_plane_atomic_update()
262 struct zx_plane *zplane = to_zx_plane(plane); in zx_plane_atomic_disable() local
263 void __iomem *hbsc = zplane->hbsc; in zx_plane_atomic_disable()
326 static inline void zx_gl_set_update(struct zx_plane *zplane) in zx_gl_set_update() argument
328 void __iomem *layer = zplane->layer; in zx_gl_set_update()
333 static inline void zx_gl_rsz_set_update(struct zx_plane *zplane) in zx_gl_rsz_set_update() argument
335 zx_writel(zplane->rsz + RSZ_ENABLE_CFG, 1); in zx_gl_rsz_set_update()
338 static void zx_gl_rsz_setup(struct zx_plane *zplane, u32 src_w, u32 src_h, in zx_gl_rsz_setup() argument
341 void __iomem *rsz = zplane->rsz; in zx_gl_rsz_setup()
346 zx_gl_rsz_set_update(zplane); in zx_gl_rsz_setup()
352 struct zx_plane *zplane = to_zx_plane(plane); in zx_gl_plane_atomic_update() local
355 void __iomem *layer = zplane->layer; in zx_gl_plane_atomic_update()
356 void __iomem *csc = zplane->csc; in zx_gl_plane_atomic_update()
357 void __iomem *hbsc = zplane->hbsc; in zx_gl_plane_atomic_update()
425 zx_gl_rsz_setup(zplane, src_w, src_h, dst_w, dst_h); in zx_gl_plane_atomic_update()
432 zx_gl_set_update(zplane); in zx_gl_plane_atomic_update()
457 struct zx_plane *zplane = to_zx_plane(plane); in zx_plane_set_update() local
465 zx_gl_rsz_set_update(zplane); in zx_plane_set_update()
466 zx_gl_set_update(zplane); in zx_plane_set_update()
469 zx_vl_rsz_set_update(zplane); in zx_plane_set_update()
470 zx_vl_set_update(zplane); in zx_plane_set_update()
477 static void zx_plane_hbsc_init(struct zx_plane *zplane) in zx_plane_hbsc_init() argument
479 void __iomem *hbsc = zplane->hbsc; in zx_plane_hbsc_init()
495 int zx_plane_init(struct drm_device *drm, struct zx_plane *zplane, in zx_plane_init() argument
499 struct drm_plane *plane = &zplane->plane; in zx_plane_init()
500 struct device *dev = zplane->dev; in zx_plane_init()
505 zx_plane_hbsc_init(zplane); in zx_plane_init()