Home
last modified time | relevance | path

Searched refs:hw_fmt (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/sun4i/
Dsun8i_ui_layer.c170 u32 val, ch_base, hw_fmt; in sun8i_ui_layer_update_formats() local
176 ret = sun8i_mixer_drm_format_to_hw(fmt->format, &hw_fmt); in sun8i_ui_layer_update_formats()
182 val = hw_fmt << SUN8I_MIXER_CHAN_UI_LAYER_ATTR_FBFMT_OFFSET; in sun8i_ui_layer_update_formats()
Dsun8i_vi_layer.c265 u32 val, ch_base, csc_mode, hw_fmt; in sun8i_vi_layer_update_formats() local
272 ret = sun8i_mixer_drm_format_to_hw(fmt->format, &hw_fmt); in sun8i_vi_layer_update_formats()
278 val = hw_fmt << SUN8I_MIXER_CHAN_VI_LAYER_ATTR_FBFMT_OFFSET; in sun8i_vi_layer_update_formats()
/linux-6.1.9/drivers/media/platform/amlogic/meson-ge2d/
Dge2d.c53 unsigned int hw_fmt; member
105 .hw_fmt = GE2D_FORMAT_ ## _depth ## BIT, \
208 FIELD_PREP(GE2D_DST1_FORMAT, ctx->out.fmt->hw_fmt) | in ge2d_hw_start()
210 FIELD_PREP(GE2D_SRC2_FORMAT, ctx->out.fmt->hw_fmt) | in ge2d_hw_start()
212 FIELD_PREP(GE2D_SRC1_FORMAT, ctx->in.fmt->hw_fmt)); in ge2d_hw_start()