Home
last modified time | relevance | path

Searched refs:fmt_info (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/sun4i/
Dsun8i_vi_layer.c217 const struct de2_fmt_info *fmt_info; in sun8i_vi_layer_update_formats() local
222 fmt_info = sun8i_mixer_format_info(state->fb->format->format); in sun8i_vi_layer_update_formats()
223 if (!fmt_info) { in sun8i_vi_layer_update_formats()
228 val = fmt_info->de2_fmt << SUN8I_MIXER_CHAN_VI_LAYER_ATTR_FBFMT_OFFSET; in sun8i_vi_layer_update_formats()
233 if (fmt_info->csc != SUN8I_CSC_MODE_OFF) { in sun8i_vi_layer_update_formats()
234 sun8i_csc_set_ccsc_coefficients(mixer, channel, fmt_info->csc, in sun8i_vi_layer_update_formats()
242 if (fmt_info->rgb) in sun8i_vi_layer_update_formats()
Dsun8i_ui_layer.c177 const struct de2_fmt_info *fmt_info; in sun8i_ui_layer_update_formats() local
182 fmt_info = sun8i_mixer_format_info(state->fb->format->format); in sun8i_ui_layer_update_formats()
183 if (!fmt_info || !fmt_info->rgb) { in sun8i_ui_layer_update_formats()
188 val = fmt_info->de2_fmt << SUN8I_MIXER_CHAN_UI_LAYER_ATTR_FBFMT_OFFSET; in sun8i_ui_layer_update_formats()
/Linux-v5.4/drivers/staging/greybus/
Dcamera.c230 const struct gb_camera_fmt_info *fmt_info; in gb_camera_get_max_pkt_size() local
233 fmt_info = gb_camera_get_format_info(cfg->format); in gb_camera_get_max_pkt_size()
234 if (!fmt_info) { in gb_camera_get_max_pkt_size()
240 if (fmt_info->bpp == 0) { in gb_camera_get_max_pkt_size()
250 pkt_size = le16_to_cpu(cfg->width) * fmt_info->bpp / 8; in gb_camera_get_max_pkt_size()
/Linux-v5.4/drivers/media/platform/omap3isp/
Dispccdc.c1120 const struct isp_format_info *fmt_info; in ccdc_configure() local
1155 fmt_info = omap3isp_video_format_info(fmt_src.format.code); in ccdc_configure()
1156 depth_in = fmt_info->width; in ccdc_configure()
1159 fmt_info = omap3isp_video_format_info(format->code); in ccdc_configure()
1160 depth_out = fmt_info->width; in ccdc_configure()
1165 else if (fmt_info->code == MEDIA_BUS_FMT_YUYV8_2X8) in ccdc_configure()
1167 else if (fmt_info->code == MEDIA_BUS_FMT_UYVY8_2X8) in ccdc_configure()