/kernel/linux/linux-5.10/drivers/gpu/drm/exynos/ |
D | exynos_drm_rotator.c | 45 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),
|
D | exynos_drm_ipp.h | 60 unsigned int num_formats; member 130 unsigned int num_formats, const char *name);
|
D | exynos_drm_ipp.c | 51 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()
|
D | exynos_drm_gsc.c | 104 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()
|
D | exynos_drm_scaler.c | 36 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),
|
D | exynos_drm_fimc.c | 104 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/ |
D | vdec_platform.c | 244 .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),
|
D | vdec.c | 565 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()
|
D | vdec_platform.h | 24 const u32 num_formats; member
|
/kernel/linux/linux-5.10/drivers/media/platform/vsp1/ |
D | vsp1_histo.h | 40 unsigned int num_formats; member 67 const unsigned int *formats, unsigned int num_formats,
|
D | vsp1_histo.c | 184 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/ |
D | intel_sprite.c | 2946 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/ |
D | mtk_jpeg_core.c | 222 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 …]
|
D | mtk_jpeg_core.h | 66 int num_formats; member
|
/kernel/linux/linux-5.10/drivers/media/i2c/ |
D | mt9t112.c | 98 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/ |
D | tidss_plane.h | 23 u32 num_formats);
|
D | tidss_plane.c | 170 u32 num_formats) in tidss_plane_create() argument 198 formats, num_formats, in tidss_plane_create()
|
/kernel/linux/linux-5.10/sound/usb/ |
D | proc.c | 196 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()
|
D | card.h | 158 unsigned int num_formats; /* number of supported audio formats (list) */ member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/xlnx/ |
D | zynqmp_disp.c | 134 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/ |
D | msi2500.c | 127 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/ |
D | overlay.c | 283 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/ |
D | ingenic-ipu.c | 36 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/ |
D | vbox_mode.c | 507 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/ |
D | dc.c | 787 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()
|