num_fmts 104 drivers/media/i2c/mt9m001.c int num_fmts; num_fmts 399 drivers/media/i2c/mt9m001.c mt9m001->num_fmts); num_fmts 602 drivers/media/i2c/mt9m001.c mt9m001->num_fmts = ARRAY_SIZE(mt9m001_colour_fmts); num_fmts 606 drivers/media/i2c/mt9m001.c mt9m001->num_fmts = ARRAY_SIZE(mt9m001_monochrome_fmts); num_fmts 685 drivers/media/i2c/mt9m001.c if (code->pad || code->index >= mt9m001->num_fmts) num_fmts 107 drivers/media/i2c/tvp514x.c int num_fmts; num_fmts 961 drivers/media/i2c/tvp514x.c .num_fmts = ARRAY_SIZE(tvp514x_fmt_list), num_fmts 1950 drivers/media/platform/atmel/atmel-isc-base.c unsigned int num_fmts, i, j; num_fmts 1956 drivers/media/platform/atmel/atmel-isc-base.c num_fmts = 0; num_fmts 1969 drivers/media/platform/atmel/atmel-isc-base.c num_fmts++; num_fmts 1972 drivers/media/platform/atmel/atmel-isc-base.c if (!num_fmts) num_fmts 1975 drivers/media/platform/atmel/atmel-isc-base.c isc->num_user_formats = num_fmts; num_fmts 1977 drivers/media/platform/atmel/atmel-isc-base.c num_fmts, sizeof(*isc->user_formats), num_fmts 999 drivers/media/platform/atmel/atmel-isi.c unsigned int num_fmts = 0, i, j; num_fmts 1012 drivers/media/platform/atmel/atmel-isi.c for (j = 0; j < num_fmts; j++) num_fmts 1016 drivers/media/platform/atmel/atmel-isi.c if (j == num_fmts) num_fmts 1018 drivers/media/platform/atmel/atmel-isi.c isi_fmts[num_fmts++] = isi_formats + i; num_fmts 1023 drivers/media/platform/atmel/atmel-isi.c if (!num_fmts) num_fmts 1026 drivers/media/platform/atmel/atmel-isi.c isi->num_user_formats = num_fmts; num_fmts 1028 drivers/media/platform/atmel/atmel-isi.c num_fmts, sizeof(struct isi_format *), num_fmts 1034 drivers/media/platform/atmel/atmel-isi.c num_fmts * sizeof(struct isi_format *)); num_fmts 71 drivers/media/platform/qcom/venus/core.h unsigned int num_fmts; num_fmts 1276 drivers/media/platform/qcom/venus/helpers.c for (i = 0; i < caps->num_fmts; i++) { num_fmts 136 drivers/media/platform/qcom/venus/hfi_parser.c unsigned int num_fmts) num_fmts 140 drivers/media/platform/qcom/venus/hfi_parser.c memcpy(&cap->fmts[cap->num_fmts], formats, num_fmts * sizeof(*formats)); num_fmts 141 drivers/media/platform/qcom/venus/hfi_parser.c cap->num_fmts += num_fmts; num_fmts 1585 drivers/media/platform/stm32/stm32-dcmi.c unsigned int num_fmts = 0, i, j; num_fmts 1598 drivers/media/platform/stm32/stm32-dcmi.c for (j = 0; j < num_fmts; j++) num_fmts 1607 drivers/media/platform/stm32/stm32-dcmi.c if (j == num_fmts) { num_fmts 1609 drivers/media/platform/stm32/stm32-dcmi.c sd_fmts[num_fmts++] = dcmi_formats + i; num_fmts 1611 drivers/media/platform/stm32/stm32-dcmi.c (char *)&sd_fmts[num_fmts - 1]->fourcc, num_fmts 1612 drivers/media/platform/stm32/stm32-dcmi.c sd_fmts[num_fmts - 1]->mbus_code); num_fmts 1618 drivers/media/platform/stm32/stm32-dcmi.c if (!num_fmts) num_fmts 1621 drivers/media/platform/stm32/stm32-dcmi.c dcmi->num_of_sd_formats = num_fmts; num_fmts 1623 drivers/media/platform/stm32/stm32-dcmi.c num_fmts, sizeof(struct dcmi_format *), num_fmts 1631 drivers/media/platform/stm32/stm32-dcmi.c num_fmts * sizeof(struct dcmi_format *)); num_fmts 34 drivers/staging/media/hantro/hantro_v4l2.c hantro_get_formats(const struct hantro_ctx *ctx, unsigned int *num_fmts) num_fmts 40 drivers/staging/media/hantro/hantro_v4l2.c *num_fmts = ctx->dev->variant->num_enc_fmts; num_fmts 43 drivers/staging/media/hantro/hantro_v4l2.c *num_fmts = ctx->dev->variant->num_dec_fmts; num_fmts 50 drivers/staging/media/hantro/hantro_v4l2.c hantro_find_format(const struct hantro_fmt *formats, unsigned int num_fmts, num_fmts 55 drivers/staging/media/hantro/hantro_v4l2.c for (i = 0; i < num_fmts; i++) num_fmts 62 drivers/staging/media/hantro/hantro_v4l2.c hantro_get_default_fmt(const struct hantro_fmt *formats, unsigned int num_fmts, num_fmts 67 drivers/staging/media/hantro/hantro_v4l2.c for (i = 0; i < num_fmts; i++) { num_fmts 93 drivers/staging/media/hantro/hantro_v4l2.c unsigned int num_fmts; num_fmts 101 drivers/staging/media/hantro/hantro_v4l2.c formats = hantro_get_formats(ctx, &num_fmts); num_fmts 102 drivers/staging/media/hantro/hantro_v4l2.c fmt = hantro_find_format(formats, num_fmts, fsize->pixel_format); num_fmts 125 drivers/staging/media/hantro/hantro_v4l2.c unsigned int num_fmts, i, j = 0; num_fmts 140 drivers/staging/media/hantro/hantro_v4l2.c formats = hantro_get_formats(ctx, &num_fmts); num_fmts 141 drivers/staging/media/hantro/hantro_v4l2.c for (i = 0; i < num_fmts; i++) { num_fmts 200 drivers/staging/media/hantro/hantro_v4l2.c unsigned int num_fmts; num_fmts 211 drivers/staging/media/hantro/hantro_v4l2.c formats = hantro_get_formats(ctx, &num_fmts); num_fmts 212 drivers/staging/media/hantro/hantro_v4l2.c fmt = hantro_find_format(formats, num_fmts, pix_mp->pixelformat); num_fmts 214 drivers/staging/media/hantro/hantro_v4l2.c fmt = hantro_get_default_fmt(formats, num_fmts, coded); num_fmts 295 drivers/staging/media/hantro/hantro_v4l2.c unsigned int num_fmts; num_fmts 297 drivers/staging/media/hantro/hantro_v4l2.c formats = hantro_get_formats(ctx, &num_fmts); num_fmts 298 drivers/staging/media/hantro/hantro_v4l2.c vpu_fmt = hantro_get_default_fmt(formats, num_fmts, true); num_fmts 321 drivers/staging/media/hantro/hantro_v4l2.c unsigned int num_fmts; num_fmts 323 drivers/staging/media/hantro/hantro_v4l2.c formats = hantro_get_formats(ctx, &num_fmts); num_fmts 324 drivers/staging/media/hantro/hantro_v4l2.c raw_vpu_fmt = hantro_get_default_fmt(formats, num_fmts, false); num_fmts 372 drivers/staging/media/hantro/hantro_v4l2.c unsigned int num_fmts; num_fmts 408 drivers/staging/media/hantro/hantro_v4l2.c formats = hantro_get_formats(ctx, &num_fmts); num_fmts 409 drivers/staging/media/hantro/hantro_v4l2.c ctx->vpu_src_fmt = hantro_find_format(formats, num_fmts, num_fmts 446 drivers/staging/media/hantro/hantro_v4l2.c unsigned int num_fmts; num_fmts 475 drivers/staging/media/hantro/hantro_v4l2.c formats = hantro_get_formats(ctx, &num_fmts); num_fmts 476 drivers/staging/media/hantro/hantro_v4l2.c ctx->vpu_dst_fmt = hantro_find_format(formats, num_fmts, num_fmts 157 drivers/staging/media/soc_camera/soc_mt9v022.c int num_fmts; num_fmts 467 drivers/staging/media/soc_camera/soc_mt9v022.c mt9v022->num_fmts); num_fmts 718 drivers/staging/media/soc_camera/soc_mt9v022.c mt9v022->num_fmts = 0; num_fmts 731 drivers/staging/media/soc_camera/soc_mt9v022.c mt9v022->num_fmts++; num_fmts 736 drivers/staging/media/soc_camera/soc_mt9v022.c mt9v022->num_fmts++; num_fmts 783 drivers/staging/media/soc_camera/soc_mt9v022.c if (code->pad || code->index >= mt9v022->num_fmts)