Searched refs:hw_fmt (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.6/drivers/gpu/drm/sun4i/ |
D | sun8i_ui_layer.c | 170 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()
|
D | sun8i_vi_layer.c | 265 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-v6.6/drivers/media/platform/amlogic/meson-ge2d/ |
D | ge2d.c | 53 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()
|