/linux/drivers/gpu/drm/amd/display/dc/dce/ |
H A D | dce_audio.c | 87 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 D | dce_audio.h | 174 const struct audio_info *audio_info,
|
H A D | dce_stream_encoder.c | 1236 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 D | dcn31_apg.c | 78 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 D | dcn31_apg.h | 85 struct audio_info *audio_info);
|
/linux/drivers/gpu/drm/amd/display/dc/dcn30/ |
H A D | dcn30_afmt.c | 122 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 D | dcn30_afmt.h | 113 struct audio_info *audio_info); 151 struct audio_info *audio_info);
|
/linux/sound/pci/mixart/ |
H A D | mixart_hwdep.c | 136 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 D | cdn-dp-core.h | 25 struct audio_info { struct 94 struct audio_info audio_info; member
|
H A D | cdn-dp-reg.h | 471 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 D | cdn-dp-core.c | 787 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 D | cdn-dp-reg.c | 784 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 D | dc_stream.c | 81 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 D | audio.h | 46 const struct audio_info *audio_info,
|
H A D | stream_encoder.h | 197 struct audio_info *info); 208 struct audio_info *info, 347 struct audio_info *info);
|
/linux/sound/drivers/vx/ |
H A D | vx_core.c | 611 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 D | clk-tegra-audio.c | 165 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 D | dcn10_stream_encoder.c | 1228 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 D | link_hwss_dio.c | 209 &pipe_ctx->stream->audio_info); in setup_dio_audio_output() 214 &pipe_ctx->stream->audio_info, in setup_dio_audio_output()
|
H A D | link_hwss_hpo_dp.c | 184 &pipe_ctx->stream->audio_info); in setup_hpo_dp_audio_output()
|
/linux/drivers/gpu/drm/amd/display/dc/ |
H A D | dc_stream.h | 207 struct audio_info audio_info; member
|
/linux/drivers/gpu/drm/amd/display/dc/dio/dcn30/ |
H A D | dcn30_dio_stream_encoder.h | 310 struct audio_info *info); 318 struct audio_info *info,
|
H A D | dcn30_dio_stream_encoder.c | 721 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 D | dcn35_dio_stream_encoder.h | 308 struct audio_info *info); 316 struct audio_info *info,
|
/linux/drivers/gpu/drm/amd/display/dc/dio/dcn314/ |
H A D | dcn314_dio_stream_encoder.h | 298 struct audio_info *info); 306 struct audio_info *info,
|