Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce/
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()
397 const struct audio_info *audio_info) in dce_aud_az_configure() argument
401 uint32_t speakers = audio_info->flags.info.ALLSPEAKERS; in dce_aud_az_configure()
492 audio_info->flags.info.SUPPORT_AI, in dce_aud_az_configure()
514 audio_info, audio_format_code, &index)) { in dce_aud_az_configure()
[all …]
Ddce_audio.h173 const struct audio_info *audio_info);
Ddce_stream_encoder.c1235 struct audio_info *audio_info) in dce110_se_audio_setup() argument
1241 ASSERT(audio_info); in dce110_se_audio_setup()
1242 if (audio_info == NULL) in dce110_se_audio_setup()
1246 channels = speakers_to_channels(audio_info->flags.speaker_flags).all; in dce110_se_audio_setup()
1448 struct audio_info *info) in dce110_se_dp_audio_setup()
1471 struct audio_info *info, in dce110_se_hdmi_audio_setup()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn31/
Ddcn31_apg.c112 struct audio_info *audio_info) in apg31_se_audio_setup() argument
119 ASSERT(audio_info); in apg31_se_audio_setup()
121 if (audio_info == NULL) in apg31_se_audio_setup()
124 speakers = audio_info->flags.info.ALLSPEAKERS; in apg31_se_audio_setup()
125 channels = speakers_to_channels(audio_info->flags.speaker_flags).all; in apg31_se_audio_setup()
Ddcn31_apg.h85 struct audio_info *audio_info);
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_afmt.c122 struct audio_info *audio_info) in afmt3_se_audio_setup() argument
129 ASSERT(audio_info); in afmt3_se_audio_setup()
131 if (audio_info == NULL) in afmt3_se_audio_setup()
134 speakers = audio_info->flags.info.ALLSPEAKERS; in afmt3_se_audio_setup()
135 channels = speakers_to_channels(audio_info->flags.speaker_flags).all; in afmt3_se_audio_setup()
Ddcn30_afmt.h113 struct audio_info *audio_info);
151 struct audio_info *audio_info);
Ddcn30_dio_stream_encoder.h306 struct audio_info *info);
314 struct audio_info *info,
Ddcn30_dio_stream_encoder.c684 struct audio_info *info) in enc3_se_dp_audio_setup()
781 struct audio_info *info, in enc3_se_hdmi_audio_setup()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/core/
Ddc_stream.c76 stream->audio_info.modes[i].channel_count = dc_sink_data->edid_caps.audio_modes[i].channel_count; in dc_stream_construct()
77 stream->audio_info.modes[i].format_code = dc_sink_data->edid_caps.audio_modes[i].format_code; in dc_stream_construct()
78 stream->audio_info.modes[i].sample_rates.all = dc_sink_data->edid_caps.audio_modes[i].sample_rate; in dc_stream_construct()
79 stream->audio_info.modes[i].sample_size = dc_sink_data->edid_caps.audio_modes[i].sample_size; in dc_stream_construct()
81 stream->audio_info.mode_count = dc_sink_data->edid_caps.audio_mode_count; in dc_stream_construct()
82 stream->audio_info.audio_latency = dc_sink_data->edid_caps.audio_latency; in dc_stream_construct()
83 stream->audio_info.video_latency = dc_sink_data->edid_caps.video_latency; in dc_stream_construct()
85 stream->audio_info.display_name, in dc_stream_construct()
88 stream->audio_info.manufacture_id = dc_sink_data->edid_caps.manufacturer_id; in dc_stream_construct()
89 stream->audio_info.product_id = dc_sink_data->edid_caps.product_id; in dc_stream_construct()
[all …]
/linux-6.1.9/drivers/gpu/drm/rockchip/
Dcdn-dp-core.h25 struct audio_info { struct
94 struct audio_info audio_info; member
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);
Dcdn-dp-core.c788 struct audio_info audio = { in cdn_dp_audio_hw_params()
816 dp->audio_info = audio; in cdn_dp_audio_hw_params()
832 ret = cdn_dp_audio_stop(dp, &dp->audio_info); in cdn_dp_audio_shutdown()
834 dp->audio_info.format = AFMT_UNUSED; in cdn_dp_audio_shutdown()
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-6.1.9/sound/pci/mixart/
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-6.1.9/drivers/gpu/drm/amd/display/dc/inc/hw/
Daudio.h46 const struct audio_info *audio_info);
Dstream_encoder.h188 struct audio_info *info);
199 struct audio_info *info,
326 struct audio_info *info);
/linux-6.1.9/sound/drivers/vx/
Dvx_core.c621 if (chip->audio_info & VX_AUDIO_INFO_REAL_TIME) in vx_proc_read()
623 if (chip->audio_info & VX_AUDIO_INFO_OFFLINE) in vx_proc_read()
625 if (chip->audio_info & VX_AUDIO_INFO_MPEG1) in vx_proc_read()
627 if (chip->audio_info & VX_AUDIO_INFO_MPEG2) in vx_proc_read()
629 if (chip->audio_info & VX_AUDIO_INFO_LINEAR_8) in vx_proc_read()
631 if (chip->audio_info & VX_AUDIO_INFO_LINEAR_16) in vx_proc_read()
633 if (chip->audio_info & VX_AUDIO_INFO_LINEAR_24) in vx_proc_read()
/linux-6.1.9/drivers/clk/tegra/
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-6.1.9/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_stream_encoder.c1220 struct audio_info *audio_info) in enc1_se_audio_setup() argument
1226 ASSERT(audio_info); in enc1_se_audio_setup()
1227 if (audio_info == NULL) in enc1_se_audio_setup()
1231 channels = speakers_to_channels(audio_info->flags.speaker_flags).all; in enc1_se_audio_setup()
1432 struct audio_info *info) in enc1_se_dp_audio_setup()
1455 struct audio_info *info, in enc1_se_hdmi_audio_setup()
Ddcn10_stream_encoder.h679 struct audio_info *info);
690 struct audio_info *info,
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/
Ddc_stream.h182 struct audio_info audio_info; member
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/
Dresource.h197 void get_audio_check(struct audio_info *aud_modes,
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn314/
Ddcn314_dio_stream_encoder.h294 struct audio_info *info);
302 struct audio_info *info,
/linux-6.1.9/include/sound/
Dvx_core.h163 unsigned int audio_info; /* see VX_AUDIO_INFO */ member

12