Home
last modified time | relevance | path

Searched refs:num_formats (Results 1 – 25 of 41) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/gpu/drm/exynos/
Dexynos_drm_rotator.c45 unsigned int num_formats; member
64 unsigned int num_formats; member
251 rot->formats, rot->num_formats, "rotator"); in rotator_bind()
288 rot->num_formats = variant->num_formats; in rotator_probe()
414 .num_formats = ARRAY_SIZE(rotator_s5pv210_formats),
419 .num_formats = ARRAY_SIZE(rotator_4210_formats),
424 .num_formats = ARRAY_SIZE(rotator_4412_formats),
429 .num_formats = ARRAY_SIZE(rotator_5250_formats),
Dexynos_drm_ipp.h60 unsigned int num_formats; member
130 unsigned int num_formats, const char *name);
Dexynos_drm_ipp.c51 unsigned int num_formats, const char *name) in exynos_drm_ipp_register() argument
56 WARN_ON(!num_formats); in exynos_drm_ipp_register()
66 ipp->num_formats = num_formats; in exynos_drm_ipp_register()
170 if (resp->formats_count >= ipp->num_formats) { in exynos_drm_ipp_get_caps_ioctl()
171 for (i = 0; i < ipp->num_formats; i++) { in exynos_drm_ipp_get_caps_ioctl()
183 resp->formats_count = ipp->num_formats; in exynos_drm_ipp_get_caps_ioctl()
194 for (i = 0; i < ipp->num_formats; i++) { in __ipp_format_get()
Dexynos_drm_gsc.c104 unsigned int num_formats; member
1178 ctx->formats, ctx->num_formats, "gsc"); in gsc_bind()
1220 int num_formats, ret, i, j; in gsc_probe() local
1232 num_formats = ARRAY_SIZE(gsc_formats) + ARRAY_SIZE(gsc_tiled_formats); in gsc_probe()
1233 formats = devm_kcalloc(dev, num_formats, sizeof(*formats), GFP_KERNEL); in gsc_probe()
1257 ctx->num_formats = num_formats; in gsc_probe()
Dexynos_drm_scaler.c36 unsigned int num_formats; member
460 scaler->scaler_data->num_formats, "scaler"); in scaler_bind()
705 .num_formats = ARRAY_SIZE(exynos5420_formats),
712 .num_formats = ARRAY_SIZE(exynos5420_formats),
Dexynos_drm_fimc.c104 unsigned int num_formats; member
1142 ctx->formats, ctx->num_formats, "fimc"); in fimc_bind()
1268 int i, j, num_limits, num_formats; in fimc_probe() local
1281 num_formats = ARRAY_SIZE(fimc_formats) + ARRAY_SIZE(fimc_tiled_formats); in fimc_probe()
1282 formats = devm_kcalloc(dev, num_formats, sizeof(*formats), in fimc_probe()
1321 ctx->num_formats = num_formats; in fimc_probe()
/kernel/linux/linux-5.10/drivers/staging/media/meson/vdec/
Dvdec_platform.c244 .num_formats = ARRAY_SIZE(vdec_formats_gxbb),
250 .num_formats = ARRAY_SIZE(vdec_formats_gxl),
256 .num_formats = ARRAY_SIZE(vdec_formats_gxm),
262 .num_formats = ARRAY_SIZE(vdec_formats_g12a),
268 .num_formats = ARRAY_SIZE(vdec_formats_sm1),
Dvdec.c565 vdec_try_fmt_common(sess, sess->core->platform->num_formats, f); in vdec_try_fmt()
593 vdec_try_fmt_common(sess, sess->core->platform->num_formats, f); in vdec_g_fmt()
603 u32 num_formats = sess->core->platform->num_formats; in vdec_s_fmt() local
611 fmt_out = vdec_try_fmt_common(sess, num_formats, f); in vdec_s_fmt()
629 vdec_try_fmt_common(sess, num_formats, &format); in vdec_s_fmt()
647 vdec_try_fmt_common(sess, num_formats, &format); in vdec_s_fmt()
670 if (f->index >= platform->num_formats) in vdec_enum_fmt()
696 u32 num_formats = sess->core->platform->num_formats; in vdec_enum_framesizes() local
698 fmt = find_format(formats, num_formats, fsize->pixel_format); in vdec_enum_framesizes()
Dvdec_platform.h24 const u32 num_formats; member
/kernel/linux/linux-5.10/drivers/media/platform/vsp1/
Dvsp1_histo.h40 unsigned int num_formats; member
67 const unsigned int *formats, unsigned int num_formats,
Dvsp1_histo.c184 histo->num_formats); in histo_enum_mbus_code()
397 histo->formats, histo->num_formats, in histo_set_format()
517 const unsigned int *formats, unsigned int num_formats, in vsp1_histogram_init() argument
523 histo->num_formats = num_formats; in vsp1_histogram_init()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_sprite.c2946 int *num_formats) in skl_get_plane_formats() argument
2949 *num_formats = ARRAY_SIZE(skl_planar_formats); in skl_get_plane_formats()
2952 *num_formats = ARRAY_SIZE(skl_plane_formats); in skl_get_plane_formats()
2959 int *num_formats) in glk_get_plane_formats() argument
2962 *num_formats = ARRAY_SIZE(glk_planar_formats); in glk_get_plane_formats()
2965 *num_formats = ARRAY_SIZE(skl_plane_formats); in glk_get_plane_formats()
2972 int *num_formats) in icl_get_plane_formats() argument
2975 *num_formats = ARRAY_SIZE(icl_hdr_plane_formats); in icl_get_plane_formats()
2978 *num_formats = ARRAY_SIZE(icl_sdr_y_plane_formats); in icl_get_plane_formats()
2981 *num_formats = ARRAY_SIZE(icl_sdr_uv_plane_formats); in icl_get_plane_formats()
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/mtk-jpeg/
Dmtk_jpeg_core.c222 jpeg->variant->num_formats, f, in mtk_jpeg_enum_fmt_vid_cap()
233 jpeg->variant->num_formats, f, in mtk_jpeg_enum_fmt_vid_out()
246 mtk_jpeg_find_format(struct mtk_jpeg_fmt *mtk_jpeg_formats, int num_formats, in mtk_jpeg_find_format() argument
252 for (k = 0; k < num_formats; k++) { in mtk_jpeg_find_format()
362 jpeg->variant->num_formats, in mtk_jpeg_try_fmt_vid_cap_mplane()
391 jpeg->variant->num_formats, in mtk_jpeg_try_fmt_vid_out_mplane()
433 jpeg->variant->num_formats, in mtk_jpeg_s_fmt_mplane()
720 jpeg->variant->num_formats, param->dst_fourcc, in mtk_jpeg_check_resolution_change()
743 jpeg->variant->num_formats, in mtk_jpeg_set_queue_data()
1182 jpeg->variant->num_formats, in mtk_jpeg_set_default_params()
[all …]
Dmtk_jpeg_core.h66 int num_formats; member
/kernel/linux/linux-5.10/drivers/media/i2c/
Dmt9t112.c98 int num_formats; member
854 for (i = 0; i < priv->num_formats; i++) in mt9t112_set_params()
858 if (i == priv->num_formats) in mt9t112_set_params()
967 for (i = 0; i < priv->num_formats; i++) in mt9t112_set_fmt()
971 if (i == priv->num_formats) { in mt9t112_set_fmt()
997 if (code->pad || code->index >= priv->num_formats) in mt9t112_enum_mbus_code()
1043 priv->num_formats = 1; in mt9t112_camera_probe()
1047 priv->num_formats = ARRAY_SIZE(mt9t112_cfmts); in mt9t112_camera_probe()
/kernel/linux/linux-5.10/drivers/gpu/drm/tidss/
Dtidss_plane.h23 u32 num_formats);
Dtidss_plane.c170 u32 num_formats) in tidss_plane_create() argument
198 formats, num_formats, in tidss_plane_create()
/kernel/linux/linux-5.10/sound/usb/
Dproc.c196 if (stream->substream[SNDRV_PCM_STREAM_PLAYBACK].num_formats) { in proc_pcm_format_read()
201 if (stream->substream[SNDRV_PCM_STREAM_CAPTURE].num_formats) { in proc_pcm_format_read()
Dcard.h158 unsigned int num_formats; /* number of supported audio formats (list) */ member
/kernel/linux/linux-5.10/drivers/gpu/drm/xlnx/
Dzynqmp_disp.c134 unsigned int num_formats; member
1012 for (i = 0; i < layer->info->num_formats; i++) { in zynqmp_disp_layer_find_format()
1232 layer->info->num_formats, in zynqmp_disp_create_planes()
1237 for (j = 0; j < layer->info->num_formats; ++j) in zynqmp_disp_create_planes()
1246 layer->info->num_formats, in zynqmp_disp_create_planes()
1343 .num_formats = ARRAY_SIZE(avbuf_vid_fmts), in zynqmp_disp_create_layers()
1348 .num_formats = ARRAY_SIZE(avbuf_gfx_fmts), in zynqmp_disp_create_layers()
/kernel/linux/linux-5.10/drivers/media/usb/msi2500/
Dmsi2500.c127 unsigned int num_formats; member
897 if (f->index >= dev->num_formats) in msi2500_enum_fmt_sdr_cap()
934 for (i = 0; i < dev->num_formats; i++) { in msi2500_s_fmt_sdr_cap()
961 for (i = 0; i < dev->num_formats; i++) { in msi2500_try_fmt_sdr_cap()
1193 dev->num_formats = NUM_FORMATS; in msi2500_probe()
1195 dev->num_formats -= 2; in msi2500_probe()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv04/
Doverlay.c283 unsigned int num_formats = ARRAY_SIZE(formats); in nv10_overlay_init() local
295 num_formats = 2; in nv10_overlay_init()
301 formats, num_formats, false); in nv10_overlay_init()
/kernel/linux/linux-5.10/drivers/gpu/drm/ingenic/
Dingenic-ipu.c36 size_t num_formats; member
755 soc_info->formats, soc_info->num_formats, in ingenic_ipu_bind()
833 .num_formats = ARRAY_SIZE(jz4725b_ipu_formats),
859 .num_formats = ARRAY_SIZE(jz4760_ipu_formats),
/kernel/linux/linux-5.10/drivers/gpu/drm/vboxvideo/
Dvbox_mode.c507 int num_formats; in vbox_create_plane() local
514 num_formats = ARRAY_SIZE(vbox_primary_plane_formats); in vbox_create_plane()
519 num_formats = ARRAY_SIZE(vbox_cursor_plane_formats); in vbox_create_plane()
529 funcs, formats, num_formats, in vbox_create_plane()
/kernel/linux/linux-5.10/drivers/gpu/drm/tegra/
Ddc.c787 unsigned int num_formats; in tegra_primary_plane_create() local
801 num_formats = dc->soc->num_primary_formats; in tegra_primary_plane_create()
807 num_formats, modifiers, type, NULL); in tegra_primary_plane_create()
960 unsigned int num_formats; in tegra_dc_cursor_plane_create() local
978 num_formats = ARRAY_SIZE(tegra_cursor_plane_formats); in tegra_dc_cursor_plane_create()
983 num_formats, linear_modifiers, in tegra_dc_cursor_plane_create()
1079 unsigned int num_formats; in tegra_dc_overlay_plane_create() local
1092 num_formats = dc->soc->num_overlay_formats; in tegra_dc_overlay_plane_create()
1102 num_formats, linear_modifiers, in tegra_dc_overlay_plane_create()

12