Home
last modified time | relevance | path

Searched refs:audio_info (Results 1 – 25 of 39) sorted by relevance

12

/linux/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_audio.c87 const struct audio_info *audio_info, in is_audio_format_supported() argument
95 if (audio_info == NULL) in is_audio_format_supported()
99 for (index = 0; index < audio_info->mode_count; index++) { in is_audio_format_supported()
100 if (audio_info->modes[index].format_code == audio_format_code) { in is_audio_format_supported()
104 if (audio_info->modes[index].channel_count > in is_audio_format_supported()
105 audio_info->modes[max_channe_index].channel_count) { in is_audio_format_supported()
667 const struct audio_info *audio_info, in dce_aud_az_configure() argument
672 uint32_t speakers = audio_info->flags.info.ALLSPEAKERS; in dce_aud_az_configure()
767 audio_info->flags.info.SUPPORT_AI, in dce_aud_az_configure()
789 audio_info, audio_format_code, &index)) { in dce_aud_az_configure()
[all …]
H A Ddce_audio.h174 const struct audio_info *audio_info,
H A Ddce_stream_encoder.c1236 struct audio_info *audio_info) in dce110_se_audio_setup() argument
1242 ASSERT(audio_info); in dce110_se_audio_setup()
1243 if (audio_info == NULL) in dce110_se_audio_setup()
1247 channels = speakers_to_channels(audio_info->flags.speaker_flags).all; in dce110_se_audio_setup()
1449 struct audio_info *info) in dce110_se_dp_audio_setup()
1472 struct audio_info *info, in dce110_se_hdmi_audio_setup()
/linux/drivers/gpu/drm/amd/display/dc/dcn31/
H A Ddcn31_apg.c78 struct audio_info *audio_info) in apg31_se_audio_setup() argument
82 ASSERT(audio_info); in apg31_se_audio_setup()
84 if (audio_info == NULL) in apg31_se_audio_setup()
H A Ddcn31_apg.h85 struct audio_info *audio_info);
/linux/drivers/gpu/drm/amd/display/dc/dcn30/
H A Ddcn30_afmt.c122 struct audio_info *audio_info) in afmt3_se_audio_setup() argument
128 ASSERT(audio_info); in afmt3_se_audio_setup()
130 if (audio_info == NULL) in afmt3_se_audio_setup()
133 channels = speakers_to_channels(audio_info->flags.speaker_flags).all; in afmt3_se_audio_setup()
H A Ddcn30_afmt.h113 struct audio_info *audio_info);
151 struct audio_info *audio_info);
/linux/sound/pci/mixart/
H A Dmixart_hwdep.c136 struct mixart_audio_info_resp *audio_info; in mixart_enum_connectors() local
140 audio_info = kmalloc(sizeof(*audio_info), GFP_KERNEL); in mixart_enum_connectors()
141 if (! connector || ! audio_info_req || ! audio_info) { in mixart_enum_connectors()
185 err = snd_mixart_send_msg(mgr, &request, sizeof(*audio_info), audio_info); in mixart_enum_connectors()
229 err = snd_mixart_send_msg(mgr, &request, sizeof(*audio_info), audio_info); in mixart_enum_connectors()
242 kfree(audio_info); in mixart_enum_connectors()
/linux/drivers/gpu/drm/rockchip/
H A Dcdn-dp-core.h25 struct audio_info { struct
94 struct audio_info audio_info; member
H A Dcdn-dp-reg.h471 int cdn_dp_audio_stop(struct cdn_dp_device *dp, struct audio_info *audio);
473 int cdn_dp_audio_config(struct cdn_dp_device *dp, struct audio_info *audio);
H A Dcdn-dp-core.c787 struct audio_info audio = { in cdn_dp_audio_hw_params()
815 dp->audio_info = audio; in cdn_dp_audio_hw_params()
831 ret = cdn_dp_audio_stop(dp, &dp->audio_info); in cdn_dp_audio_shutdown()
833 dp->audio_info.format = AFMT_UNUSED; in cdn_dp_audio_shutdown()
H A Dcdn-dp-reg.c784 int cdn_dp_audio_stop(struct cdn_dp_device *dp, struct audio_info *audio) in cdn_dp_audio_stop()
829 struct audio_info *audio) in cdn_dp_audio_config_i2s()
931 int cdn_dp_audio_config(struct cdn_dp_device *dp, struct audio_info *audio) in cdn_dp_audio_config()
/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_stream.c81 stream->audio_info.modes[i].channel_count = dc_sink_data->edid_caps.audio_modes[i].channel_count; in dc_stream_construct()
82 stream->audio_info.modes[i].format_code = dc_sink_data->edid_caps.audio_modes[i].format_code; in dc_stream_construct()
83 stream->audio_info.modes[i].sample_rates.all = dc_sink_data->edid_caps.audio_modes[i].sample_rate; in dc_stream_construct()
84 stream->audio_info.modes[i].sample_size = dc_sink_data->edid_caps.audio_modes[i].sample_size; in dc_stream_construct()
86 stream->audio_info.mode_count = dc_sink_data->edid_caps.audio_mode_count; in dc_stream_construct()
87 stream->audio_info.audio_latency = dc_sink_data->edid_caps.audio_latency; in dc_stream_construct()
88 stream->audio_info.video_latency = dc_sink_data->edid_caps.video_latency; in dc_stream_construct()
90 stream->audio_info.display_name, in dc_stream_construct()
93 stream->audio_info.manufacture_id = dc_sink_data->edid_caps.manufacturer_id; in dc_stream_construct()
94 stream->audio_info.product_id = dc_sink_data->edid_caps.product_id; in dc_stream_construct()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/inc/hw/
H A Daudio.h46 const struct audio_info *audio_info,
H A Dstream_encoder.h197 struct audio_info *info);
208 struct audio_info *info,
347 struct audio_info *info);
/linux/sound/drivers/vx/
H A Dvx_core.c611 if (chip->audio_info & VX_AUDIO_INFO_REAL_TIME) in vx_proc_read()
613 if (chip->audio_info & VX_AUDIO_INFO_OFFLINE) in vx_proc_read()
615 if (chip->audio_info & VX_AUDIO_INFO_MPEG1) in vx_proc_read()
617 if (chip->audio_info & VX_AUDIO_INFO_MPEG2) in vx_proc_read()
619 if (chip->audio_info & VX_AUDIO_INFO_LINEAR_8) in vx_proc_read()
621 if (chip->audio_info & VX_AUDIO_INFO_LINEAR_16) in vx_proc_read()
623 if (chip->audio_info & VX_AUDIO_INFO_LINEAR_24) in vx_proc_read()
/linux/drivers/clk/tegra/
H A Dclk-tegra-audio.c165 struct tegra_audio_clk_info *audio_info, in tegra_audio_clk_init() argument
172 if (!audio_info || num_plls < 1) { in tegra_audio_clk_init()
179 struct tegra_audio_clk_info *info = &audio_info[i]; in tegra_audio_clk_init()
/linux/drivers/gpu/drm/amd/display/dc/dio/dcn10/
H A Ddcn10_stream_encoder.c1228 struct audio_info *audio_info) in enc1_se_audio_setup() argument
1234 ASSERT(audio_info); in enc1_se_audio_setup()
1235 if (audio_info == NULL) in enc1_se_audio_setup()
1239 channels = speakers_to_channels(audio_info->flags.speaker_flags).all; in enc1_se_audio_setup()
1440 struct audio_info *info) in enc1_se_dp_audio_setup()
1463 struct audio_info *info, in enc1_se_hdmi_audio_setup()
/linux/drivers/gpu/drm/amd/display/dc/link/hwss/
H A Dlink_hwss_dio.c209 &pipe_ctx->stream->audio_info); in setup_dio_audio_output()
214 &pipe_ctx->stream->audio_info, in setup_dio_audio_output()
H A Dlink_hwss_hpo_dp.c184 &pipe_ctx->stream->audio_info); in setup_hpo_dp_audio_output()
/linux/drivers/gpu/drm/amd/display/dc/
H A Ddc_stream.h207 struct audio_info audio_info; member
/linux/drivers/gpu/drm/amd/display/dc/dio/dcn30/
H A Ddcn30_dio_stream_encoder.h310 struct audio_info *info);
318 struct audio_info *info,
H A Ddcn30_dio_stream_encoder.c721 struct audio_info *info) in enc3_se_dp_audio_setup()
818 struct audio_info *info, in enc3_se_hdmi_audio_setup()
/linux/drivers/gpu/drm/amd/display/dc/dio/dcn35/
H A Ddcn35_dio_stream_encoder.h308 struct audio_info *info);
316 struct audio_info *info,
/linux/drivers/gpu/drm/amd/display/dc/dio/dcn314/
H A Ddcn314_dio_stream_encoder.h298 struct audio_info *info);
306 struct audio_info *info,

12