Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/drivers/staging/media/hantro/
H A Dhantro_v4l2.c39 hantro_get_formats(const struct hantro_ctx *ctx, unsigned int *num_fmts) in hantro_get_formats() argument
45 *num_fmts = ctx->dev->variant->num_enc_fmts; in hantro_get_formats()
48 *num_fmts = ctx->dev->variant->num_dec_fmts; in hantro_get_formats()
56 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()
71 unsigned int i, num_fmts; in hantro_find_format() local
73 formats = hantro_get_formats(ctx, &num_fmts); in hantro_find_format()
74 for (i = 0; i < num_fmts; i++) in hantro_find_format()
78 formats = hantro_get_postproc_formats(ctx, &num_fmts); in hantro_find_format()
[all …]
/OK3568_Linux_fs/kernel/drivers/media/platform/qcom/venus/
H A 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()
H A Dcore.h113 unsigned int num_fmts; member
H A Dhelpers.c1546 for (i = 0; i < caps->num_fmts; i++) { in find_fmt_from_caps()
/OK3568_Linux_fs/kernel/drivers/media/platform/atmel/
H A Datmel-isi.c1037 unsigned int num_fmts = 0, i, j; in isi_formats_init() local
1050 for (j = 0; j < num_fmts; j++) in isi_formats_init()
1054 if (j == num_fmts) in isi_formats_init()
1056 isi_fmts[num_fmts++] = isi_formats + i; in isi_formats_init()
1061 if (!num_fmts) in isi_formats_init()
1064 isi->num_user_formats = num_fmts; in isi_formats_init()
1066 num_fmts, sizeof(struct isi_format *), in isi_formats_init()
1072 num_fmts * sizeof(struct isi_format *)); in isi_formats_init()
H A Datmel-isc-base.c2162 unsigned int num_fmts, i, j; in isc_formats_init() local
2168 num_fmts = 0; in isc_formats_init()
2181 num_fmts++; in isc_formats_init()
2184 if (!num_fmts) in isc_formats_init()
2187 isc->num_user_formats = num_fmts; in isc_formats_init()
2189 num_fmts, sizeof(*isc->user_formats), in isc_formats_init()
/OK3568_Linux_fs/kernel/drivers/media/i2c/
H A Dmt9m001.c104 int num_fmts; member
399 mt9m001->num_fmts); in mt9m001_set_fmt()
602 mt9m001->num_fmts = ARRAY_SIZE(mt9m001_colour_fmts); in mt9m001_video_probe()
606 mt9m001->num_fmts = ARRAY_SIZE(mt9m001_monochrome_fmts); in mt9m001_video_probe()
685 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),
/OK3568_Linux_fs/kernel/drivers/media/platform/stm32/
H A Dstm32-dcmi.c1584 unsigned int num_fmts = 0, i, j; in dcmi_formats_init() local
1597 for (j = 0; j < num_fmts; j++) in dcmi_formats_init()
1606 if (j == num_fmts) { in dcmi_formats_init()
1608 sd_fmts[num_fmts++] = dcmi_formats + i; in dcmi_formats_init()
1610 (char *)&sd_fmts[num_fmts - 1]->fourcc, in dcmi_formats_init()
1611 sd_fmts[num_fmts - 1]->mbus_code); in dcmi_formats_init()
1617 if (!num_fmts) in dcmi_formats_init()
1620 dcmi->num_of_sd_formats = num_fmts; in dcmi_formats_init()
1622 num_fmts, sizeof(struct dcmi_format *), in dcmi_formats_init()
1630 num_fmts * sizeof(struct dcmi_format *)); in dcmi_formats_init()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/
H A Ddhd_common.c5791 int num_fmts = 0; in dhd_parse_logstrs_file() local
5802 num_fmts = hdr->rom_logstrs_offset / sizeof(uint32); in dhd_parse_logstrs_file()
5811 num_fmts = *((uint32 *) (raw_fmts)) / sizeof(uint32); in dhd_parse_logstrs_file()
5812 if (num_fmts == 0) { in dhd_parse_logstrs_file()
5832 num_fmts = ram_index; in dhd_parse_logstrs_file()
5833 logstrs = (char *) &raw_fmts[num_fmts << 2]; in dhd_parse_logstrs_file()
5835 num_fmts++; in dhd_parse_logstrs_file()
5836 logstrs = (char *) &raw_fmts[num_fmts << 2]; in dhd_parse_logstrs_file()
5851 logstrs = (char *) &raw_fmts[num_fmts << 2]; in dhd_parse_logstrs_file()
5854 fmts = MALLOC(osh, num_fmts * sizeof(char *)); in dhd_parse_logstrs_file()
[all …]
H A Ddhd.h1695 int num_fmts; member
H A Ddhd_debug.c888 if ((hdr->fmt_num >> 2) < raw_event->num_fmts) { in dhd_dbg_verboselog_printf()
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/
H A Ddhd_common.c5816 int num_fmts = 0; in dhd_parse_logstrs_file() local
5839 num_fmts = hdr_v1->rom_logstrs_offset / sizeof(uint32); in dhd_parse_logstrs_file()
5906 num_fmts = hdr->rom_logstrs_offset / sizeof(uint32); in dhd_parse_logstrs_file()
5933 num_fmts = *((uint32 *) (raw_fmts)) / sizeof(uint32); in dhd_parse_logstrs_file()
5947 logstrs = (char *) &raw_fmts[num_fmts << 2]; in dhd_parse_logstrs_file()
5949 if (num_fmts) in dhd_parse_logstrs_file()
5950 fmts = MALLOC(osh, num_fmts * sizeof(char *)); in dhd_parse_logstrs_file()
5955 event_log->fmts_size = num_fmts * sizeof(char *); in dhd_parse_logstrs_file()
5957 for (i = 0; i < num_fmts; i++) { in dhd_parse_logstrs_file()
5972 event_log->num_fmts = num_fmts; in dhd_parse_logstrs_file()
H A Ddhd_debug.c686 if ((plog_hdr->fmt_num) < raw_event->num_fmts) { in dhd_dbg_verboselog_printf()
H A Ddhd.h2185 uint num_fmts; member
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/
H A Ddhd_common.c5832 int num_fmts = 0; in dhd_parse_logstrs_file() local
5855 num_fmts = hdr_v1->rom_logstrs_offset / sizeof(uint32); in dhd_parse_logstrs_file()
5922 num_fmts = hdr->rom_logstrs_offset / sizeof(uint32); in dhd_parse_logstrs_file()
5949 num_fmts = *((uint32 *) (raw_fmts)) / sizeof(uint32); in dhd_parse_logstrs_file()
5963 logstrs = (char *) &raw_fmts[num_fmts << 2]; in dhd_parse_logstrs_file()
5965 if (num_fmts) in dhd_parse_logstrs_file()
5966 fmts = MALLOC(osh, num_fmts * sizeof(char *)); in dhd_parse_logstrs_file()
5971 event_log->fmts_size = num_fmts * sizeof(char *); in dhd_parse_logstrs_file()
5973 for (i = 0; i < num_fmts; i++) { in dhd_parse_logstrs_file()
5988 event_log->num_fmts = num_fmts; in dhd_parse_logstrs_file()
H A Ddhd_debug.c686 if ((plog_hdr->fmt_num) < raw_event->num_fmts) { in dhd_dbg_verboselog_printf()
H A Ddhd.h2183 uint num_fmts; member
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/
H A Ddhd_common.c5832 int num_fmts = 0; in dhd_parse_logstrs_file() local
5855 num_fmts = hdr_v1->rom_logstrs_offset / sizeof(uint32); in dhd_parse_logstrs_file()
5922 num_fmts = hdr->rom_logstrs_offset / sizeof(uint32); in dhd_parse_logstrs_file()
5949 num_fmts = *((uint32 *) (raw_fmts)) / sizeof(uint32); in dhd_parse_logstrs_file()
5963 logstrs = (char *) &raw_fmts[num_fmts << 2]; in dhd_parse_logstrs_file()
5965 if (num_fmts) in dhd_parse_logstrs_file()
5966 fmts = MALLOC(osh, num_fmts * sizeof(char *)); in dhd_parse_logstrs_file()
5971 event_log->fmts_size = num_fmts * sizeof(char *); in dhd_parse_logstrs_file()
5973 for (i = 0; i < num_fmts; i++) { in dhd_parse_logstrs_file()
5988 event_log->num_fmts = num_fmts; in dhd_parse_logstrs_file()
H A Ddhd_debug.c686 if ((plog_hdr->fmt_num) < raw_event->num_fmts) { in dhd_dbg_verboselog_printf()
H A Ddhd.h2183 uint num_fmts; member
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Ddhd_common.c9149 int num_fmts = 0; in dhd_parse_logstrs_file() local
9177 num_fmts = hdr_v1->rom_logstrs_offset / sizeof(uint32); in dhd_parse_logstrs_file()
9262 num_fmts = hdr->rom_logstrs_offset / sizeof(uint32); in dhd_parse_logstrs_file()
9295 num_fmts = *((uint32 *) (raw_fmts)) / sizeof(uint32); in dhd_parse_logstrs_file()
9309 logstrs = (char *) &raw_fmts[num_fmts << 2]; in dhd_parse_logstrs_file()
9311 if (num_fmts) { in dhd_parse_logstrs_file()
9315 fmts = MALLOC(osh, num_fmts * sizeof(char *)); in dhd_parse_logstrs_file()
9322 event_log->fmts_size = num_fmts * sizeof(char *); in dhd_parse_logstrs_file()
9324 for (i = 0; i < num_fmts; i++) { in dhd_parse_logstrs_file()
9339 event_log->num_fmts = num_fmts; in dhd_parse_logstrs_file()
H A Ddhd_debug.c734 if ((plog_hdr->fmt_num) < raw_event->num_fmts) { in dhd_dbg_verboselog_printf()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Ddhd_common.c9154 int num_fmts = 0; in dhd_parse_logstrs_file() local
9182 num_fmts = hdr_v1->rom_logstrs_offset / sizeof(uint32); in dhd_parse_logstrs_file()
9267 num_fmts = hdr->rom_logstrs_offset / sizeof(uint32); in dhd_parse_logstrs_file()
9300 num_fmts = *((uint32 *) (raw_fmts)) / sizeof(uint32); in dhd_parse_logstrs_file()
9314 logstrs = (char *) &raw_fmts[num_fmts << 2]; in dhd_parse_logstrs_file()
9316 if (num_fmts) { in dhd_parse_logstrs_file()
9320 fmts = MALLOC(osh, num_fmts * sizeof(char *)); in dhd_parse_logstrs_file()
9327 event_log->fmts_size = num_fmts * sizeof(char *); in dhd_parse_logstrs_file()
9329 for (i = 0; i < num_fmts; i++) { in dhd_parse_logstrs_file()
9344 event_log->num_fmts = num_fmts; in dhd_parse_logstrs_file()
H A Ddhd_debug.c734 if ((plog_hdr->fmt_num) < raw_event->num_fmts) { in dhd_dbg_verboselog_printf()

12