| /OK3568_Linux_fs/kernel/drivers/staging/media/hantro/ |
| H A D | hantro_v4l2.c | 39 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 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()
|
| H A D | core.h | 113 unsigned int num_fmts; member
|
| H A D | helpers.c | 1546 for (i = 0; i < caps->num_fmts; i++) { in find_fmt_from_caps()
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/atmel/ |
| H A D | atmel-isi.c | 1037 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 D | atmel-isc-base.c | 2162 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 D | mt9m001.c | 104 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 D | tvp514x.c | 107 int num_fmts; member 961 .num_fmts = ARRAY_SIZE(tvp514x_fmt_list),
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/stm32/ |
| H A D | stm32-dcmi.c | 1584 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 D | dhd_common.c | 5791 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 D | dhd.h | 1695 int num_fmts; member
|
| H A D | dhd_debug.c | 888 if ((hdr->fmt_num >> 2) < raw_event->num_fmts) { in dhd_dbg_verboselog_printf()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/infineon/ |
| H A D | dhd_common.c | 5816 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 D | dhd_debug.c | 686 if ((plog_hdr->fmt_num) < raw_event->num_fmts) { in dhd_dbg_verboselog_printf()
|
| H A D | dhd.h | 2185 uint num_fmts; member
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/ |
| H A D | dhd_common.c | 5832 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 D | dhd_debug.c | 686 if ((plog_hdr->fmt_num) < raw_event->num_fmts) { in dhd_dbg_verboselog_printf()
|
| H A D | dhd.h | 2183 uint num_fmts; member
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/ |
| H A D | dhd_common.c | 5832 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 D | dhd_debug.c | 686 if ((plog_hdr->fmt_num) < raw_event->num_fmts) { in dhd_dbg_verboselog_printf()
|
| H A D | dhd.h | 2183 uint num_fmts; member
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/ |
| H A D | dhd_common.c | 9149 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 D | dhd_debug.c | 734 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 D | dhd_common.c | 9154 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 D | dhd_debug.c | 734 if ((plog_hdr->fmt_num) < raw_event->num_fmts) { in dhd_dbg_verboselog_printf()
|