Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/staging/media/atomisp/pci/runtime/isys/src/
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()
264 *fmt_type = MIPI_FORMAT_RGB888; in ia_css_isys_convert_stream_format_to_mipi_format()
[all …]
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()
/linux-6.6.21/drivers/staging/media/atomisp/pci/runtime/inputfifo/src/
Dinputfifo.c72 unsigned int fmt_type; member
178 unsigned int fmt_type) in inputfifo_send_ch_id_and_fmt_type() argument
183 inputfifo_curr_fmt_type = fmt_type & _HIVE_ISP_FMT_TYPE_MASK; in inputfifo_send_ch_id_and_fmt_type()
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()
428 unsigned int fmt_type, hblank_cycles, marker_cycles; in ia_css_inputfifo_send_input_frame() local
436 &fmt_type); in ia_css_inputfifo_send_input_frame()
441 ch_id, fmt_type, hblank_cycles, marker_cycles, in ia_css_inputfifo_send_input_frame()
[all …]
/linux-6.6.21/drivers/staging/media/atomisp/pci/
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
Disp2401_input_system_global.h116 s32 fmt_type; member
140 s32 fmt_type; member
Disp2400_input_system_global.h86 u32 fmt_type; member
Dsh_css_sp.h161 sh_css_sp_program_input_circuit(int fmt_type,
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
888 fmt_type = stream_cfg->isys_config[isys_stream_idx].format; in sh_css_translate_stream_cfg_to_input_system_input_port_resolution()
[all …]
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()
/linux-6.6.21/sound/usb/
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
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()
Dstream.c103 subs->fmt_type = fp->fmt_type; in snd_usb_init_substream()
488 if (as->fmt_type != fp->fmt_type) in __snd_usb_add_audio_stream()
504 if (as->fmt_type != fp->fmt_type) in __snd_usb_add_audio_stream()
522 as->fmt_type = fp->fmt_type; in __snd_usb_add_audio_stream()
1045 fp->fmt_type = UAC_FORMAT_TYPE_I; in snd_usb_get_audioformat_uac3()
1188 if (fp->fmt_type != UAC_FORMAT_TYPE_I) in __snd_usb_parse_audio_interface()
1190 if ((fp->fmt_type == UAC_FORMAT_TYPE_I) == non_pcm) { in __snd_usb_parse_audio_interface()
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()
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()
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()
Dendpoint.c1241 if (fmt->fmt_type == UAC_FORMAT_TYPE_II) in data_ep_set_params()
/linux-6.6.21/drivers/staging/media/atomisp/pci/runtime/isys/interface/
Dia_css_isys.h76 enum atomisp_input_format fmt_type);
112 unsigned int *fmt_type);
/linux-6.6.21/drivers/usb/gadget/legacy/
Dwebcam.c238 .fmt_type = UVCG_UNCOMPRESSED,
288 .fmt_type = UVCG_UNCOMPRESSED,
363 .fmt_type = UVCG_MJPEG,
406 .fmt_type = UVCG_MJPEG,
/linux-6.6.21/drivers/usb/gadget/function/
Duvc_configfs.h94 enum uvcg_format_type fmt_type; member
Duvc_configfs.c2155 h->fmt_type = UVCG_UNCOMPRESSED; in uvcg_frame_make()
2158 h->fmt_type = UVCG_MJPEG; in uvcg_frame_make()
3052 if (frm->fmt_type == UVCG_UNCOMPRESSED) in __uvcg_fill_strm()
3055 else if (frm->fmt_type == UVCG_MJPEG) in __uvcg_fill_strm()
/linux-6.6.21/drivers/media/platform/renesas/
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-6.6.21/drivers/media/platform/mediatek/jpeg/
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()
/linux-6.6.21/drivers/media/platform/samsung/s5p-jpeg/
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()
/linux-6.6.21/drivers/media/platform/nxp/dw100/
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()