/linux/drivers/gpu/drm/exynos/ |
H 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() 413 .num_formats = ARRAY_SIZE(rotator_s5pv210_formats), 418 .num_formats = ARRAY_SIZE(rotator_4210_formats), 423 .num_formats = ARRAY_SIZE(rotator_4412_formats), 428 .num_formats = ARRAY_SIZE(rotator_5250_formats),
|
H A D | exynos_drm_ipp.c | 52 unsigned int num_formats, const char *name) in exynos_drm_ipp_register() argument 57 WARN_ON(!num_formats); in exynos_drm_ipp_register() 67 ipp->num_formats = num_formats; in exynos_drm_ipp_register() 171 if (resp->formats_count >= ipp->num_formats) { in exynos_drm_ipp_get_caps_ioctl() 172 for (i = 0; i < ipp->num_formats; i++) { in exynos_drm_ipp_get_caps_ioctl() 184 resp->formats_count = ipp->num_formats; in exynos_drm_ipp_get_caps_ioctl() 195 for (i = 0; i < ipp->num_formats; i++) { in __ipp_format_get()
|
H A D | exynos_drm_ipp.h | 60 unsigned int num_formats; member 130 unsigned int num_formats, const char *name);
|
H A D | exynos_drm_gsc.c | 104 unsigned int num_formats; member 1183 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()
|
/linux/drivers/staging/media/meson/vdec/ |
H A D | vdec_platform.c | 294 .num_formats = ARRAY_SIZE(vdec_formats_gxbb), 300 .num_formats = ARRAY_SIZE(vdec_formats_gxl), 306 .num_formats = ARRAY_SIZE(vdec_formats_gxlx), 312 .num_formats = ARRAY_SIZE(vdec_formats_gxm), 318 .num_formats = ARRAY_SIZE(vdec_formats_g12a), 324 .num_formats = ARRAY_SIZE(vdec_formats_sm1),
|
H A D | vdec_platform.h | 25 const u32 num_formats; member
|
/linux/drivers/gpu/drm/tests/ |
H A D | drm_kunit_helpers.c | 217 unsigned int num_formats, in drm_kunit_helper_create_primary_plane() argument 228 if (!formats || !num_formats) { in drm_kunit_helper_create_primary_plane() 230 num_formats = ARRAY_SIZE(default_plane_formats); in drm_kunit_helper_create_primary_plane() 241 num_formats, in drm_kunit_helper_create_primary_plane()
|
/linux/drivers/gpu/drm/mediatek/ |
H A D | mtk_disp_rdma.c | 74 size_t num_formats; member 156 return rdma->data->num_formats; in mtk_rdma_get_num_formats() 384 .num_formats = ARRAY_SIZE(mt8173_formats), 390 .num_formats = ARRAY_SIZE(mt8173_formats), 396 .num_formats = ARRAY_SIZE(mt8173_formats), 402 .num_formats = ARRAY_SIZE(mt8173_formats),
|
H A D | mtk_disp_ovl.c | 151 size_t num_formats; member 236 return ovl->data->num_formats; in mtk_ovl_get_num_formats() 666 .num_formats = ARRAY_SIZE(mt8173_formats), 675 .num_formats = ARRAY_SIZE(mt8173_formats), 684 .num_formats = ARRAY_SIZE(mt8173_formats), 693 .num_formats = ARRAY_SIZE(mt8173_formats), 706 .num_formats = ARRAY_SIZE(mt8173_formats), 719 .num_formats = ARRAY_SIZE(mt8173_formats), 733 .num_formats = ARRAY_SIZE(mt8195_formats),
|
H A D | mtk_plane.c | 324 const u32 *formats, size_t num_formats, unsigned int plane_idx) in mtk_plane_init() argument 328 if (!formats || !num_formats) { in mtk_plane_init() 335 num_formats, modifiers, type, NULL); in mtk_plane_init()
|
/linux/tools/perf/util/ |
H A D | pmus.c | 536 int num_formats; in build_format_string() 547 args->num_formats++; in build_format_string() 548 if (args->num_formats > 1) { in build_format_string() 550 if (args->num_formats < 4) in build_format_string() 556 if (args->num_formats < 4) in build_format_string() 561 if (args->num_formats < 4) { in build_format_string() 568 if (args->num_formats < 4) { in perf_pmus__print_raw_pmu_events() 591 .num_formats = 0, in perf_pmus__print_raw_pmu_events() 603 if (format_args.num_formats > 3) in perf_pmus__print_raw_pmu_events() 527 int num_formats; global() member
|
/linux/drivers/media/platform/mediatek/vcodec/decoder/ |
H A D | mtk_vcodec_dec_stateless.c | 236 static unsigned int num_formats; variable 526 for (i = 0; i < *dec_pdata->num_formats; i++) { in mtk_vdec_s_ctrl() 744 int count_formats = *pdata->num_formats; in mtk_vcodec_add_formats() 778 num_formats++; in mtk_vcodec_add_formats() 787 if (num_formats) in mtk_vcodec_get_supported_formats() 875 .num_formats = &num_formats, 893 .num_formats = &num_formats, 910 .num_formats = &num_formats,
|
/linux/drivers/gpu/drm/xlnx/ |
H A D | zynqmp_disp.h | 54 unsigned int *num_formats); 56 unsigned int *num_formats);
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H 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), 449 *fmt_attr = kcalloc(config->num_formats, sizeof(**fmt_attr), in amdgpu_pmu_alloc_pmu_attrs() 455 fmt_attr_group->attrs = kcalloc(config->num_formats + 1, in amdgpu_pmu_alloc_pmu_attrs() 514 config->formats, config->num_formats); in init_pmu_entry_by_type_and_add()
|
/linux/tools/testing/nvdimm/test/ |
H A D | ndtest.c | 56 .num_formats = 2, 63 .num_formats = 2, 70 .num_formats = 2, 77 .num_formats = 2, 84 .num_formats = 2, 94 .num_formats = 1, 630 return sprintf(buf, "%d\n", dimm->num_formats); in formats_show() 640 if (dimm->num_formats > 1) in format_show() 661 if (a == &dev_attr_format1.attr && dimm->num_formats <= 1) in ndtest_nvdimm_attr_visible() 732 if (dimm->num_formats > 1) in ndtest_dimm_register()
|
/linux/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_histo.h | 40 unsigned int num_formats; member 67 const unsigned int *formats, unsigned int num_formats,
|
/linux/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_hw_catalog.c | 313 .num_formats = ARRAY_SIZE(plane_formats_yuv), \ 325 .num_formats = ARRAY_SIZE(plane_formats_yuv), \ 332 .num_formats = ARRAY_SIZE(plane_formats), \ 344 .num_formats = ARRAY_SIZE(plane_formats_yuv), \ 353 .num_formats = ARRAY_SIZE(plane_formats), \ 359 .num_formats = ARRAY_SIZE(plane_formats), \
|
H A D | dpu_writeback.c | 124 const u32 *format_list, u32 num_formats, u32 maxlinewidth) in dpu_writeback_init() argument 142 &dpu_wb_conn_funcs, format_list, num_formats); in dpu_writeback_init()
|
H A D | dpu_writeback.h | 30 const u32 *format_list, u32 num_formats, u32 maxlinewidth);
|
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_plane.c | 778 int i, num_formats = 0; in amdgpu_dm_plane_get_plane_formats() local 789 if (num_formats >= max_formats) in amdgpu_dm_plane_get_plane_formats() 792 formats[num_formats++] = rgb_formats[i]; in amdgpu_dm_plane_get_plane_formats() 796 formats[num_formats++] = DRM_FORMAT_NV12; in amdgpu_dm_plane_get_plane_formats() 798 formats[num_formats++] = DRM_FORMAT_P010; in amdgpu_dm_plane_get_plane_formats() 800 formats[num_formats++] = DRM_FORMAT_XRGB16161616F; in amdgpu_dm_plane_get_plane_formats() 801 formats[num_formats++] = DRM_FORMAT_ARGB16161616F; in amdgpu_dm_plane_get_plane_formats() 802 formats[num_formats++] = DRM_FORMAT_XBGR16161616F; in amdgpu_dm_plane_get_plane_formats() 803 formats[num_formats++] = DRM_FORMAT_ABGR16161616F; in amdgpu_dm_plane_get_plane_formats() 809 if (num_formats >= max_formats) in amdgpu_dm_plane_get_plane_formats() [all …]
|
/linux/drivers/media/i2c/ |
H 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() 996 if (code->pad || code->index >= priv->num_formats) in mt9t112_enum_mbus_code() 1042 priv->num_formats = 1; in mt9t112_camera_probe() 1046 priv->num_formats = ARRAY_SIZE(mt9t112_cfmts); in mt9t112_camera_probe()
|
/linux/drivers/gpu/drm/renesas/rcar-du/ |
H A D | rcar_du_vsp.c | 500 unsigned int num_formats; in rcar_du_vsp_init() local 504 num_formats = ARRAY_SIZE(rcar_du_vsp_formats); in rcar_du_vsp_init() 507 num_formats = ARRAY_SIZE(rcar_du_vsp_formats_gen4); in rcar_du_vsp_init() 516 formats, num_formats, in rcar_du_vsp_init()
|
/linux/drivers/gpu/drm/tidss/ |
H A D | tidss_plane.h | 23 u32 num_formats);
|
H A D | tidss_plane.c | 190 u32 num_formats) in tidss_plane_create() argument 218 formats, num_formats, in tidss_plane_create()
|
/linux/sound/usb/ |
H 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()
|