Lines Matching refs:layer

82 				int layer, bool enable)  in sun4i_backend_layer_enable()  argument
87 layer); in sun4i_backend_layer_enable()
90 val = SUN4I_BACKEND_MODCTL_LAY_EN(layer); in sun4i_backend_layer_enable()
95 SUN4I_BACKEND_MODCTL_LAY_EN(layer), val); in sun4i_backend_layer_enable()
170 int layer, struct drm_plane *plane) in sun4i_backend_update_layer_coord() argument
174 DRM_DEBUG_DRIVER("Updating layer %d\n", layer); in sun4i_backend_update_layer_coord()
179 regmap_write(backend->engine.regs, SUN4I_BACKEND_LAYSIZE_REG(layer), in sun4i_backend_update_layer_coord()
186 regmap_write(backend->engine.regs, SUN4I_BACKEND_LAYCOOR_REG(layer), in sun4i_backend_update_layer_coord()
194 int layer, struct drm_plane *plane) in sun4i_backend_update_yuv_format() argument
212 regmap_update_bits(backend->engine.regs, SUN4I_BACKEND_ATTCTL_REG0(layer), in sun4i_backend_update_yuv_format()
251 int layer, struct drm_plane *plane) in sun4i_backend_update_layer_formats() argument
259 regmap_update_bits(backend->engine.regs, SUN4I_BACKEND_ATTCTL_REG0(layer), in sun4i_backend_update_layer_formats()
266 SUN4I_BACKEND_ATTCTL_REG0(layer), in sun4i_backend_update_layer_formats()
272 return sun4i_backend_update_yuv_format(backend, layer, plane); in sun4i_backend_update_layer_formats()
281 SUN4I_BACKEND_ATTCTL_REG1(layer), in sun4i_backend_update_layer_formats()
288 int layer, uint32_t fmt) in sun4i_backend_update_layer_frontend() argument
300 SUN4I_BACKEND_ATTCTL_REG0(layer), in sun4i_backend_update_layer_frontend()
305 SUN4I_BACKEND_ATTCTL_REG1(layer), in sun4i_backend_update_layer_frontend()
327 int layer, struct drm_plane *plane) in sun4i_backend_update_layer_buffer() argument
337 SUN4I_BACKEND_LAYLINEWIDTH_REG(layer), in sun4i_backend_update_layer_buffer()
351 SUN4I_BACKEND_LAYFB_L32ADD_REG(layer), in sun4i_backend_update_layer_buffer()
358 SUN4I_BACKEND_LAYFB_H4ADD_MSK(layer), in sun4i_backend_update_layer_buffer()
359 SUN4I_BACKEND_LAYFB_H4ADD(layer, hi_paddr)); in sun4i_backend_update_layer_buffer()
364 int sun4i_backend_update_layer_zpos(struct sun4i_backend *backend, int layer, in sun4i_backend_update_layer_zpos() argument
373 layer, priority, pipe); in sun4i_backend_update_layer_zpos()
374 regmap_update_bits(backend->engine.regs, SUN4I_BACKEND_ATTCTL_REG0(layer), in sun4i_backend_update_layer_zpos()
384 int layer) in sun4i_backend_cleanup_layer() argument
387 SUN4I_BACKEND_ATTCTL_REG0(layer), in sun4i_backend_cleanup_layer()
408 struct sun4i_layer *layer = plane_to_sun4i_layer(state->plane); in sun4i_backend_plane_uses_frontend() local
409 struct sun4i_backend *backend = layer->backend; in sun4i_backend_plane_uses_frontend()