Home
last modified time | relevance | path

Searched refs:fmt_type (Results 1 – 15 of 15) sorted by relevance

/linux/sound/usb/
H A Dformat.c667 unsigned int fmt_type; in parse_audio_format_i() local
676 fmt_type = fmt->bFormatType; in parse_audio_format_i()
681 fmt_type = fp->fmt_type; in parse_audio_format_i()
686 if (fmt_type == UAC_FORMAT_TYPE_III) { in parse_audio_format_i()
817 fp->fmt_type = fmt->bFormatType; in snd_usb_parse_audio_format()
850 fp->fmt_type = UAC_FORMAT_TYPE_I; in snd_usb_parse_audio_format_v3()
852 fp->fmt_type = UAC_FORMAT_TYPE_III; in snd_usb_parse_audio_format_v3()
H A Dcard.h16 unsigned int fmt_type; /* USB audio format type (1-3) */ member
164 unsigned int fmt_type; /* USB audio format type (1-3) */ member
207 unsigned int fmt_type; /* USB audio format type (1-3) */ member
H A Dstream.c103 subs->fmt_type = fp->fmt_type; in snd_usb_init_substream()
500 if (as->fmt_type != fp->fmt_type) in __snd_usb_add_audio_stream()
516 if (as->fmt_type != fp->fmt_type) in __snd_usb_add_audio_stream()
534 as->fmt_type = fp->fmt_type; in __snd_usb_add_audio_stream()
1073 fp->fmt_type = UAC_FORMAT_TYPE_I; in snd_usb_get_audioformat_uac3()
1217 if (fp->fmt_type != UAC_FORMAT_TYPE_I) in __snd_usb_parse_audio_interface()
1219 if ((fp->fmt_type == UAC_FORMAT_TYPE_I) == non_pcm) { in __snd_usb_parse_audio_interface()
H A Dimplicit.c439 int fmt_type) in find_matching_substream() argument
446 if (as->fmt_type == fmt_type && subs->ep_num == ep_num) in find_matching_substream()
473 target->fmt_type); in snd_usb_find_implicit_fb_sync_format()
H A Dquirks.c197 if (!fp->fmt_type) in create_fixed_stream_quirk()
198 fp->fmt_type = UAC_FORMAT_TYPE_I; in create_fixed_stream_quirk()
403 .fmt_type = UAC_FORMAT_TYPE_I, in create_uaxx_quirk()
H A Dpcm.c1138 if (fp->fmt_type == UAC_FORMAT_TYPE_II && fp->frame_size > 0) { in setup_hw_info()
1570 if (subs->fmt_type == UAC_FORMAT_TYPE_II) { in prepare_playback_urb()
H A Dendpoint.c1245 if (fmt->fmt_type == UAC_FORMAT_TYPE_II) in data_ep_set_params()
/linux/drivers/usb/gadget/legacy/
H A Dwebcam.c238 .fmt_type = UVCG_UNCOMPRESSED,
288 .fmt_type = UVCG_UNCOMPRESSED,
363 .fmt_type = UVCG_MJPEG,
406 .fmt_type = UVCG_MJPEG,
/linux/drivers/usb/gadget/function/
H A Duvc_configfs.h97 enum uvcg_format_type fmt_type; member
H A Duvc_configfs.c2187 h->fmt_type = UVCG_UNCOMPRESSED; in uvcg_frame_make()
2190 h->fmt_type = UVCG_MJPEG; in uvcg_frame_make()
2193 h->fmt_type = UVCG_FRAMEBASED; in uvcg_frame_make()
3388 if (frm->fmt_type != UVCG_FRAMEBASED) in __uvcg_fill_strm()
3397 if (frm->fmt_type == UVCG_UNCOMPRESSED) in __uvcg_fill_strm()
3400 else if (frm->fmt_type == UVCG_MJPEG) in __uvcg_fill_strm()
3403 else if (frm->fmt_type == UVCG_FRAMEBASED) in __uvcg_fill_strm()
/linux/drivers/staging/media/atomisp/pci/
H A Dsh_css.c459 unsigned int fmt_type; in sh_css_config_input_network_2400() local
476 &fmt_type); in sh_css_config_input_network_2400()
479 sh_css_sp_program_input_circuit(fmt_type, in sh_css_config_input_network_2400()
726 unsigned int fmt_type; in sh_css_translate_stream_cfg_to_input_system_input_port_attr() local
731 &fmt_type); in sh_css_translate_stream_cfg_to_input_system_input_port_attr()
737 isys_stream_descr->csi_port_attr.fmt_type = fmt_type; in sh_css_translate_stream_cfg_to_input_system_input_port_attr()
755 &fmt_type); in sh_css_translate_stream_cfg_to_input_system_input_port_attr()
758 isys_stream_descr->metadata.fmt_type = fmt_type; in sh_css_translate_stream_cfg_to_input_system_input_port_attr()
799 enum atomisp_input_format fmt_type; in sh_css_translate_stream_cfg_to_input_system_input_port_resolution() local
801 fmt_type = stream_cfg->isys_config[isys_stream_idx].format; in sh_css_translate_stream_cfg_to_input_system_input_port_resolution()
[all …]
/linux/drivers/media/platform/renesas/
H A Drcar_jpu.c673 unsigned int fmt_type) in jpu_find_format() argument
678 fmt_flag = fmt_type == JPU_FMT_TYPE_OUTPUT ? JPU_ENC_OUTPUT : in jpu_find_format()
681 fmt_flag = fmt_type == JPU_FMT_TYPE_OUTPUT ? JPU_DEC_OUTPUT : in jpu_find_format()
/linux/drivers/media/platform/mediatek/jpeg/
H A Dmtk_jpeg_core.c244 u32 pixelformat, unsigned int fmt_type) in mtk_jpeg_find_format() argument
252 if (fmt->fourcc == pixelformat && fmt->flags & fmt_type) in mtk_jpeg_find_format()
405 struct v4l2_format *f, unsigned int fmt_type) in mtk_jpeg_s_fmt_mplane() argument
424 pix_mp->pixelformat, fmt_type); in mtk_jpeg_s_fmt_mplane()
/linux/drivers/media/platform/samsung/s5p-jpeg/
H A Djpeg-core.c945 __u32 pixelformat, unsigned int fmt_type);
1363 u32 pixelformat, unsigned int fmt_type) in s5p_jpeg_find_format() argument
1368 fmt_flag = (fmt_type == FMT_TYPE_OUTPUT) ? in s5p_jpeg_find_format()
1372 fmt_flag = (fmt_type == FMT_TYPE_OUTPUT) ? in s5p_jpeg_find_format()
/linux/drivers/media/platform/nxp/dw100/
H A Ddw100.c183 int fmt_type) in dw100_find_pixel_format() argument
190 if (fmt->fourcc == pixel_format && fmt->types & fmt_type) in dw100_find_pixel_format()