/linux/drivers/gpu/drm/exynos/ |
A D | exynos_drm_rotator.c | 45 unsigned int num_formats; member 64 unsigned int num_formats; member 256 rot->formats, rot->num_formats, "rotator"); in rotator_bind() 292 rot->num_formats = variant->num_formats; in rotator_probe() 417 .num_formats = ARRAY_SIZE(rotator_s5pv210_formats), 422 .num_formats = ARRAY_SIZE(rotator_4210_formats), 427 .num_formats = ARRAY_SIZE(rotator_4412_formats), 432 .num_formats = ARRAY_SIZE(rotator_5250_formats),
|
A 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()
|
A D | exynos_drm_ipp.h | 60 unsigned int num_formats; member 130 unsigned int num_formats, const char *name);
|
A D | exynos_drm_gsc.c | 103 unsigned int num_formats; member 1182 ctx->formats, ctx->num_formats, "gsc"); in gsc_bind() 1224 int num_formats, ret, i, j; in gsc_probe() local 1236 num_formats = ARRAY_SIZE(gsc_formats) + ARRAY_SIZE(gsc_tiled_formats); in gsc_probe() 1237 formats = devm_kcalloc(dev, num_formats, sizeof(*formats), GFP_KERNEL); in gsc_probe() 1261 ctx->num_formats = num_formats; in gsc_probe()
|
A D | exynos_drm_scaler.c | 36 unsigned int num_formats; member 462 scaler->scaler_data->num_formats, "scaler"); in scaler_bind() 705 .num_formats = ARRAY_SIZE(exynos5420_formats), 712 .num_formats = ARRAY_SIZE(exynos5420_formats),
|
A D | exynos_drm_fimc.c | 103 unsigned int num_formats; member 1146 ctx->formats, ctx->num_formats, "fimc"); in fimc_bind() 1272 int i, j, num_limits, num_formats; in fimc_probe() local 1285 num_formats = ARRAY_SIZE(fimc_formats) + ARRAY_SIZE(fimc_tiled_formats); in fimc_probe() 1286 formats = devm_kcalloc(dev, num_formats, sizeof(*formats), in fimc_probe() 1325 ctx->num_formats = num_formats; in fimc_probe()
|
/linux/drivers/staging/media/meson/vdec/ |
A 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),
|
A 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()
|
A D | vdec_platform.h | 24 const u32 num_formats; member
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_pmu.c | 90 unsigned int num_formats; member 136 .num_formats = ARRAY_SIZE(amdgpu_pmu_formats), 171 .num_formats = ARRAY_SIZE(df_vega20_formats), 201 .num_formats = ARRAY_SIZE(amdgpu_pmu_formats), 431 *fmt_attr = kcalloc(config->num_formats, sizeof(**fmt_attr), in amdgpu_pmu_alloc_pmu_attrs() 437 fmt_attr_group->attrs = kcalloc(config->num_formats + 1, in amdgpu_pmu_alloc_pmu_attrs() 496 config->formats, config->num_formats); in init_pmu_entry_by_type_and_add()
|
/linux/drivers/media/platform/vsp1/ |
A D | vsp1_histo.h | 40 unsigned int num_formats; member 67 const unsigned int *formats, unsigned int num_formats,
|
A D | vsp1_histo.c | 185 histo->num_formats); in histo_enum_mbus_code() 402 histo->formats, histo->num_formats, in histo_set_format() 522 const unsigned int *formats, unsigned int num_formats, in vsp1_histogram_init() argument 528 histo->num_formats = num_formats; in vsp1_histogram_init()
|
/linux/tools/testing/nvdimm/test/ |
A D | ndtest.c | 50 .num_formats = 2, 57 .num_formats = 2, 64 .num_formats = 2, 71 .num_formats = 2, 78 .num_formats = 2, 88 .num_formats = 1, 758 return sprintf(buf, "%d\n", dimm->num_formats); in formats_show() 768 if (dimm->num_formats > 1) in format_show() 789 if (a == &dev_attr_format1.attr && dimm->num_formats <= 1) in ndtest_nvdimm_attr_visible() 860 if (dimm->num_formats > 1) { in ndtest_dimm_register()
|
A D | ndtest.h | 79 unsigned int num_formats; member
|
/linux/drivers/media/platform/mtk-jpeg/ |
A 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() 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() 743 jpeg->variant->num_formats, in mtk_jpeg_set_queue_data() 1182 jpeg->variant->num_formats, in mtk_jpeg_set_default_params() 1191 jpeg->variant->num_formats, in mtk_jpeg_set_default_params() 1514 .num_formats = MTK_JPEG_DEC_NUM_FORMATS, [all …]
|
A D | mtk_jpeg_core.h | 66 int num_formats; member
|
/linux/drivers/media/i2c/ |
A 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()
|
/linux/drivers/gpu/drm/i915/display/ |
A D | skl_universal_plane.c | 1833 int *num_formats) in skl_get_plane_formats() argument 1836 *num_formats = ARRAY_SIZE(skl_planar_formats); in skl_get_plane_formats() 1839 *num_formats = ARRAY_SIZE(skl_plane_formats); in skl_get_plane_formats() 1846 int *num_formats) in glk_get_plane_formats() argument 1852 *num_formats = ARRAY_SIZE(skl_plane_formats); in glk_get_plane_formats() 1859 int *num_formats) in icl_get_plane_formats() argument 2105 int num_formats; in skl_universal_plane_create() local 2154 plane_id, &num_formats); in skl_universal_plane_create() 2157 plane_id, &num_formats); in skl_universal_plane_create() 2160 plane_id, &num_formats); in skl_universal_plane_create() [all …]
|
A D | i9xx_plane.c | 772 int num_formats; in intel_primary_plane_create() local 801 num_formats = ARRAY_SIZE(vlv_primary_formats); in intel_primary_plane_create() 818 num_formats = ARRAY_SIZE(ivb_primary_formats); in intel_primary_plane_create() 821 num_formats = ARRAY_SIZE(i965_primary_formats); in intel_primary_plane_create() 825 num_formats = ARRAY_SIZE(i8xx_primary_formats); in intel_primary_plane_create() 881 formats, num_formats, in intel_primary_plane_create() 888 formats, num_formats, in intel_primary_plane_create()
|
/linux/drivers/gpu/drm/gud/ |
A D | gud_drv.c | 438 unsigned int num_formats_dev, num_formats = 0; in gud_probe() local 553 formats[num_formats++] = format; in gud_probe() 556 if (!num_formats && !xrgb8888_emulation_format) { in gud_probe() 567 formats[num_formats++] = DRM_FORMAT_XRGB8888; in gud_probe() 594 formats, num_formats, in gud_probe()
|
/linux/drivers/gpu/drm/tidss/ |
A D | tidss_plane.c | 178 u32 num_formats) in tidss_plane_create() argument 206 formats, num_formats, in tidss_plane_create()
|
A D | tidss_plane.h | 23 u32 num_formats);
|
/linux/drivers/gpu/drm/xlnx/ |
A D | zynqmp_disp.c | 133 unsigned int num_formats; member 999 for (i = 0; i < layer->info->num_formats; i++) { in zynqmp_disp_layer_find_format() 1233 layer->info->num_formats, in zynqmp_disp_create_planes() 1238 for (j = 0; j < layer->info->num_formats; ++j) in zynqmp_disp_create_planes() 1247 layer->info->num_formats, in zynqmp_disp_create_planes() 1347 .num_formats = ARRAY_SIZE(avbuf_vid_fmts), in zynqmp_disp_create_layers() 1352 .num_formats = ARRAY_SIZE(avbuf_gfx_fmts), in zynqmp_disp_create_layers()
|
/linux/sound/usb/ |
A D | proc.c | 217 if (stream->substream[SNDRV_PCM_STREAM_PLAYBACK].num_formats) { in proc_pcm_format_read() 222 if (stream->substream[SNDRV_PCM_STREAM_CAPTURE].num_formats) { in proc_pcm_format_read()
|
/linux/drivers/media/usb/msi2500/ |
A D | msi2500.c | 127 unsigned int num_formats; member 897 if (f->index >= dev->num_formats) in msi2500_enum_fmt_sdr_cap() 932 for (i = 0; i < dev->num_formats; i++) { in msi2500_s_fmt_sdr_cap() 958 for (i = 0; i < dev->num_formats; i++) { in msi2500_try_fmt_sdr_cap() 1190 dev->num_formats = NUM_FORMATS; in msi2500_probe() 1192 dev->num_formats -= 2; in msi2500_probe()
|