/Linux-v6.6/include/sound/ |
D | sdw.h | 34 struct sdw_stream_config *stream_config, in snd_sdw_params_to_config() argument 37 stream_config->frame_rate = params_rate(params); in snd_sdw_params_to_config() 38 stream_config->ch_count = params_channels(params); in snd_sdw_params_to_config() 39 stream_config->bps = snd_pcm_format_width(params_format(params)); in snd_sdw_params_to_config() 42 stream_config->direction = SDW_DATA_DIR_RX; in snd_sdw_params_to_config() 44 stream_config->direction = SDW_DATA_DIR_TX; in snd_sdw_params_to_config() 46 port_config->ch_mask = GENMASK(stream_config->ch_count - 1, 0); in snd_sdw_params_to_config()
|
/Linux-v6.6/drivers/staging/media/atomisp/pci/camera/util/src/ |
D | util.c | 176 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()
|
/Linux-v6.6/sound/soc/codecs/ |
D | max98363.c | 208 struct sdw_stream_config stream_config; in max98363_sdw_dai_hw_params() local 230 stream_config.frame_rate = params_rate(params); in max98363_sdw_dai_hw_params() 231 stream_config.bps = snd_pcm_format_width(params_format(params)); in max98363_sdw_dai_hw_params() 232 stream_config.direction = direction; in max98363_sdw_dai_hw_params() 233 stream_config.ch_count = 1; in max98363_sdw_dai_hw_params() 235 if (stream_config.ch_count > runtime->hw.channels_max) { in max98363_sdw_dai_hw_params() 236 stream_config.ch_count = runtime->hw.channels_max; in max98363_sdw_dai_hw_params() 238 stream_config.ch_count, params_channels(params)); in max98363_sdw_dai_hw_params() 240 port_config.ch_mask = GENMASK((int)stream_config.ch_count - 1, 0); in max98363_sdw_dai_hw_params() 242 ret = sdw_stream_add_slave(max98363->slave, &stream_config, in max98363_sdw_dai_hw_params()
|
D | rt1017-sdca-sdw.c | 578 struct sdw_stream_config stream_config; in rt1017_sdca_pcm_hw_params() local 607 stream_config.frame_rate = params_rate(params); in rt1017_sdca_pcm_hw_params() 608 stream_config.ch_count = num_channels; in rt1017_sdca_pcm_hw_params() 609 stream_config.bps = snd_pcm_format_width(params_format(params)); in rt1017_sdca_pcm_hw_params() 610 stream_config.direction = direction; in rt1017_sdca_pcm_hw_params() 619 retval = sdw_stream_add_slave(rt1017->sdw_slave, &stream_config, in rt1017_sdca_pcm_hw_params()
|
D | rt1318-sdw.c | 569 struct sdw_stream_config stream_config; in rt1318_sdw_hw_params() local 598 stream_config.frame_rate = params_rate(params); in rt1318_sdw_hw_params() 599 stream_config.ch_count = num_channels; in rt1318_sdw_hw_params() 600 stream_config.bps = snd_pcm_format_width(params_format(params)); in rt1318_sdw_hw_params() 601 stream_config.direction = direction; in rt1318_sdw_hw_params() 606 retval = sdw_stream_add_slave(rt1318->sdw_slave, &stream_config, in rt1318_sdw_hw_params()
|
D | sdw-mockup.c | 61 struct sdw_stream_config stream_config = {0}; in sdw_mockup_pcm_hw_params() local 73 snd_sdw_params_to_config(substream, params, &stream_config, &port_config); in sdw_mockup_pcm_hw_params() 80 ret = sdw_stream_add_slave(sdw_mockup->slave, &stream_config, in sdw_mockup_pcm_hw_params()
|
D | max98373-sdw.c | 522 struct sdw_stream_config stream_config = {0}; in max98373_sdw_dai_hw_params() local 535 snd_sdw_params_to_config(substream, params, &stream_config, &port_config); in max98373_sdw_dai_hw_params() 541 stream_config.ch_count = max98373->slot; in max98373_sdw_dai_hw_params() 548 stream_config.ch_count = 2; in max98373_sdw_dai_hw_params() 549 port_config.ch_mask = GENMASK((int)stream_config.ch_count - 1, 0); in max98373_sdw_dai_hw_params() 552 ret = sdw_stream_add_slave(max98373->slave, &stream_config, in max98373_sdw_dai_hw_params()
|
D | rt712-sdca-dmic.c | 643 struct sdw_stream_config stream_config; in rt712_sdca_dmic_hw_params() local 658 stream_config.frame_rate = params_rate(params); in rt712_sdca_dmic_hw_params() 659 stream_config.ch_count = params_channels(params); in rt712_sdca_dmic_hw_params() 660 stream_config.bps = snd_pcm_format_width(params_format(params)); in rt712_sdca_dmic_hw_params() 661 stream_config.direction = SDW_DATA_DIR_TX; in rt712_sdca_dmic_hw_params() 667 retval = sdw_stream_add_slave(rt712->slave, &stream_config, in rt712_sdca_dmic_hw_params()
|
D | rt1308-sdw.c | 535 struct sdw_stream_config stream_config = {0}; in rt1308_sdw_hw_params() local 550 snd_sdw_params_to_config(substream, params, &stream_config, &port_config); in rt1308_sdw_hw_params() 559 stream_config.ch_count = rt1308->slots; in rt1308_sdw_hw_params() 563 retval = sdw_stream_add_slave(rt1308->sdw_slave, &stream_config, in rt1308_sdw_hw_params()
|
D | cs42l42-sdw.c | 69 struct sdw_stream_config stream_config = {0}; in cs42l42_sdw_dai_hw_params() local 79 snd_sdw_params_to_config(substream, params, &stream_config, &port_config); in cs42l42_sdw_dai_hw_params() 86 ret = sdw_stream_add_slave(cs42l42->sdw_peripheral, &stream_config, &port_config, 1, in cs42l42_sdw_dai_hw_params()
|
D | rt1316-sdw.c | 514 struct sdw_stream_config stream_config = {0}; in rt1316_sdw_hw_params() local 529 snd_sdw_params_to_config(substream, params, &stream_config, &port_config); in rt1316_sdw_hw_params() 537 retval = sdw_stream_add_slave(rt1316->sdw_slave, &stream_config, in rt1316_sdw_hw_params()
|
D | rt712-sdca.c | 1018 struct sdw_stream_config stream_config; in rt712_sdca_pcm_hw_params() local 1051 stream_config.frame_rate = params_rate(params); in rt712_sdca_pcm_hw_params() 1052 stream_config.ch_count = params_channels(params); in rt712_sdca_pcm_hw_params() 1053 stream_config.bps = snd_pcm_format_width(params_format(params)); in rt712_sdca_pcm_hw_params() 1054 stream_config.direction = direction; in rt712_sdca_pcm_hw_params() 1060 retval = sdw_stream_add_slave(rt712->slave, &stream_config, in rt712_sdca_pcm_hw_params()
|
D | rt5682-sdw.c | 109 struct sdw_stream_config stream_config = {0}; in rt5682_sdw_hw_params() local 125 snd_sdw_params_to_config(substream, params, &stream_config, &port_config); in rt5682_sdw_hw_params() 132 retval = sdw_stream_add_slave(rt5682->slave, &stream_config, in rt5682_sdw_hw_params()
|
/Linux-v6.6/drivers/staging/media/atomisp/pci/ |
D | atomisp_compat_css20.c | 283 s_config = &stream_env->stream_config; in __dump_stream_config() 469 stream_env->stream_config.target_num_cont_raw_buf = in __create_stream() 471 stream_env->stream_config.channel_id = stream_env->ch_id; in __create_stream() 472 stream_env->stream_config.ia_css_enable_raw_buffer_locking = in __create_stream() 476 if (ia_css_stream_create(&stream_env->stream_config, in __create_stream() 898 ia_css_stream_config_defaults(&asd->stream_env[i].stream_config); in atomisp_css_init_struct() 1298 stream_config.metadata_config.resolution.width; in atomisp_css_get_grid_info() 1465 &asd->stream_env[stream_id].stream_config; in atomisp_css_isys_set_resolution() 1480 &asd->stream_env[stream_id].stream_config; in atomisp_css_input_set_resolution() 1492 .stream_config.sensor_binning_factor = bin_factor; in atomisp_css_input_set_binning_factor() [all …]
|
D | ia_css_stream_public.h | 162 void ia_css_stream_config_defaults(struct ia_css_stream_config *stream_config); 178 ia_css_stream_create(const struct ia_css_stream_config *stream_config,
|
D | atomisp_compat_css20.h | 66 struct ia_css_stream_config stream_config; member
|
D | sh_css.c | 133 struct ia_css_stream_config stream_config; member 7723 void ia_css_stream_config_defaults(struct ia_css_stream_config *stream_config) in ia_css_stream_config_defaults() argument 7726 assert(stream_config); in ia_css_stream_config_defaults() 7727 memset(stream_config, 0, sizeof(*stream_config)); in ia_css_stream_config_defaults() 7728 stream_config->online = true; in ia_css_stream_config_defaults() 7729 stream_config->left_padding = -1; in ia_css_stream_config_defaults() 7730 stream_config->pixels_per_clock = 1; in ia_css_stream_config_defaults() 7736 stream_config->source.port.rxcount = 0x04040404; in ia_css_stream_config_defaults() 8059 ia_css_stream_create(const struct ia_css_stream_config *stream_config, in ia_css_stream_create() argument 8074 ia_css_debug_dump_stream_config(stream_config, num_pipes); in ia_css_stream_create() [all …]
|
/Linux-v6.6/drivers/soundwire/ |
D | stream.c | 1081 struct sdw_stream_config *stream_config) in sdw_slave_rt_config() argument 1083 s_rt->ch_count = stream_config->ch_count; in sdw_slave_rt_config() 1084 s_rt->direction = stream_config->direction; in sdw_slave_rt_config() 1196 struct sdw_stream_config *stream_config) in sdw_master_rt_config() argument 1198 m_rt->ch_count = stream_config->ch_count; in sdw_master_rt_config() 1199 m_rt->direction = stream_config->direction; in sdw_master_rt_config() 1242 struct sdw_stream_config *stream_config, in sdw_config_stream() argument 1254 stream->params.rate != stream_config->frame_rate) { in sdw_config_stream() 1260 stream->params.bps != stream_config->bps) { in sdw_config_stream() 1265 stream->type = stream_config->type; in sdw_config_stream() [all …]
|
/Linux-v6.6/drivers/staging/media/atomisp/pci/runtime/debug/interface/ |
D | ia_css_debug_pipe.h | 66 const struct ia_css_stream_config *stream_config);
|
/Linux-v6.6/drivers/staging/media/atomisp/pci/camera/util/interface/ |
D | ia_css_util.h | 53 const struct ia_css_stream_config *const stream_config,
|
/Linux-v6.6/drivers/staging/media/atomisp/pci/runtime/binary/src/ |
D | binary.c | 128 const struct ia_css_stream_config *stream_config, /* [in] */ in ia_css_binary_compute_shading_table_bayer_origin() argument 161 if (stream_config->left_padding == -1) in ia_css_binary_compute_shading_table_bayer_origin() 165 - _ISP_BQS(stream_config->left_padding)); in ia_css_binary_compute_shading_table_bayer_origin() 237 const struct ia_css_stream_config *stream_config, /* [in] */ in binary_get_shading_info_type_1() argument 264 stream_config, in binary_get_shading_info_type_1() 284 const struct ia_css_stream_config *stream_config, /* [in] */ in ia_css_binary_get_shading_info() argument 294 binary, type, required_bds_factor, stream_config); in ia_css_binary_get_shading_info() 299 stream_config, in ia_css_binary_get_shading_info()
|
/Linux-v6.6/drivers/media/platform/renesas/vsp1/ |
D | vsp1_video.c | 394 vsp1_dl_list_add_body(dl, pipe->stream_config); in vsp1_video_pipeline_run() 823 pipe->stream_config = vsp1_dlm_dl_body_get(pipe->output->dlm); in vsp1_video_setup_pipeline() 824 if (!pipe->stream_config) in vsp1_video_setup_pipeline() 828 vsp1_entity_route_setup(entity, pipe, pipe->stream_config); in vsp1_video_setup_pipeline() 830 pipe->stream_config); in vsp1_video_setup_pipeline() 854 vsp1_dl_body_put(pipe->stream_config); in vsp1_video_cleanup_pipeline() 855 pipe->stream_config = NULL; in vsp1_video_cleanup_pipeline()
|
D | vsp1_pipe.h | 144 struct vsp1_dl_body *stream_config; member
|
/Linux-v6.6/include/linux/soundwire/ |
D | sdw.h | 1042 struct sdw_stream_config *stream_config, 1064 struct sdw_stream_config *stream_config, 1086 struct sdw_stream_config *stream_config, in sdw_stream_add_slave() argument
|
/Linux-v6.6/drivers/staging/media/atomisp/pci/runtime/binary/interface/ |
D | ia_css_binary.h | 195 const struct ia_css_stream_config *stream_config,
|