Home
last modified time | relevance | path

Searched refs:stream_config (Results 1 – 23 of 23) sorted by relevance

/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/camera/util/src/
Dutil.c176 const struct ia_css_stream_config *const stream_config, in ia_css_util_check_input() argument
180 assert(stream_config); in ia_css_util_check_input()
182 if (!stream_config) in ia_css_util_check_input()
185 if (stream_config->input_config.effective_res.width == 0 || in ia_css_util_check_input()
186 stream_config->input_config.effective_res.height == 0) in ia_css_util_check_input()
189 !ia_css_util_is_input_format_raw(stream_config->input_config.format)) in ia_css_util_check_input()
193 !ia_css_util_is_input_format_yuv(stream_config->input_config.format)) in ia_css_util_check_input()
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/
Datomisp_compat_css20.c303 s_config = &stream_env->stream_config; in __dump_stream_config()
499 stream_env->stream_config.target_num_cont_raw_buf = in __create_stream()
501 stream_env->stream_config.channel_id = stream_env->ch_id; in __create_stream()
502 stream_env->stream_config.ia_css_enable_raw_buffer_locking = in __create_stream()
506 if (ia_css_stream_create(&stream_env->stream_config, in __create_stream()
1020 ia_css_stream_config_defaults(&asd->stream_env[i].stream_config); in atomisp_css_init_struct()
1477 stream_config.metadata_config.resolution.width; in atomisp_css_get_grid_info()
1666 &asd->stream_env[stream_id].stream_config; in atomisp_css_isys_set_resolution()
1681 &asd->stream_env[stream_id].stream_config; in atomisp_css_input_set_resolution()
1693 .stream_config.sensor_binning_factor = bin_factor; in atomisp_css_input_set_binning_factor()
[all …]
Dia_css_stream_public.h164 void ia_css_stream_config_defaults(struct ia_css_stream_config *stream_config);
180 ia_css_stream_create(const struct ia_css_stream_config *stream_config,
Datomisp_compat_css20.h66 struct ia_css_stream_config stream_config; member
Dsh_css.c133 struct ia_css_stream_config stream_config; /* stream config struct */ member
8702 void ia_css_stream_config_defaults(struct ia_css_stream_config *stream_config) argument
8705 assert(stream_config);
8706 memset(stream_config, 0, sizeof(*stream_config));
8707 stream_config->online = true;
8708 stream_config->left_padding = -1;
8709 stream_config->pixels_per_clock = 1;
8713 stream_config->source.port.rxcount = 0x04040404;
9192 ia_css_stream_create(const struct ia_css_stream_config *stream_config, argument
9209 ia_css_debug_dump_stream_config(stream_config, num_pipes);
[all …]
Datomisp_cmd.c2621 .stream_config; in atomisp_get_dvs2_bq_resolutions()
3019 stream_env->stream_config.input_config.effective_res.width; in atomisp_calculate_real_zoom_region()
3021 stream_env->stream_config.input_config.effective_res.height; in atomisp_calculate_real_zoom_region()
/kernel/linux/linux-5.10/drivers/soundwire/
Dstream.c930 struct sdw_stream_config *stream_config, in sdw_alloc_master_rt() argument
941 goto stream_config; in sdw_alloc_master_rt()
954 stream_config: in sdw_alloc_master_rt()
955 m_rt->ch_count = stream_config->ch_count; in sdw_alloc_master_rt()
958 m_rt->direction = stream_config->direction; in sdw_alloc_master_rt()
974 struct sdw_stream_config *stream_config, in sdw_alloc_slave_rt() argument
984 s_rt->ch_count = stream_config->ch_count; in sdw_alloc_slave_rt()
985 s_rt->direction = stream_config->direction; in sdw_alloc_slave_rt()
1145 struct sdw_stream_config *stream_config, in sdw_config_stream() argument
1157 stream->params.rate != stream_config->frame_rate) { in sdw_config_stream()
[all …]
/kernel/linux/linux-5.10/sound/soc/codecs/
Dmax98373-sdw.c522 struct sdw_stream_config stream_config; in max98373_sdw_dai_hw_params() local
544 stream_config.frame_rate = params_rate(params); in max98373_sdw_dai_hw_params()
545 stream_config.bps = snd_pcm_format_width(params_format(params)); in max98373_sdw_dai_hw_params()
546 stream_config.direction = direction; in max98373_sdw_dai_hw_params()
549 stream_config.ch_count = max98373->slot; in max98373_sdw_dai_hw_params()
554 stream_config.ch_count = 2; in max98373_sdw_dai_hw_params()
556 stream_config.ch_count = params_channels(params); in max98373_sdw_dai_hw_params()
558 port_config.ch_mask = GENMASK((int)stream_config.ch_count - 1, 0); in max98373_sdw_dai_hw_params()
561 ret = sdw_stream_add_slave(max98373->slave, &stream_config, in max98373_sdw_dai_hw_params()
Drt1308-sdw.c527 struct sdw_stream_config stream_config; in rt1308_sdw_hw_params() local
559 stream_config.frame_rate = params_rate(params); in rt1308_sdw_hw_params()
560 stream_config.ch_count = num_channels; in rt1308_sdw_hw_params()
561 stream_config.bps = snd_pcm_format_width(params_format(params)); in rt1308_sdw_hw_params()
562 stream_config.direction = direction; in rt1308_sdw_hw_params()
567 retval = sdw_stream_add_slave(rt1308->sdw_slave, &stream_config, in rt1308_sdw_hw_params()
Drt5682-sdw.c133 struct sdw_stream_config stream_config; in rt5682_sdw_hw_params() local
158 stream_config.frame_rate = params_rate(params); in rt5682_sdw_hw_params()
159 stream_config.ch_count = params_channels(params); in rt5682_sdw_hw_params()
160 stream_config.bps = snd_pcm_format_width(params_format(params)); in rt5682_sdw_hw_params()
161 stream_config.direction = direction; in rt5682_sdw_hw_params()
167 retval = sdw_stream_add_slave(rt5682->slave, &stream_config, in rt5682_sdw_hw_params()
Drt715.c568 struct sdw_stream_config stream_config; in rt715_pcm_hw_params() local
599 stream_config.frame_rate = params_rate(params); in rt715_pcm_hw_params()
600 stream_config.ch_count = params_channels(params); in rt715_pcm_hw_params()
601 stream_config.bps = snd_pcm_format_width(params_format(params)); in rt715_pcm_hw_params()
602 stream_config.direction = direction; in rt715_pcm_hw_params()
608 retval = sdw_stream_add_slave(rt715->slave, &stream_config, in rt715_pcm_hw_params()
Drt700.c897 struct sdw_stream_config stream_config; in rt700_pcm_hw_params() local
934 stream_config.frame_rate = params_rate(params); in rt700_pcm_hw_params()
935 stream_config.ch_count = params_channels(params); in rt700_pcm_hw_params()
936 stream_config.bps = snd_pcm_format_width(params_format(params)); in rt700_pcm_hw_params()
937 stream_config.direction = direction; in rt700_pcm_hw_params()
943 retval = sdw_stream_add_slave(rt700->slave, &stream_config, in rt700_pcm_hw_params()
Drt711.c957 struct sdw_stream_config stream_config; in rt711_pcm_hw_params() local
987 stream_config.frame_rate = params_rate(params); in rt711_pcm_hw_params()
988 stream_config.ch_count = params_channels(params); in rt711_pcm_hw_params()
989 stream_config.bps = snd_pcm_format_width(params_format(params)); in rt711_pcm_hw_params()
990 stream_config.direction = direction; in rt711_pcm_hw_params()
996 retval = sdw_stream_add_slave(rt711->slave, &stream_config, in rt711_pcm_hw_params()
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/runtime/binary/src/
Dbinary.c143 const struct ia_css_stream_config *stream_config, /* [in] */ in ia_css_binary_compute_shading_table_bayer_origin() argument
192 if (stream_config->left_padding == -1) in ia_css_binary_compute_shading_table_bayer_origin()
196 - _ISP_BQS(stream_config->left_padding)); in ia_css_binary_compute_shading_table_bayer_origin()
268 const struct ia_css_stream_config *stream_config, /* [in] */ in sh_css_binary_get_sc_requirements() argument
309 binary, required_bds_factor, stream_config); in sh_css_binary_get_sc_requirements()
328 if (stream_config->left_padding == -1) in sh_css_binary_get_sc_requirements()
331 left_padding_bqs = (unsigned int)((int)ISP_VEC_NELEMS - _ISP_BQS(stream_config->left_padding)); in sh_css_binary_get_sc_requirements()
334 stream_config->left_padding, binary->left_padding, in sh_css_binary_get_sc_requirements()
483 const struct ia_css_stream_config *stream_config, /* [in] */ in isp2400_binary_get_shading_info_type_1() argument
510 stream_config, in isp2400_binary_get_shading_info_type_1()
[all …]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/runtime/debug/interface/
Dia_css_debug_pipe.h66 const struct ia_css_stream_config *stream_config);
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/camera/util/interface/
Dia_css_util.h53 const struct ia_css_stream_config *const stream_config,
/kernel/linux/linux-5.10/drivers/media/platform/vsp1/
Dvsp1_video.c393 vsp1_dl_list_add_body(dl, pipe->stream_config); in vsp1_video_pipeline_run()
822 pipe->stream_config = vsp1_dlm_dl_body_get(pipe->output->dlm); in vsp1_video_setup_pipeline()
823 if (!pipe->stream_config) in vsp1_video_setup_pipeline()
827 vsp1_entity_route_setup(entity, pipe, pipe->stream_config); in vsp1_video_setup_pipeline()
829 pipe->stream_config); in vsp1_video_setup_pipeline()
853 vsp1_dl_body_put(pipe->stream_config); in vsp1_video_cleanup_pipeline()
854 pipe->stream_config = NULL; in vsp1_video_cleanup_pipeline()
Dvsp1_pipe.h144 struct vsp1_dl_body *stream_config; member
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/runtime/binary/interface/
Dia_css_binary.h198 const struct ia_css_stream_config *stream_config,
/kernel/linux/linux-5.10/include/linux/soundwire/
Dsdw.h977 struct sdw_stream_config *stream_config,
982 struct sdw_stream_config *stream_config,
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/runtime/debug/src/
Dia_css_debug.c2888 const struct ia_css_stream_config *stream_config) in ia_css_debug_pipe_graph_dump_stream_config() argument
2890 pg_inst.width = stream_config->input_config.input_res.width; in ia_css_debug_pipe_graph_dump_stream_config()
2891 pg_inst.height = stream_config->input_config.input_res.height; in ia_css_debug_pipe_graph_dump_stream_config()
2892 pg_inst.eff_width = stream_config->input_config.effective_res.width; in ia_css_debug_pipe_graph_dump_stream_config()
2893 pg_inst.eff_height = stream_config->input_config.effective_res.height; in ia_css_debug_pipe_graph_dump_stream_config()
2894 pg_inst.stream_format = stream_config->input_config.format; in ia_css_debug_pipe_graph_dump_stream_config()
/kernel/linux/linux-5.10/drivers/dma/
Dstm32-dma.c167 u32 stream_config; member
1231 chan->chan_reg.dma_scr = cfg->stream_config & STM32_DMA_SCR_CFG_MASK; in stm32_dma_set_config()
1258 cfg.stream_config = dma_spec->args[2]; in stm32_dma_of_xlate()
/kernel/linux/linux-5.10/Documentation/driver-api/soundwire/
Dstream.rst326 struct sdw_stream_config * stream_config,
331 struct sdw_stream_config * stream_config,