Lines Matching refs:sad_count
1470 int sad_count; in dce_v11_0_audio_write_speaker_allocation() local
1487 sad_count = drm_edid_to_speaker_allocation(amdgpu_connector_edid(connector), &sadb); in dce_v11_0_audio_write_speaker_allocation()
1488 if (sad_count < 0) { in dce_v11_0_audio_write_speaker_allocation()
1489 DRM_ERROR("Couldn't read Speaker Allocation Data Block: %d\n", sad_count); in dce_v11_0_audio_write_speaker_allocation()
1490 sad_count = 0; in dce_v11_0_audio_write_speaker_allocation()
1501 if (sad_count) in dce_v11_0_audio_write_speaker_allocation()
1521 int i, sad_count; in dce_v11_0_audio_write_sad_regs() local
1553 sad_count = drm_edid_to_sad(amdgpu_connector_edid(connector), &sads); in dce_v11_0_audio_write_sad_regs()
1554 if (sad_count <= 0) { in dce_v11_0_audio_write_sad_regs()
1555 DRM_ERROR("Couldn't read SADs: %d\n", sad_count); in dce_v11_0_audio_write_sad_regs()
1566 for (j = 0; j < sad_count; j++) { in dce_v11_0_audio_write_sad_regs()