| /linux/include/acpi/ |
| H A D | nhlt.h | 43 #define __acpi_nhlt_first_fmtcfg(fmts) \ argument 44 ((void *)(fmts + 1)) 49 #define __acpi_nhlt_get_fmtcfg(fmts, fmt, i) \ argument 50 ((i) ? __acpi_nhlt_next_fmtcfg(fmt) : __acpi_nhlt_first_fmtcfg(fmts)) 74 #define for_each_nhlt_fmtcfg(fmts, fmt) \ argument 76 __i < (fmts)->formats_count && \ 77 (fmt = __acpi_nhlt_get_fmtcfg(fmts, fmt, __i)); \
|
| /linux/drivers/gpu/drm/arm/display/komeda/ |
| H A D | komeda_format_caps.c | 119 u32 *fmts; in komeda_get_layer_fourcc_list() local 122 fmts = kcalloc(table->n_formats, sizeof(u32), GFP_KERNEL); in komeda_get_layer_fourcc_list() 123 if (!fmts) in komeda_get_layer_fourcc_list() 136 if (fmts[j] == cap->fourcc) in komeda_get_layer_fourcc_list() 140 fmts[n++] = cap->fourcc; in komeda_get_layer_fourcc_list() 146 return fmts; in komeda_get_layer_fourcc_list()
|
| /linux/drivers/media/usb/gspca/ |
| H A D | se401.c | 49 struct v4l2_pix_format fmts[MAX_MODES]; member 256 sd->fmts[i].width = widths[i]; in sd_config() 257 sd->fmts[i].height = heights[i]; in sd_config() 258 sd->fmts[i].field = V4L2_FIELD_NONE; in sd_config() 259 sd->fmts[i].colorspace = V4L2_COLORSPACE_SRGB; in sd_config() 260 sd->fmts[i].priv = 1; in sd_config() 266 sd->fmts[i].priv = 2; in sd_config() 275 sd->fmts[i].priv = 4; in sd_config() 280 if (sd->fmts[i].priv == 1) { in sd_config() 282 sd->fmts[i].pixelformat = V4L2_PIX_FMT_SBGGR8; in sd_config() [all …]
|
| /linux/drivers/iommu/ |
| H A D | io-pgtable-arm-selftests.c | 53 static const enum io_pgtable_fmt fmts[] = { in arm_lpae_run_tests() enum 63 for (i = 0; i < ARRAY_SIZE(fmts); ++i) { in arm_lpae_run_tests() 65 ops = alloc_io_pgtable_ops(fmts[i], cfg, cfg); in arm_lpae_run_tests()
|
| /linux/drivers/staging/media/ipu3/ |
| H A D | ipu3-css.h | 171 struct v4l2_pix_format_mplane *fmts[IPU3_CSS_QUEUES], 175 struct v4l2_pix_format_mplane *fmts[IPU3_CSS_QUEUES],
|
| H A D | ipu3-css.c | 1674 struct v4l2_pix_format_mplane *fmts[IPU3_CSS_QUEUES], in imgu_css_fmt_try() 1715 if (fmts[i]) in imgu_css_fmt_try() 1717 qnames[i], fmts[i]->width, fmts[i]->height, in imgu_css_fmt_try() 1718 fmts[i]->pixelformat); in imgu_css_fmt_try() 1722 if (imgu_css_queue_init(&q[i], fmts[i], in imgu_css_fmt_try() 1801 if (fmts[i]) { in imgu_css_fmt_try() 1809 *fmts[i] = q[i].fmt.mpix; in imgu_css_fmt_try() 1830 struct v4l2_pix_format_mplane *fmts[IPU3_CSS_QUEUES], in imgu_css_fmt_set() 1846 r = imgu_css_fmt_try(css, fmts, all_rects, pipe); in imgu_css_fmt_set() 1851 if (imgu_css_queue_init(&css_pipe->queue[i], fmts[i], in imgu_css_fmt_set()
|
| /linux/scripts/gdb/linux/ |
| H A D | timerlist.py | 78 fmts = [(" .{} : {} nsecs", 'expires_next'), 84 text += "\n".join([s.format(f, cpu_base[f]) for s, f in fmts])
|
| /linux/tools/perf/util/ |
| H A D | block-info.h | 49 struct block_fmt fmts[PERF_HPP_REPORT__BLOCK_MAX_INDEX]; member
|
| H A D | block-info.c | 451 init_block_hist(bh, block_report->fmts, block_hpps, nr_hpps); in process_block_report() 461 block_report->fmts[i].total_cycles = total_cycles; in process_block_report() 462 block_report->fmts[i].block_cycles = block_report->cycles; in process_block_report()
|
| /linux/lib/zlib_dfltcc/ |
| H A D | dfltcc.h | 27 char fmts[2]; member
|
| H A D | dfltcc_inflate.c | 27 is_bit_set(dfltcc_state->af.fmts, DFLTCC_FMT0); in dfltcc_can_inflate()
|
| H A D | dfltcc_deflate.c | 35 !is_bit_set(dfltcc_state->common.af.fmts, DFLTCC_FMT0)) in dfltcc_can_deflate()
|
| /linux/drivers/gpu/drm/omapdrm/ |
| H A D | omap_gem.c | 1462 const enum tiler_fmt fmts[] = { in omap_gem_init() enum 1478 for (i = 0; i < ARRAY_SIZE(fmts); i++) { in omap_gem_init() 1481 tiler_align(fmts[i], &w, &h); in omap_gem_init() 1488 usergart[i].stride_pfn = tiler_stride(fmts[i], 0) >> PAGE_SHIFT; in omap_gem_init() 1495 block = tiler_reserve_2d(fmts[i], w, h, PAGE_SIZE); in omap_gem_init()
|
| /linux/drivers/media/platform/intel/ |
| H A D | pxa_camera.c | 718 unsigned int i, fmts = 0, raw_fmts = 0; in pxa_mbus_build_fmts_xlate() local 738 fmts += ret; in pxa_mbus_build_fmts_xlate() 741 if (!fmts) in pxa_mbus_build_fmts_xlate() 744 user_formats = kzalloc_objs(*user_formats, fmts + 1); in pxa_mbus_build_fmts_xlate() 749 fmts = 0; in pxa_mbus_build_fmts_xlate() 751 ret = get_formats(v4l2_dev, i, user_formats + fmts); in pxa_mbus_build_fmts_xlate() 754 fmts += ret; in pxa_mbus_build_fmts_xlate() 756 user_formats[fmts].code = 0; in pxa_mbus_build_fmts_xlate()
|
| /linux/tools/perf/ |
| H A D | builtin-trace.c | 1421 static const struct syscall_fmt *__syscall_fmt__find(const struct syscall_fmt *fmts, 1425 return bsearch(name, fmts, nmemb, sizeof(struct syscall_fmt), syscall_fmt__cmp); in syscall_fmt__cmp() 1434 static const struct syscall_fmt *__syscall_fmt__find_by_alias(const struct syscall_fmt *fmts, 1440 if (fmts[i].alias && strcmp(fmts[i].alias, alias) == 0) 1441 return &fmts[i]; in __syscall_fmt__find_by_alias() argument 2080 __syscall_arg_fmt__find_by_name(const struct syscall_arg_fmt *fmts, const int nmemb, in is_internal_field() 2083 return bsearch(name, fmts, nmemb, sizeof(struct syscall_arg_fmt), syscall_arg_fmt__cmp); 1428 __syscall_fmt__find(const struct syscall_fmt * fmts,const int nmemb,const char * name) __syscall_fmt__find() argument 2062 __syscall_arg_fmt__find_by_name(const struct syscall_arg_fmt * fmts,const int nmemb,const char * name) __syscall_arg_fmt__find_by_name() argument
|
| /linux/sound/usb/ |
| H A D | pcm.c | 760 struct snd_mask *fmts = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in hw_check_valid_format() local 769 snd_mask_intersect(&check_fmts, fmts); in hw_check_valid_format()
|