Home
last modified time | relevance | path

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

/drivers/gpu/drm/radeon/
Ddce3_1_afmt.c36 int sad_count; in dce3_2_afmt_write_speaker_allocation() local
50 sad_count = drm_edid_to_speaker_allocation(radeon_connector->edid, &sadb); in dce3_2_afmt_write_speaker_allocation()
51 if (sad_count < 0) { in dce3_2_afmt_write_speaker_allocation()
52 DRM_DEBUG("Couldn't read Speaker Allocation Data Block: %d\n", sad_count); in dce3_2_afmt_write_speaker_allocation()
53 sad_count = 0; in dce3_2_afmt_write_speaker_allocation()
61 if (sad_count) in dce3_2_afmt_write_speaker_allocation()
76 int i, sad_count; in dce3_2_afmt_write_sad_regs() local
105 sad_count = drm_edid_to_sad(radeon_connector->edid, &sads); in dce3_2_afmt_write_sad_regs()
106 if (sad_count <= 0) { in dce3_2_afmt_write_sad_regs()
107 DRM_ERROR("Couldn't read SADs: %d\n", sad_count); in dce3_2_afmt_write_sad_regs()
[all …]
Ddce6_afmt.c159 int sad_count; in dce6_afmt_write_speaker_allocation() local
178 sad_count = drm_edid_to_speaker_allocation(radeon_connector_edid(connector), &sadb); in dce6_afmt_write_speaker_allocation()
179 if (sad_count < 0) { in dce6_afmt_write_speaker_allocation()
180 DRM_DEBUG("Couldn't read Speaker Allocation Data Block: %d\n", sad_count); in dce6_afmt_write_speaker_allocation()
181 sad_count = 0; in dce6_afmt_write_speaker_allocation()
189 if (sad_count) in dce6_afmt_write_speaker_allocation()
207 int i, sad_count; in dce6_afmt_write_sad_regs() local
241 sad_count = drm_edid_to_sad(radeon_connector_edid(connector), &sads); in dce6_afmt_write_sad_regs()
242 if (sad_count <= 0) { in dce6_afmt_write_sad_regs()
243 DRM_ERROR("Couldn't read SADs: %d\n", sad_count); in dce6_afmt_write_sad_regs()
[all …]
Devergreen_hdmi.c137 int sad_count; in dce4_afmt_write_speaker_allocation() local
151 sad_count = drm_edid_to_speaker_allocation(radeon_connector_edid(connector), &sadb); in dce4_afmt_write_speaker_allocation()
152 if (sad_count < 0) { in dce4_afmt_write_speaker_allocation()
153 DRM_DEBUG("Couldn't read Speaker Allocation Data Block: %d\n", sad_count); in dce4_afmt_write_speaker_allocation()
154 sad_count = 0; in dce4_afmt_write_speaker_allocation()
162 if (sad_count) in dce4_afmt_write_speaker_allocation()
177 int i, sad_count; in evergreen_hdmi_write_sad_regs() local
206 sad_count = drm_edid_to_sad(radeon_connector_edid(connector), &sads); in evergreen_hdmi_write_sad_regs()
207 if (sad_count <= 0) { in evergreen_hdmi_write_sad_regs()
208 DRM_ERROR("Couldn't read SADs: %d\n", sad_count); in evergreen_hdmi_write_sad_regs()
[all …]
/drivers/gpu/drm/
Ddrm_edid.c3067 int sad_count = 0; in drm_edid_to_eld() local
3111 sad_count = dbl / 3; in drm_edid_to_eld()
3130 eld[5] |= sad_count << 4; in drm_edid_to_eld()
3131 eld[2] = (20 + mnl + sad_count * 3 + 3) / 4; in drm_edid_to_eld()
3133 DRM_DEBUG_KMS("ELD size %d, SAD count %d\n", (int)eld[2], sad_count); in drm_edid_to_eld()