Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/platform/verisilicon/
H A Dhantro_v4l2.c45 *num_fmts = 0; in hantro_get_formats()
62 unsigned int *num_fmts) in hantro_get_postproc_formats() argument
67 *num_fmts = 0; in hantro_get_postproc_formats()
115 unsigned int i, num_fmts; in hantro_find_format() local
118 for (i = 0; i < num_fmts; i++) in hantro_find_format()
123 for (i = 0; i < num_fmts; i++) in hantro_find_format()
134 unsigned int i, num_fmts; in hantro_get_default_fmt() local
137 for (i = 0; i < num_fmts; i++) { in hantro_get_default_fmt()
145 for (i = 0; i < num_fmts; i++) { in hantro_get_default_fmt()
203 unsigned int num_fmts, i, j = 0; in vidioc_enum_fmt() local
[all …]
/openbmc/linux/drivers/media/platform/qcom/venus/
H A 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,
H A 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,
H A Dhfi_parser.c145 unsigned int num_fmts) in fill_raw_fmts() argument
149 if (cap->num_fmts + num_fmts >= MAX_FMT_ENTRIES) in fill_raw_fmts()
152 memcpy(&cap->fmts[cap->num_fmts], formats, num_fmts * sizeof(*formats)); in fill_raw_fmts()
153 cap->num_fmts += num_fmts; in fill_raw_fmts()
H A Dhfi_platform.h36 unsigned int num_fmts; member
H A Dhelpers.c1743 for (i = 0; i < caps->num_fmts; i++) { in find_fmt_from_caps()
/openbmc/linux/drivers/media/platform/atmel/
H A 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()
/openbmc/linux/drivers/media/i2c/
H A 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()
H A Dtvp514x.c107 int num_fmts; member
961 .num_fmts = ARRAY_SIZE(tvp514x_fmt_list),
/openbmc/linux/drivers/media/platform/st/stm32/
H A Dstm32-dcmi.c1646 unsigned int num_fmts = 0, i, j; in dcmi_formats_init() local
1664 for (j = 0; j < num_fmts; j++) in dcmi_formats_init()
1673 if (j == num_fmts) { in dcmi_formats_init()
1675 sd_fmts[num_fmts++] = dcmi_formats + i; in dcmi_formats_init()
1677 (char *)&sd_fmts[num_fmts - 1]->fourcc, in dcmi_formats_init()
1678 sd_fmts[num_fmts - 1]->mbus_code); in dcmi_formats_init()
1684 if (!num_fmts) in dcmi_formats_init()
1687 dcmi->num_of_sd_formats = num_fmts; in dcmi_formats_init()
1689 num_fmts, sizeof(struct dcmi_format *), in dcmi_formats_init()
1697 num_fmts * sizeof(struct dcmi_format *)); in dcmi_formats_init()
/openbmc/linux/sound/soc/intel/avs/
H A Dtopology.h27 u32 num_fmts; member
H A Dtopology.c555 &tplg->num_fmts, sizeof(*tplg->fmts), in avs_tplg_parse_audio_formats()
/openbmc/linux/drivers/staging/media/deprecated/atmel/
H A Datmel-isc-base.c1781 unsigned int num_fmts, i, j; in isc_formats_init() local
1787 num_fmts = 0; in isc_formats_init()
1800 num_fmts++; in isc_formats_init()
1803 if (!num_fmts) in isc_formats_init()
1806 isc->num_user_formats = num_fmts; in isc_formats_init()
1808 num_fmts, sizeof(*isc->user_formats), in isc_formats_init()