Home
last modified time | relevance | path

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

/openbmc/linux/drivers/staging/media/atomisp/pci/runtime/isys/src/
H A Drx.c217 unsigned int *fmt_type) in ia_css_isys_convert_stream_format_to_mipi_format() argument
219 assert(fmt_type); in ia_css_isys_convert_stream_format_to_mipi_format()
231 *fmt_type = 6; in ia_css_isys_convert_stream_format_to_mipi_format()
234 *fmt_type = 7; in ia_css_isys_convert_stream_format_to_mipi_format()
237 *fmt_type = 8; in ia_css_isys_convert_stream_format_to_mipi_format()
240 *fmt_type = 10; in ia_css_isys_convert_stream_format_to_mipi_format()
243 *fmt_type = 12; in ia_css_isys_convert_stream_format_to_mipi_format()
246 *fmt_type = 14; in ia_css_isys_convert_stream_format_to_mipi_format()
249 *fmt_type = 16; in ia_css_isys_convert_stream_format_to_mipi_format()
279 *fmt_type = MIPI_FORMAT_RAW8; in ia_css_isys_convert_stream_format_to_mipi_format()
[all …]
H A Dvirtual_isys.c364 packet_type = get_csi_mipi_packet_type(cfg->csi_port_attr.fmt_type); in create_input_system_input_port()
379 packet_type = get_csi_mipi_packet_type(cfg->csi_port_attr.fmt_type); in create_input_system_input_port()
395 packet_type = get_csi_mipi_packet_type(cfg->csi_port_attr.fmt_type); in create_input_system_input_port()
417 cfg->metadata.fmt_type); in create_input_system_input_port()
681 isys_cfg->metadata.fmt_type); in calculate_be_cfg()
683 cfg->csi_mipi_cfg.data_type = isys_cfg->metadata.fmt_type; in calculate_be_cfg()
686 isys_cfg->csi_port_attr.fmt_type); in calculate_be_cfg()
687 cfg->csi_mipi_cfg.data_type = isys_cfg->csi_port_attr.fmt_type; in calculate_be_cfg()
/openbmc/linux/drivers/staging/media/atomisp/pci/runtime/inputfifo/src/
H A Dinputfifo.c72 unsigned int fmt_type; member
178 unsigned int fmt_type) in inputfifo_send_ch_id_and_fmt_type() argument
204 unsigned int fmt_type) in inputfifo_start_frame() argument
206 inputfifo_send_ch_id_and_fmt_type(ch_id, fmt_type); in inputfifo_start_frame()
361 unsigned int fmt_type, in inputfifo_send_frame() argument
370 inputfifo_start_frame(ch_id, fmt_type); in inputfifo_send_frame()
436 &fmt_type); in ia_css_inputfifo_send_input_frame()
457 &s2mi->fmt_type); in ia_css_inputfifo_start_frame()
464 inputfifo_start_frame(ch_id, s2mi->fmt_type); in ia_css_inputfifo_start_frame()
499 unsigned int fmt_type; in ia_css_inputfifo_send_embedded_line() local
[all …]
/openbmc/linux/drivers/staging/media/atomisp/pci/
H A Dinput_switch_2400_defs.h19 #define _HIVE_INPUT_SWITCH_GET_LUT_REG_ID(ch_id, fmt_type) (((ch_id) * 2) + ((fmt_type) >= 16)) argument
20 #define _HIVE_INPUT_SWITCH_GET_LUT_REG_LSB(fmt_type) (((fmt_type) % 16) * 2) argument
H A Disp2401_input_system_global.h116 s32 fmt_type; member
140 s32 fmt_type; member
H A Disp2400_input_system_global.h86 u32 fmt_type; member
H A Dsh_css_sp.h161 sh_css_sp_program_input_circuit(int fmt_type,
H A Dsh_css.c479 unsigned int fmt_type; in sh_css_config_input_network() local
496 &fmt_type); in sh_css_config_input_network()
499 sh_css_sp_program_input_circuit(fmt_type, in sh_css_config_input_network()
814 unsigned int fmt_type; in sh_css_translate_stream_cfg_to_input_system_input_port_attr() local
819 &fmt_type); in sh_css_translate_stream_cfg_to_input_system_input_port_attr()
825 isys_stream_descr->csi_port_attr.fmt_type = fmt_type; in sh_css_translate_stream_cfg_to_input_system_input_port_attr()
842 &fmt_type); in sh_css_translate_stream_cfg_to_input_system_input_port_attr()
845 isys_stream_descr->metadata.fmt_type = fmt_type; in sh_css_translate_stream_cfg_to_input_system_input_port_attr()
886 enum atomisp_input_format fmt_type; in sh_css_translate_stream_cfg_to_input_system_input_port_resolution() local
894 fmt_type = ATOMISP_INPUT_FORMAT_RAW_10; in sh_css_translate_stream_cfg_to_input_system_input_port_resolution()
[all …]
H A Dsh_css_sp.c662 sh_css_sp_program_input_circuit(int fmt_type, in sh_css_sp_program_input_circuit() argument
667 sh_css_sp_group.config.input_circuit.fmt_type = fmt_type; in sh_css_sp_program_input_circuit()
/openbmc/linux/sound/usb/
H A Dcard.h16 unsigned int fmt_type; /* USB audio format type (1-3) */ member
163 unsigned int fmt_type; /* USB audio format type (1-3) */ member
205 unsigned int fmt_type; /* USB audio format type (1-3) */ member
H A Dformat.c652 unsigned int fmt_type; in parse_audio_format_i() local
661 fmt_type = fmt->bFormatType; in parse_audio_format_i()
666 fmt_type = fp->fmt_type; in parse_audio_format_i()
671 if (fmt_type == UAC_FORMAT_TYPE_III) { in parse_audio_format_i()
802 fp->fmt_type = fmt->bFormatType; in snd_usb_parse_audio_format()
835 fp->fmt_type = UAC_FORMAT_TYPE_I; in snd_usb_parse_audio_format_v3()
837 fp->fmt_type = UAC_FORMAT_TYPE_III; in snd_usb_parse_audio_format_v3()
H A Dstream.c103 subs->fmt_type = fp->fmt_type; in snd_usb_init_substream()
491 if (as->fmt_type != fp->fmt_type) in __snd_usb_add_audio_stream()
507 if (as->fmt_type != fp->fmt_type) in __snd_usb_add_audio_stream()
525 as->fmt_type = fp->fmt_type; in __snd_usb_add_audio_stream()
1048 fp->fmt_type = UAC_FORMAT_TYPE_I; in snd_usb_get_audioformat_uac3()
1191 if (fp->fmt_type != UAC_FORMAT_TYPE_I) in __snd_usb_parse_audio_interface()
1193 if ((fp->fmt_type == UAC_FORMAT_TYPE_I) == non_pcm) { in __snd_usb_parse_audio_interface()
H A Dimplicit.c438 int fmt_type) in find_matching_substream() argument
445 if (as->fmt_type == fmt_type && subs->ep_num == ep_num) in find_matching_substream()
472 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.c1108 if (fp->fmt_type == UAC_FORMAT_TYPE_II && fp->frame_size > 0) { in setup_hw_info()
1521 if (subs->fmt_type == UAC_FORMAT_TYPE_II) { in prepare_playback_urb()
H A Dendpoint.c1241 if (fmt->fmt_type == UAC_FORMAT_TYPE_II) in data_ep_set_params()
/openbmc/linux/drivers/staging/media/atomisp/pci/runtime/isys/interface/
H A Dia_css_isys.h76 enum atomisp_input_format fmt_type);
112 unsigned int *fmt_type);
/openbmc/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,
/openbmc/linux/drivers/usb/gadget/function/
H A Duvc_configfs.h94 enum uvcg_format_type fmt_type; member
H A Duvc_configfs.c2156 h->fmt_type = UVCG_UNCOMPRESSED; in uvcg_frame_make()
2159 h->fmt_type = UVCG_MJPEG; in uvcg_frame_make()
3064 if (frm->fmt_type == UVCG_UNCOMPRESSED) in __uvcg_fill_strm()
3067 else if (frm->fmt_type == UVCG_MJPEG) in __uvcg_fill_strm()
/openbmc/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()
/openbmc/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()
410 struct v4l2_format *f, unsigned int fmt_type) in mtk_jpeg_s_fmt_mplane() argument
431 pix_mp->pixelformat, fmt_type); in mtk_jpeg_s_fmt_mplane()
/openbmc/linux/drivers/media/platform/samsung/s5p-jpeg/
H A Djpeg-core.c942 __u32 pixelformat, unsigned int fmt_type);
1364 u32 pixelformat, unsigned int fmt_type) in s5p_jpeg_find_format() argument
1369 fmt_flag = (fmt_type == FMT_TYPE_OUTPUT) ? in s5p_jpeg_find_format()
1373 fmt_flag = (fmt_type == FMT_TYPE_OUTPUT) ? in s5p_jpeg_find_format()
/openbmc/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()