/linux/drivers/media/platform/qcom/venus/ |
H A D | hfi_platform_v4.c | 29 .fmts[0] = {HFI_BUFFER_OUTPUT, HFI_COLOR_FORMAT_NV12_UBWC}, 30 .fmts[1] = {HFI_BUFFER_OUTPUT2, HFI_COLOR_FORMAT_NV12_UBWC}, 31 .fmts[2] = {HFI_BUFFER_OUTPUT2, HFI_COLOR_FORMAT_NV12}, 32 .fmts[3] = {HFI_BUFFER_OUTPUT2, HFI_COLOR_FORMAT_NV21}, 52 .fmts[0] = {HFI_BUFFER_OUTPUT, HFI_COLOR_FORMAT_NV12_UBWC}, 53 .fmts[1] = {HFI_BUFFER_OUTPUT, HFI_COLOR_FORMAT_YUV420_TP10_UBWC}, 54 .fmts[2] = {HFI_BUFFER_OUTPUT2, HFI_COLOR_FORMAT_NV12_UBWC}, 55 .fmts[3] = {HFI_BUFFER_OUTPUT2, HFI_COLOR_FORMAT_NV12}, 56 .fmts[4] = {HFI_BUFFER_OUTPUT2, HFI_COLOR_FORMAT_NV21}, 57 .fmts[5] = {HFI_BUFFER_OUTPUT2, HFI_COLOR_FORMAT_P010}, [all …]
|
H A D | hfi_platform_v6.c | 29 .fmts[0] = {HFI_BUFFER_OUTPUT, HFI_COLOR_FORMAT_NV12_UBWC}, 30 .fmts[1] = {HFI_BUFFER_OUTPUT2, HFI_COLOR_FORMAT_NV12_UBWC}, 31 .fmts[2] = {HFI_BUFFER_OUTPUT2, HFI_COLOR_FORMAT_NV12}, 32 .fmts[3] = {HFI_BUFFER_OUTPUT2, HFI_COLOR_FORMAT_NV21}, 52 .fmts[0] = {HFI_BUFFER_OUTPUT, HFI_COLOR_FORMAT_NV12_UBWC}, 53 .fmts[1] = {HFI_BUFFER_OUTPUT, HFI_COLOR_FORMAT_YUV420_TP10_UBWC}, 54 .fmts[2] = {HFI_BUFFER_OUTPUT2, HFI_COLOR_FORMAT_NV12_UBWC}, 55 .fmts[3] = {HFI_BUFFER_OUTPUT2, HFI_COLOR_FORMAT_NV12}, 56 .fmts[4] = {HFI_BUFFER_OUTPUT2, HFI_COLOR_FORMAT_NV21}, 57 .fmts[5] = {HFI_BUFFER_OUTPUT2, HFI_COLOR_FORMAT_P010}, [all …]
|
H A D | hfi_parser.c | 144 static void fill_raw_fmts(struct hfi_plat_caps *cap, const void *fmts, in fill_raw_fmts() argument 147 const struct raw_formats *formats = fmts; in fill_raw_fmts() 152 memcpy(&cap->fmts[cap->num_fmts], formats, num_fmts * sizeof(*formats)); in fill_raw_fmts()
|
H A D | hfi_platform.h | 37 struct raw_formats fmts[MAX_FMT_ENTRIES]; member
|
/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/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/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/i2c/ |
H A D | mt9m001.c | 102 const struct mt9m001_datafmt *fmts; member 262 if (mt9m001->fmts == mt9m001_colour_fmts) in mt9m001_set_selection() 390 if (mt9m001->fmts == mt9m001_colour_fmts) in mt9m001_set_fmt() 393 fmt = mt9m001_find_datafmt(mf->code, mt9m001->fmts, in mt9m001_set_fmt() 596 mt9m001->fmts = mt9m001_colour_fmts; in mt9m001_video_probe() 600 mt9m001->fmts = mt9m001_monochrome_fmts; in mt9m001_video_probe() 610 mt9m001->fmt = &mt9m001->fmts[0]; in mt9m001_video_probe() 663 try_fmt->code = mt9m001->fmts[0].code; in mt9m001_init_state() 664 try_fmt->colorspace = mt9m001->fmts[0].colorspace; in mt9m001_init_state() 683 code->code = mt9m001->fmts[code->index].code; in mt9m001_enum_mbus_code()
|
/linux/drivers/staging/media/starfive/camss/ |
H A D | stf-isp.c | 39 if (fmt_table->fmts[i].code == mcode) in stf_g_fmt_by_mcode() 40 return &fmt_table->fmts[i]; in stf_g_fmt_by_mcode() 106 fmt->code = formats->fmts[0].code; in isp_try_format() 121 code->code = formats->fmts[code->index].code; in isp_enum_mbus_code()
|
H A D | stf-isp.h | 405 const struct stf_isp_format *fmts; member
|
/linux/drivers/staging/media/ipu3/ |
H A D | ipu3-v4l2.c | 64 struct v4l2_pix_format_mplane *fmts[IPU3_CSS_QUEUES] = { NULL }; in imgu_subdev_s_stream() local 90 fmts[i] = imgu_pipe->queue_enabled[node] ? in imgu_subdev_s_stream() 110 r = imgu_css_fmt_set(&imgu->css, fmts, rects, pipe); in imgu_subdev_s_stream() 696 struct v4l2_pix_format_mplane *fmts[IPU3_CSS_QUEUES] = { NULL }; in imgu_fmt() local 732 fmts[i] = NULL; in imgu_fmt() 737 fmts[i] = &f->fmt.pix_mp; in imgu_fmt() 742 fmts[i] = kmemdup(&imgu_pipe->nodes[inode].vdev_fmt.fmt.pix_mp, in imgu_fmt() 745 if (!fmts[i]) { in imgu_fmt() 750 fmts[i] = &imgu_pipe->nodes[inode].vdev_fmt.fmt.pix_mp; in imgu_fmt() 769 if (!fmts[css_q]) { in imgu_fmt() [all …]
|
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 | 1673 struct v4l2_pix_format_mplane *fmts[IPU3_CSS_QUEUES], in imgu_css_fmt_try() 1714 if (fmts[i]) in imgu_css_fmt_try() 1716 qnames[i], fmts[i]->width, fmts[i]->height, in imgu_css_fmt_try() 1717 fmts[i]->pixelformat); in imgu_css_fmt_try() 1721 if (imgu_css_queue_init(&q[i], fmts[i], in imgu_css_fmt_try() 1800 if (fmts[i]) { in imgu_css_fmt_try() 1808 *fmts[i] = q[i].fmt.mpix; in imgu_css_fmt_try() 1829 struct v4l2_pix_format_mplane *fmts[IPU3_CSS_QUEUES], in imgu_css_fmt_set() 1845 r = imgu_css_fmt_try(css, fmts, all_rects, pipe); in imgu_css_fmt_set() 1850 if (imgu_css_queue_init(&css_pipe->queue[i], fmts[i], in imgu_css_fmt_set()
|
H A D | ipu3.c | 456 struct v4l2_pix_format_mplane *fmts[IPU3_CSS_QUEUES] = { NULL }; in imgu_video_nodes_init() local 473 fmts[imgu_node_map[i].css_queue] = in imgu_video_nodes_init() 489 imgu_css_fmt_set(&imgu->css, fmts, rects, j); in imgu_video_nodes_init()
|
/linux/scripts/gdb/linux/ |
H A D | timerlist.py | 80 fmts = [(" .{} : {} nsecs", 'expires_next'), 86 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/sound/soc/intel/avs/ |
H A D | topology.h | 26 struct avs_audio_format *fmts; member
|
H A D | topology.c | 348 AVS_DEFINE_PTR_PARSER(audio_format, struct avs_audio_format, fmts); 583 return parse_dictionary(comp, tuples, block_size, (void **)&tplg->fmts, in avs_tplg_parse_audio_formats() 584 &tplg->num_fmts, sizeof(*tplg->fmts), in avs_tplg_parse_audio_formats()
|
/linux/drivers/gpu/drm/ |
H A D | drm_connector.c | 1022 u32 *fmts = NULL; in drm_display_info_set_bus_formats() local 1028 fmts = kmemdup(formats, sizeof(*formats) * num_formats, in drm_display_info_set_bus_formats() 1030 if (!fmts) in drm_display_info_set_bus_formats() 1035 info->bus_formats = fmts; in drm_display_info_set_bus_formats()
|
/linux/tools/perf/ |
H A D | builtin-trace.c | 1412 static const struct syscall_fmt *__syscall_fmt__find(const struct syscall_fmt *fmts, in __syscall_fmt__find() argument 1416 return bsearch(name, fmts, nmemb, sizeof(struct syscall_fmt), syscall_fmt__cmp); in __syscall_fmt__find() 1425 static const struct syscall_fmt *__syscall_fmt__find_by_alias(const struct syscall_fmt *fmts, in __syscall_fmt__find_by_alias() argument 1431 if (fmts[i].alias && strcmp(fmts[i].alias, alias) == 0) in __syscall_fmt__find_by_alias() 1432 return &fmts[i]; in __syscall_fmt__find_by_alias() 1981 __syscall_arg_fmt__find_by_name(const struct syscall_arg_fmt *fmts, const int nmemb, in __syscall_arg_fmt__find_by_name() argument 1984 return bsearch(name, fmts, nmemb, sizeof(struct syscall_arg_fmt), syscall_arg_fmt__cmp); in __syscall_arg_fmt__find_by_name()
|
/linux/sound/usb/ |
H A D | pcm.c | 730 struct snd_mask *fmts = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in hw_check_valid_format() local 739 snd_mask_intersect(&check_fmts, fmts); in hw_check_valid_format()
|