Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce/
Ddce_audio.c93 const struct audio_info *audio_info, in is_audio_format_supported() argument
101 if (audio_info == NULL) in is_audio_format_supported()
105 for (index = 0; index < audio_info->mode_count; index++) { in is_audio_format_supported()
106 if (audio_info->modes[index].format_code == audio_format_code) { in is_audio_format_supported()
110 if (audio_info->modes[index].channel_count > in is_audio_format_supported()
111 audio_info->modes[max_channe_index].channel_count) { in is_audio_format_supported()
401 const struct audio_info *audio_info) in dce_aud_az_configure() argument
405 uint32_t speakers = audio_info->flags.info.ALLSPEAKERS; in dce_aud_az_configure()
507 audio_info, audio_format_code, &index)) { in dce_aud_az_configure()
509 &audio_info->modes[index]; in dce_aud_az_configure()
[all …]
Ddce_audio.h141 const struct audio_info *audio_info);
Ddce_stream_encoder.c1297 struct audio_info *audio_info) in dce110_se_audio_setup() argument
1304 ASSERT(audio_info); in dce110_se_audio_setup()
1305 if (audio_info == NULL) in dce110_se_audio_setup()
1309 speakers = audio_info->flags.info.ALLSPEAKERS; in dce110_se_audio_setup()
1310 channels = speakers_to_channels(audio_info->flags.speaker_flags).all; in dce110_se_audio_setup()
1512 struct audio_info *info) in dce110_se_dp_audio_setup()
1535 struct audio_info *info, in dce110_se_hdmi_audio_setup()
Ddce_stream_encoder.h716 struct audio_info *info);
727 struct audio_info *info,
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/core/
Ddc_stream.c72 stream->audio_info.modes[i].channel_count = dc_sink_data->edid_caps.audio_modes[i].channel_count; in construct()
73 stream->audio_info.modes[i].format_code = dc_sink_data->edid_caps.audio_modes[i].format_code; in construct()
74 stream->audio_info.modes[i].sample_rates.all = dc_sink_data->edid_caps.audio_modes[i].sample_rate; in construct()
75 stream->audio_info.modes[i].sample_size = dc_sink_data->edid_caps.audio_modes[i].sample_size; in construct()
77 stream->audio_info.mode_count = dc_sink_data->edid_caps.audio_mode_count; in construct()
78 stream->audio_info.audio_latency = dc_sink_data->edid_caps.audio_latency; in construct()
79 stream->audio_info.video_latency = dc_sink_data->edid_caps.video_latency; in construct()
81 stream->audio_info.display_name, in construct()
84 stream->audio_info.manufacture_id = dc_sink_data->edid_caps.manufacturer_id; in construct()
85 stream->audio_info.product_id = dc_sink_data->edid_caps.product_id; in construct()
[all …]
/Linux-v4.19/drivers/gpu/drm/rockchip/
Dcdn-dp-core.h32 struct audio_info { struct
101 struct audio_info audio_info; member
Dcdn-dp-reg.h479 int cdn_dp_audio_stop(struct cdn_dp_device *dp, struct audio_info *audio);
481 int cdn_dp_audio_config(struct cdn_dp_device *dp, struct audio_info *audio);
Dcdn-dp-core.c781 struct audio_info audio = { in cdn_dp_audio_hw_params()
809 dp->audio_info = audio; in cdn_dp_audio_hw_params()
825 ret = cdn_dp_audio_stop(dp, &dp->audio_info); in cdn_dp_audio_shutdown()
827 dp->audio_info.format = AFMT_UNUSED; in cdn_dp_audio_shutdown()
Dcdn-dp-reg.c793 int cdn_dp_audio_stop(struct cdn_dp_device *dp, struct audio_info *audio) in cdn_dp_audio_stop()
838 struct audio_info *audio) in cdn_dp_audio_config_i2s()
940 int cdn_dp_audio_config(struct cdn_dp_device *dp, struct audio_info *audio) in cdn_dp_audio_config()
/Linux-v4.19/sound/pci/mixart/
Dmixart_hwdep.c148 struct mixart_audio_info_resp *audio_info; in mixart_enum_connectors() local
152 audio_info = kmalloc(sizeof(*audio_info), GFP_KERNEL); in mixart_enum_connectors()
153 if (! connector || ! audio_info_req || ! audio_info) { in mixart_enum_connectors()
197 err = snd_mixart_send_msg(mgr, &request, sizeof(*audio_info), audio_info); in mixart_enum_connectors()
241 err = snd_mixart_send_msg(mgr, &request, sizeof(*audio_info), audio_info); in mixart_enum_connectors()
254 kfree(audio_info); in mixart_enum_connectors()
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/inc/hw/
Daudio.h46 const struct audio_info *audio_info);
Dstream_encoder.h135 struct audio_info *info);
146 struct audio_info *info,
/Linux-v4.19/drivers/staging/vc04_services/bcm2835-audio/
Dbcm2835.h33 #define audio_info(fmt, arg...) \ macro
40 #define audio_info(fmt, arg...) macro
48 #define audio_info(fmt, arg...) macro
Dbcm2835-pcm.c47 audio_info("Freeing up alsa stream here ..\n"); in snd_bcm2835_playback_free()
57 audio_info("alsa_stream=%p substream=%p\n", alsa_stream, in bcm2835_playback_fifo()
106 audio_info("Alsa open (%d)\n", substream->number); in snd_bcm2835_playback_open_generic()
204 audio_info("Alsa close\n"); in snd_bcm2835_playback_close()
374 audio_info("DRAINING\n"); in snd_bcm2835_pcm_trigger()
377 audio_info("DROPPING\n"); in snd_bcm2835_pcm_trigger()
416 audio_info(" .. substream=%p, cmd=%d, arg=%p (%x) ret=%d\n", substream, in snd_bcm2835_pcm_lib_ioctl()
Dbcm2835-ctl.c64 audio_info("Unmuting, old_volume = %d, volume = %d ...\n", chip->old_volume, chip->volume); in toggle_mute()
68 audio_info("Muting, old_volume = %d, volume = %d ...\n", chip->old_volume, chip->volume); in toggle_mute()
106audio_info("Volume change attempted.. volume = %d new_volume = %d\n", chip->volume, (int)ucontrol-… in snd_bcm2835_ctl_put()
119 audio_info(" Mute attempted\n"); in snd_bcm2835_ctl_put()
/Linux-v4.19/sound/drivers/vx/
Dvx_core.c616 if (chip->audio_info & VX_AUDIO_INFO_REAL_TIME) in vx_proc_read()
618 if (chip->audio_info & VX_AUDIO_INFO_OFFLINE) in vx_proc_read()
620 if (chip->audio_info & VX_AUDIO_INFO_MPEG1) in vx_proc_read()
622 if (chip->audio_info & VX_AUDIO_INFO_MPEG2) in vx_proc_read()
624 if (chip->audio_info & VX_AUDIO_INFO_LINEAR_8) in vx_proc_read()
626 if (chip->audio_info & VX_AUDIO_INFO_LINEAR_16) in vx_proc_read()
628 if (chip->audio_info & VX_AUDIO_INFO_LINEAR_24) in vx_proc_read()
/Linux-v4.19/drivers/clk/tegra/
Dclk-tegra-audio.c178 struct tegra_audio_clk_info *audio_info, in tegra_audio_clk_init() argument
185 if (!audio_info || num_plls < 1) { in tegra_audio_clk_init()
192 struct tegra_audio_clk_info *info = &audio_info[i]; in tegra_audio_clk_init()
Dclk.h798 struct tegra_audio_clk_info *audio_info,
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_stream_encoder.c1158 struct audio_info *audio_info) in enc1_se_audio_setup() argument
1165 ASSERT(audio_info); in enc1_se_audio_setup()
1166 if (audio_info == NULL) in enc1_se_audio_setup()
1170 speakers = audio_info->flags.info.ALLSPEAKERS; in enc1_se_audio_setup()
1171 channels = speakers_to_channels(audio_info->flags.speaker_flags).all; in enc1_se_audio_setup()
1372 struct audio_info *info) in enc1_se_dp_audio_setup()
1395 struct audio_info *info, in enc1_se_hdmi_audio_setup()
Ddcn10_stream_encoder.h507 struct audio_info *info);
518 struct audio_info *info,
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/
Ddc_stream.h57 struct audio_info audio_info; member
Ddc_types.h501 struct audio_info { struct
/Linux-v4.19/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c2392 static void fill_audio_info(struct audio_info *audio_info, in fill_audio_info() argument
2400 audio_info->manufacture_id = edid_caps->manufacturer_id; in fill_audio_info()
2401 audio_info->product_id = edid_caps->product_id; in fill_audio_info()
2405 strncpy(audio_info->display_name, in fill_audio_info()
2410 audio_info->mode_count = edid_caps->audio_mode_count; in fill_audio_info()
2412 for (i = 0; i < audio_info->mode_count; ++i) { in fill_audio_info()
2413 audio_info->modes[i].format_code = in fill_audio_info()
2416 audio_info->modes[i].channel_count = in fill_audio_info()
2418 audio_info->modes[i].sample_rates.all = in fill_audio_info()
2420 audio_info->modes[i].sample_size = in fill_audio_info()
[all …]
/Linux-v4.19/include/sound/
Dvx_core.h176 unsigned int audio_info; /* see VX_AUDIO_INFO */ member
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_hw_sequencer.c1354 &pipe_ctx->stream->audio_info); in apply_single_controller_ctx_to_hw()
1359 &pipe_ctx->stream->audio_info, in apply_single_controller_ctx_to_hw()
1366 &pipe_ctx->stream->audio_info); in apply_single_controller_ctx_to_hw()

12