Home
last modified time | relevance | path

Searched refs:sad_count (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/gpu/drm/radeon/
H A Dradeon_audio.h51 struct cea_sad *sads, int sad_count);
53 u8 *sadb, int sad_count);
85 struct cea_sad *sads, int sad_count);
87 u8 *sadb, int sad_count);
89 u8 *sadb, int sad_count);
H A Ddce3_1_afmt.c32 u8 *sadb, int sad_count) in dce3_2_afmt_hdmi_write_speaker_allocation() argument
42 if (sad_count) in dce3_2_afmt_hdmi_write_speaker_allocation()
50 u8 *sadb, int sad_count) in dce3_2_afmt_dp_write_speaker_allocation() argument
60 if (sad_count) in dce3_2_afmt_dp_write_speaker_allocation()
68 struct cea_sad *sads, int sad_count) in dce3_2_afmt_write_sad_regs() argument
93 for (j = 0; j < sad_count; j++) { in dce3_2_afmt_write_sad_regs()
H A Ddce6_afmt.h38 struct cea_sad *sads, int sad_count);
40 u8 *sadb, int sad_count);
42 u8 *sadb, int sad_count);
H A Devergreen_hdmi.h42 struct cea_sad *sads, int sad_count);
53 u8 *sadb, int sad_count);
55 u8 *sadb, int sad_count);
H A Ddce6_afmt.c155 u8 *sadb, int sad_count) in dce6_afmt_hdmi_write_speaker_allocation() argument
171 if (sad_count) in dce6_afmt_hdmi_write_speaker_allocation()
180 u8 *sadb, int sad_count) in dce6_afmt_dp_write_speaker_allocation() argument
196 if (sad_count) in dce6_afmt_dp_write_speaker_allocation()
205 struct cea_sad *sads, int sad_count) in dce6_afmt_write_sad_regs() argument
235 for (j = 0; j < sad_count; j++) { in dce6_afmt_write_sad_regs()
H A Dradeon_audio.c309 int sad_count; in radeon_audio_write_sad_regs() local
314 sad_count = drm_edid_to_sad(radeon_connector->edid, &sads); in radeon_audio_write_sad_regs()
315 if (sad_count < 0) in radeon_audio_write_sad_regs()
316 DRM_ERROR("Couldn't read SADs: %d\n", sad_count); in radeon_audio_write_sad_regs()
317 if (sad_count <= 0) in radeon_audio_write_sad_regs()
322 radeon_encoder->audio->write_sad_regs(encoder, sads, sad_count); in radeon_audio_write_sad_regs()
333 int sad_count; in radeon_audio_write_speaker_allocation() local
338 sad_count = drm_edid_to_speaker_allocation(radeon_connector->edid, &sadb); in radeon_audio_write_speaker_allocation()
339 if (sad_count < 0) { in radeon_audio_write_speaker_allocation()
341 sad_count); in radeon_audio_write_speaker_allocation()
[all …]
H A Devergreen_hdmi.c122 u8 *sadb, int sad_count) in dce4_afmt_hdmi_write_speaker_allocation() argument
132 if (sad_count) in dce4_afmt_hdmi_write_speaker_allocation()
140 u8 *sadb, int sad_count) in dce4_afmt_dp_write_speaker_allocation() argument
150 if (sad_count) in dce4_afmt_dp_write_speaker_allocation()
158 struct cea_sad *sads, int sad_count) in evergreen_hdmi_write_sad_regs() argument
183 for (j = 0; j < sad_count; j++) { in evergreen_hdmi_write_sad_regs()
/linux/sound/hda/codecs/hdmi/
H A Deld.c159 e->sad_count = val; in snd_hdmi_write_eld_info()
181 if (n >= e->sad_count) in snd_hdmi_write_eld_info()
182 e->sad_count = n + 1; in snd_hdmi_write_eld_info()
206 for (i = 0; i < e->sad_count; i++) { in snd_hdmi_eld_update_pcm_info()
H A Dhdmi.c1162 if (!eld->eld_valid || eld->eld_size <= 0 || eld->info.sad_count <= 0) { in update_eld()