Lines Matching refs:sad_count
1482 int sad_count; in dce_v10_0_audio_write_speaker_allocation() local
1499 sad_count = drm_edid_to_speaker_allocation(amdgpu_connector_edid(connector), &sadb); in dce_v10_0_audio_write_speaker_allocation()
1500 if (sad_count < 0) { in dce_v10_0_audio_write_speaker_allocation()
1501 DRM_ERROR("Couldn't read Speaker Allocation Data Block: %d\n", sad_count); in dce_v10_0_audio_write_speaker_allocation()
1502 sad_count = 0; in dce_v10_0_audio_write_speaker_allocation()
1513 if (sad_count) in dce_v10_0_audio_write_speaker_allocation()
1533 int i, sad_count; in dce_v10_0_audio_write_sad_regs() local
1565 sad_count = drm_edid_to_sad(amdgpu_connector_edid(connector), &sads); in dce_v10_0_audio_write_sad_regs()
1566 if (sad_count <= 0) { in dce_v10_0_audio_write_sad_regs()
1567 DRM_ERROR("Couldn't read SADs: %d\n", sad_count); in dce_v10_0_audio_write_sad_regs()
1578 for (j = 0; j < sad_count; j++) { in dce_v10_0_audio_write_sad_regs()