Home
last modified time | relevance | path

Searched refs:num_fmts (Results 1 – 13 of 13) sorted by relevance

/linux-6.1.9/drivers/media/platform/verisilicon/
Dhantro_v4l2.c37 hantro_get_formats(const struct hantro_ctx *ctx, unsigned int *num_fmts) in hantro_get_formats() argument
43 *num_fmts = ctx->dev->variant->num_enc_fmts; in hantro_get_formats()
46 *num_fmts = ctx->dev->variant->num_dec_fmts; in hantro_get_formats()
54 unsigned int *num_fmts) in hantro_get_postproc_formats() argument
59 *num_fmts = 0; in hantro_get_postproc_formats()
63 *num_fmts = ctx->dev->variant->num_postproc_fmts; in hantro_get_postproc_formats()
107 unsigned int i, num_fmts; in hantro_find_format() local
109 formats = hantro_get_formats(ctx, &num_fmts); in hantro_find_format()
110 for (i = 0; i < num_fmts; i++) in hantro_find_format()
114 formats = hantro_get_postproc_formats(ctx, &num_fmts); in hantro_find_format()
[all …]
/linux-6.1.9/drivers/media/platform/qcom/venus/
Dhfi_platform_v4.c33 .num_fmts = 4,
59 .num_fmts = 7,
84 .num_fmts = 4,
110 .num_fmts = 7,
133 .num_fmts = 4,
170 .num_fmts = 4,
207 .num_fmts = 4,
245 .num_fmts = 4,
Dhfi_platform_v6.c33 .num_fmts = 4,
59 .num_fmts = 7,
84 .num_fmts = 4,
110 .num_fmts = 7,
133 .num_fmts = 4,
170 .num_fmts = 4,
207 .num_fmts = 4,
245 .num_fmts = 4,
Dhfi_parser.c136 unsigned int num_fmts) in fill_raw_fmts() argument
140 memcpy(&cap->fmts[cap->num_fmts], formats, num_fmts * sizeof(*formats)); in fill_raw_fmts()
141 cap->num_fmts += num_fmts; in fill_raw_fmts()
Dhfi_platform.h36 unsigned int num_fmts; member
Dhelpers.c1741 for (i = 0; i < caps->num_fmts; i++) { in find_fmt_from_caps()
/linux-6.1.9/drivers/media/platform/atmel/
Datmel-isi.c1046 unsigned int num_fmts = 0, i, j; in isi_formats_init() local
1059 for (j = 0; j < num_fmts; j++) in isi_formats_init()
1063 if (j == num_fmts) in isi_formats_init()
1065 isi_fmts[num_fmts++] = isi_formats + i; in isi_formats_init()
1070 if (!num_fmts) in isi_formats_init()
1073 isi->num_user_formats = num_fmts; in isi_formats_init()
1075 num_fmts, sizeof(struct isi_format *), in isi_formats_init()
1081 num_fmts * sizeof(struct isi_format *)); in isi_formats_init()
Datmel-isc-base.c1780 unsigned int num_fmts, i, j; in isc_formats_init() local
1786 num_fmts = 0; in isc_formats_init()
1799 num_fmts++; in isc_formats_init()
1802 if (!num_fmts) in isc_formats_init()
1805 isc->num_user_formats = num_fmts; in isc_formats_init()
1807 num_fmts, sizeof(*isc->user_formats), in isc_formats_init()
/linux-6.1.9/drivers/media/i2c/
Dmt9m001.c104 int num_fmts; member
400 mt9m001->num_fmts); in mt9m001_set_fmt()
603 mt9m001->num_fmts = ARRAY_SIZE(mt9m001_colour_fmts); in mt9m001_video_probe()
607 mt9m001->num_fmts = ARRAY_SIZE(mt9m001_monochrome_fmts); in mt9m001_video_probe()
686 if (code->pad || code->index >= mt9m001->num_fmts) in mt9m001_enum_mbus_code()
Dtvp514x.c107 int num_fmts; member
961 .num_fmts = ARRAY_SIZE(tvp514x_fmt_list),
/linux-6.1.9/drivers/media/platform/st/stm32/
Dstm32-dcmi.c1683 unsigned int num_fmts = 0, i, j; in dcmi_formats_init() local
1701 for (j = 0; j < num_fmts; j++) in dcmi_formats_init()
1710 if (j == num_fmts) { in dcmi_formats_init()
1712 sd_fmts[num_fmts++] = dcmi_formats + i; in dcmi_formats_init()
1714 (char *)&sd_fmts[num_fmts - 1]->fourcc, in dcmi_formats_init()
1715 sd_fmts[num_fmts - 1]->mbus_code); in dcmi_formats_init()
1721 if (!num_fmts) in dcmi_formats_init()
1724 dcmi->num_of_sd_formats = num_fmts; in dcmi_formats_init()
1726 num_fmts, sizeof(struct dcmi_format *), in dcmi_formats_init()
1734 num_fmts * sizeof(struct dcmi_format *)); in dcmi_formats_init()
/linux-6.1.9/sound/soc/intel/avs/
Dtopology.h27 u32 num_fmts; member
Dtopology.c554 &tplg->num_fmts, sizeof(*tplg->fmts), in avs_tplg_parse_audio_formats()