/linux-6.1.9/drivers/media/platform/verisilicon/ |
D | hantro_v4l2.c | 37 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/ |
D | hfi_platform_v4.c | 33 .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,
|
D | hfi_platform_v6.c | 33 .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,
|
D | hfi_parser.c | 136 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()
|
D | hfi_platform.h | 36 unsigned int num_fmts; member
|
D | helpers.c | 1741 for (i = 0; i < caps->num_fmts; i++) { in find_fmt_from_caps()
|
/linux-6.1.9/drivers/media/platform/atmel/ |
D | atmel-isi.c | 1046 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()
|
D | atmel-isc-base.c | 1780 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/ |
D | mt9m001.c | 104 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()
|
D | tvp514x.c | 107 int num_fmts; member 961 .num_fmts = ARRAY_SIZE(tvp514x_fmt_list),
|
/linux-6.1.9/drivers/media/platform/st/stm32/ |
D | stm32-dcmi.c | 1683 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/ |
D | topology.h | 27 u32 num_fmts; member
|
D | topology.c | 554 &tplg->num_fmts, sizeof(*tplg->fmts), in avs_tplg_parse_audio_formats()
|