num_formats 4690 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c int i, num_formats = 0; num_formats 4701 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c if (num_formats >= max_formats) num_formats 4704 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c formats[num_formats++] = rgb_formats[i]; num_formats 4708 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c formats[num_formats++] = DRM_FORMAT_NV12; num_formats 4713 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c if (num_formats >= max_formats) num_formats 4716 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c formats[num_formats++] = overlay_formats[i]; num_formats 4722 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c if (num_formats >= max_formats) num_formats 4725 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c formats[num_formats++] = cursor_formats[i]; num_formats 4730 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c return num_formats; num_formats 4739 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c int num_formats; num_formats 4742 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c num_formats = get_plane_formats(plane, plane_cap, formats, num_formats 4746 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c &dm_plane_funcs, formats, num_formats, num_formats 773 drivers/gpu/drm/drm_connector.c unsigned int num_formats) num_formats 777 drivers/gpu/drm/drm_connector.c if (!formats && num_formats) num_formats 780 drivers/gpu/drm/drm_connector.c if (formats && num_formats) { num_formats 781 drivers/gpu/drm/drm_connector.c fmts = kmemdup(formats, sizeof(*formats) * num_formats, num_formats 789 drivers/gpu/drm/drm_connector.c info->num_bus_formats = num_formats; num_formats 104 drivers/gpu/drm/exynos/exynos_drm_fimc.c unsigned int num_formats; num_formats 1142 drivers/gpu/drm/exynos/exynos_drm_fimc.c ctx->formats, ctx->num_formats, "fimc"); num_formats 1268 drivers/gpu/drm/exynos/exynos_drm_fimc.c int i, j, num_limits, num_formats; num_formats 1281 drivers/gpu/drm/exynos/exynos_drm_fimc.c num_formats = ARRAY_SIZE(fimc_formats) + ARRAY_SIZE(fimc_tiled_formats); num_formats 1282 drivers/gpu/drm/exynos/exynos_drm_fimc.c formats = devm_kcalloc(dev, num_formats, sizeof(*formats), num_formats 1321 drivers/gpu/drm/exynos/exynos_drm_fimc.c ctx->num_formats = num_formats; num_formats 104 drivers/gpu/drm/exynos/exynos_drm_gsc.c unsigned int num_formats; num_formats 1178 drivers/gpu/drm/exynos/exynos_drm_gsc.c ctx->formats, ctx->num_formats, "gsc"); num_formats 1220 drivers/gpu/drm/exynos/exynos_drm_gsc.c int num_formats, ret, i, j; num_formats 1232 drivers/gpu/drm/exynos/exynos_drm_gsc.c num_formats = ARRAY_SIZE(gsc_formats) + ARRAY_SIZE(gsc_tiled_formats); num_formats 1233 drivers/gpu/drm/exynos/exynos_drm_gsc.c formats = devm_kcalloc(dev, num_formats, sizeof(*formats), GFP_KERNEL); num_formats 1257 drivers/gpu/drm/exynos/exynos_drm_gsc.c ctx->num_formats = num_formats; num_formats 51 drivers/gpu/drm/exynos/exynos_drm_ipp.c unsigned int num_formats, const char *name) num_formats 56 drivers/gpu/drm/exynos/exynos_drm_ipp.c WARN_ON(!num_formats); num_formats 66 drivers/gpu/drm/exynos/exynos_drm_ipp.c ipp->num_formats = num_formats; num_formats 170 drivers/gpu/drm/exynos/exynos_drm_ipp.c if (resp->formats_count >= ipp->num_formats) { num_formats 171 drivers/gpu/drm/exynos/exynos_drm_ipp.c for (i = 0; i < ipp->num_formats; i++) { num_formats 183 drivers/gpu/drm/exynos/exynos_drm_ipp.c resp->formats_count = ipp->num_formats; num_formats 194 drivers/gpu/drm/exynos/exynos_drm_ipp.c for (i = 0; i < ipp->num_formats; i++) { num_formats 60 drivers/gpu/drm/exynos/exynos_drm_ipp.h unsigned int num_formats; num_formats 130 drivers/gpu/drm/exynos/exynos_drm_ipp.h unsigned int num_formats, const char *name); num_formats 45 drivers/gpu/drm/exynos/exynos_drm_rotator.c unsigned int num_formats; num_formats 64 drivers/gpu/drm/exynos/exynos_drm_rotator.c unsigned int num_formats; num_formats 251 drivers/gpu/drm/exynos/exynos_drm_rotator.c rot->formats, rot->num_formats, "rotator"); num_formats 288 drivers/gpu/drm/exynos/exynos_drm_rotator.c rot->num_formats = variant->num_formats; num_formats 416 drivers/gpu/drm/exynos/exynos_drm_rotator.c .num_formats = ARRAY_SIZE(rotator_s5pv210_formats), num_formats 421 drivers/gpu/drm/exynos/exynos_drm_rotator.c .num_formats = ARRAY_SIZE(rotator_4210_formats), num_formats 426 drivers/gpu/drm/exynos/exynos_drm_rotator.c .num_formats = ARRAY_SIZE(rotator_4412_formats), num_formats 431 drivers/gpu/drm/exynos/exynos_drm_rotator.c .num_formats = ARRAY_SIZE(rotator_5250_formats), num_formats 36 drivers/gpu/drm/exynos/exynos_drm_scaler.c unsigned int num_formats; num_formats 460 drivers/gpu/drm/exynos/exynos_drm_scaler.c scaler->scaler_data->num_formats, "scaler"); num_formats 707 drivers/gpu/drm/exynos/exynos_drm_scaler.c .num_formats = ARRAY_SIZE(exynos5420_formats), num_formats 714 drivers/gpu/drm/exynos/exynos_drm_scaler.c .num_formats = ARRAY_SIZE(exynos5420_formats), num_formats 2464 drivers/gpu/drm/i915/display/intel_display.c int num_formats, u32 format) num_formats 2468 drivers/gpu/drm/i915/display/intel_display.c for (i = 0; i < num_formats; i++) { num_formats 14848 drivers/gpu/drm/i915/display/intel_display.c int num_formats; num_formats 14880 drivers/gpu/drm/i915/display/intel_display.c num_formats = ARRAY_SIZE(i965_primary_formats); num_formats 14892 drivers/gpu/drm/i915/display/intel_display.c num_formats = ARRAY_SIZE(i8xx_primary_formats); num_formats 14909 drivers/gpu/drm/i915/display/intel_display.c formats, num_formats, modifiers, num_formats 14915 drivers/gpu/drm/i915/display/intel_display.c formats, num_formats, modifiers, num_formats 2372 drivers/gpu/drm/i915/display/intel_sprite.c int *num_formats) num_formats 2375 drivers/gpu/drm/i915/display/intel_sprite.c *num_formats = ARRAY_SIZE(skl_planar_formats); num_formats 2378 drivers/gpu/drm/i915/display/intel_sprite.c *num_formats = ARRAY_SIZE(skl_plane_formats); num_formats 2385 drivers/gpu/drm/i915/display/intel_sprite.c int *num_formats) num_formats 2388 drivers/gpu/drm/i915/display/intel_sprite.c *num_formats = ARRAY_SIZE(glk_planar_formats); num_formats 2391 drivers/gpu/drm/i915/display/intel_sprite.c *num_formats = ARRAY_SIZE(skl_plane_formats); num_formats 2398 drivers/gpu/drm/i915/display/intel_sprite.c int *num_formats) num_formats 2401 drivers/gpu/drm/i915/display/intel_sprite.c *num_formats = ARRAY_SIZE(icl_hdr_plane_formats); num_formats 2404 drivers/gpu/drm/i915/display/intel_sprite.c *num_formats = ARRAY_SIZE(icl_sdr_y_plane_formats); num_formats 2407 drivers/gpu/drm/i915/display/intel_sprite.c *num_formats = ARRAY_SIZE(icl_sdr_uv_plane_formats); num_formats 2439 drivers/gpu/drm/i915/display/intel_sprite.c int num_formats; num_formats 2467 drivers/gpu/drm/i915/display/intel_sprite.c plane_id, &num_formats); num_formats 2470 drivers/gpu/drm/i915/display/intel_sprite.c plane_id, &num_formats); num_formats 2473 drivers/gpu/drm/i915/display/intel_sprite.c plane_id, &num_formats); num_formats 2490 drivers/gpu/drm/i915/display/intel_sprite.c formats, num_formats, modifiers, num_formats 2542 drivers/gpu/drm/i915/display/intel_sprite.c int num_formats; num_formats 2561 drivers/gpu/drm/i915/display/intel_sprite.c num_formats = ARRAY_SIZE(vlv_plane_formats); num_formats 2573 drivers/gpu/drm/i915/display/intel_sprite.c num_formats = ARRAY_SIZE(snb_plane_formats); num_formats 2587 drivers/gpu/drm/i915/display/intel_sprite.c num_formats = ARRAY_SIZE(snb_plane_formats); num_formats 2592 drivers/gpu/drm/i915/display/intel_sprite.c num_formats = ARRAY_SIZE(g4x_plane_formats); num_formats 2615 drivers/gpu/drm/i915/display/intel_sprite.c formats, num_formats, modifiers, num_formats 146 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c .num_formats = ARRAY_SIZE(plane_formats_yuv), \ num_formats 160 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c .num_formats = ARRAY_SIZE(plane_formats), \ num_formats 352 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h u32 num_formats; num_formats 1464 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c uint32_t num_formats; num_formats 1509 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c num_formats = pdpu->pipe_sblk->virt_num_formats; num_formats 1513 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c num_formats = pdpu->pipe_sblk->num_formats; num_formats 1517 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c format_list, num_formats, num_formats 281 drivers/gpu/drm/nouveau/dispnv04/overlay.c unsigned int num_formats = ARRAY_SIZE(formats); num_formats 293 drivers/gpu/drm/nouveau/dispnv04/overlay.c num_formats = 2; num_formats 299 drivers/gpu/drm/nouveau/dispnv04/overlay.c formats, num_formats, false); num_formats 899 drivers/gpu/drm/qxl/qxl_display.c int num_formats; num_formats 905 drivers/gpu/drm/qxl/qxl_display.c num_formats = ARRAY_SIZE(qxl_primary_plane_formats); num_formats 911 drivers/gpu/drm/qxl/qxl_display.c num_formats = ARRAY_SIZE(qxl_cursor_plane_formats); num_formats 921 drivers/gpu/drm/qxl/qxl_display.c funcs, formats, num_formats, num_formats 763 drivers/gpu/drm/tegra/dc.c unsigned int num_formats; num_formats 777 drivers/gpu/drm/tegra/dc.c num_formats = dc->soc->num_primary_formats; num_formats 783 drivers/gpu/drm/tegra/dc.c num_formats, modifiers, type, NULL); num_formats 927 drivers/gpu/drm/tegra/dc.c unsigned int num_formats; num_formats 945 drivers/gpu/drm/tegra/dc.c num_formats = ARRAY_SIZE(tegra_cursor_plane_formats); num_formats 950 drivers/gpu/drm/tegra/dc.c num_formats, NULL, num_formats 1045 drivers/gpu/drm/tegra/dc.c unsigned int num_formats; num_formats 1058 drivers/gpu/drm/tegra/dc.c num_formats = dc->soc->num_overlay_formats; num_formats 1068 drivers/gpu/drm/tegra/dc.c num_formats, NULL, type, NULL); num_formats 540 drivers/gpu/drm/tegra/hub.c unsigned int num_formats; num_formats 558 drivers/gpu/drm/tegra/hub.c num_formats = ARRAY_SIZE(tegra_shared_plane_formats); num_formats 564 drivers/gpu/drm/tegra/hub.c num_formats, modifiers, type, NULL); num_formats 537 drivers/gpu/drm/vboxvideo/vbox_mode.c int num_formats; num_formats 544 drivers/gpu/drm/vboxvideo/vbox_mode.c num_formats = ARRAY_SIZE(vbox_primary_plane_formats); num_formats 549 drivers/gpu/drm/vboxvideo/vbox_mode.c num_formats = ARRAY_SIZE(vbox_cursor_plane_formats); num_formats 559 drivers/gpu/drm/vboxvideo/vbox_mode.c funcs, formats, num_formats, num_formats 139 drivers/media/dvb-frontends/rtl2832_sdr.c unsigned int num_formats; num_formats 1114 drivers/media/dvb-frontends/rtl2832_sdr.c if (f->index >= dev->num_formats) num_formats 1153 drivers/media/dvb-frontends/rtl2832_sdr.c for (i = 0; i < dev->num_formats; i++) { num_formats 1181 drivers/media/dvb-frontends/rtl2832_sdr.c for (i = 0; i < dev->num_formats; i++) { num_formats 1351 drivers/media/dvb-frontends/rtl2832_sdr.c dev->num_formats = NUM_FORMATS; num_formats 1353 drivers/media/dvb-frontends/rtl2832_sdr.c dev->num_formats -= 1; num_formats 98 drivers/media/i2c/mt9t112.c int num_formats; num_formats 854 drivers/media/i2c/mt9t112.c for (i = 0; i < priv->num_formats; i++) num_formats 858 drivers/media/i2c/mt9t112.c if (i == priv->num_formats) num_formats 967 drivers/media/i2c/mt9t112.c for (i = 0; i < priv->num_formats; i++) num_formats 971 drivers/media/i2c/mt9t112.c if (i == priv->num_formats) { num_formats 997 drivers/media/i2c/mt9t112.c if (code->pad || code->index >= priv->num_formats) num_formats 1043 drivers/media/i2c/mt9t112.c priv->num_formats = 1; num_formats 1047 drivers/media/i2c/mt9t112.c priv->num_formats = ARRAY_SIZE(mt9t112_cfmts); num_formats 887 drivers/media/platform/atmel/atmel-isc-base.c unsigned int num_formats = isc->num_user_formats; num_formats 891 drivers/media/platform/atmel/atmel-isc-base.c for (i = 0; i < num_formats; i++) { num_formats 544 drivers/media/platform/atmel/atmel-isi.c unsigned int num_formats = isi->num_user_formats; num_formats 548 drivers/media/platform/atmel/atmel-isi.c for (i = 0; i < num_formats; i++) { num_formats 925 drivers/media/platform/stm32/stm32-dcmi.c unsigned int num_formats = dcmi->num_of_sd_formats; num_formats 929 drivers/media/platform/stm32/stm32-dcmi.c for (i = 0; i < num_formats; i++) { num_formats 184 drivers/media/platform/vsp1/vsp1_histo.c histo->num_formats); num_formats 397 drivers/media/platform/vsp1/vsp1_histo.c histo->formats, histo->num_formats, num_formats 517 drivers/media/platform/vsp1/vsp1_histo.c const unsigned int *formats, unsigned int num_formats, num_formats 523 drivers/media/platform/vsp1/vsp1_histo.c histo->num_formats = num_formats; num_formats 40 drivers/media/platform/vsp1/vsp1_histo.h unsigned int num_formats; num_formats 67 drivers/media/platform/vsp1/vsp1_histo.h const unsigned int *formats, unsigned int num_formats, num_formats 127 drivers/media/usb/msi2500/msi2500.c unsigned int num_formats; num_formats 897 drivers/media/usb/msi2500/msi2500.c if (f->index >= dev->num_formats) num_formats 934 drivers/media/usb/msi2500/msi2500.c for (i = 0; i < dev->num_formats; i++) { num_formats 961 drivers/media/usb/msi2500/msi2500.c for (i = 0; i < dev->num_formats; i++) { num_formats 1193 drivers/media/usb/msi2500/msi2500.c dev->num_formats = NUM_FORMATS; num_formats 1195 drivers/media/usb/msi2500/msi2500.c dev->num_formats -= 2; num_formats 542 drivers/staging/media/meson/vdec/vdec.c vdec_try_fmt_common(sess, sess->core->platform->num_formats, f); num_formats 570 drivers/staging/media/meson/vdec/vdec.c vdec_try_fmt_common(sess, sess->core->platform->num_formats, f); num_formats 580 drivers/staging/media/meson/vdec/vdec.c u32 num_formats = sess->core->platform->num_formats; num_formats 588 drivers/staging/media/meson/vdec/vdec.c fmt_out = vdec_try_fmt_common(sess, num_formats, f); num_formats 604 drivers/staging/media/meson/vdec/vdec.c vdec_try_fmt_common(sess, num_formats, &format); num_formats 621 drivers/staging/media/meson/vdec/vdec.c vdec_try_fmt_common(sess, num_formats, &format); num_formats 644 drivers/staging/media/meson/vdec/vdec.c if (f->index >= platform->num_formats) num_formats 670 drivers/staging/media/meson/vdec/vdec.c u32 num_formats = sess->core->platform->num_formats; num_formats 672 drivers/staging/media/meson/vdec/vdec.c fmt = find_format(formats, num_formats, fsize->pixel_format); num_formats 87 drivers/staging/media/meson/vdec/vdec_platform.c .num_formats = ARRAY_SIZE(vdec_formats_gxbb), num_formats 93 drivers/staging/media/meson/vdec/vdec_platform.c .num_formats = ARRAY_SIZE(vdec_formats_gxl), num_formats 99 drivers/staging/media/meson/vdec/vdec_platform.c .num_formats = ARRAY_SIZE(vdec_formats_gxm), num_formats 22 drivers/staging/media/meson/vdec/vdec_platform.h const u32 num_formats; num_formats 468 include/drm/drm_connector.h unsigned int num_formats); num_formats 120 sound/usb/card.c if (!subs->num_formats) num_formats 152 sound/usb/card.h unsigned int num_formats; /* number of supported audio formats (list) */ num_formats 143 sound/usb/proc.c if (stream->substream[SNDRV_PCM_STREAM_PLAYBACK].num_formats) { num_formats 148 sound/usb/proc.c if (stream->substream[SNDRV_PCM_STREAM_CAPTURE].num_formats) { num_formats 46 sound/usb/stream.c if (!subs->num_formats) num_formats 102 sound/usb/stream.c subs->num_formats++; num_formats 493 sound/usb/stream.c subs->num_formats++;