/drivers/gpu/drm/radeon/ |
D | radeon_audio.h | 51 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);
|
D | dce3_1_afmt.c | 31 u8 *sadb, int sad_count) in dce3_2_afmt_hdmi_write_speaker_allocation() argument 41 if (sad_count) in dce3_2_afmt_hdmi_write_speaker_allocation() 49 u8 *sadb, int sad_count) in dce3_2_afmt_dp_write_speaker_allocation() argument 59 if (sad_count) in dce3_2_afmt_dp_write_speaker_allocation() 67 struct cea_sad *sads, int sad_count) in dce3_2_afmt_write_sad_regs() argument 92 for (j = 0; j < sad_count; j++) { in dce3_2_afmt_write_sad_regs()
|
D | dce6_afmt.h | 38 struct cea_sad *sads, int sad_count); 40 u8 *sadb, int sad_count); 42 u8 *sadb, int sad_count);
|
D | radeon_audio.c | 302 int sad_count; in radeon_audio_write_sad_regs() local 307 sad_count = drm_edid_to_sad(radeon_connector_edid(connector), &sads); in radeon_audio_write_sad_regs() 308 if (sad_count < 0) in radeon_audio_write_sad_regs() 309 DRM_ERROR("Couldn't read SADs: %d\n", sad_count); in radeon_audio_write_sad_regs() 310 if (sad_count <= 0) in radeon_audio_write_sad_regs() 315 radeon_encoder->audio->write_sad_regs(encoder, sads, sad_count); in radeon_audio_write_sad_regs() 325 int sad_count; in radeon_audio_write_speaker_allocation() local 330 sad_count = drm_edid_to_speaker_allocation(radeon_connector_edid(connector), in radeon_audio_write_speaker_allocation() 332 if (sad_count < 0) { in radeon_audio_write_speaker_allocation() 334 sad_count); in radeon_audio_write_speaker_allocation() [all …]
|
D | evergreen_hdmi.h | 42 struct cea_sad *sads, int sad_count); 53 u8 *sadb, int sad_count); 55 u8 *sadb, int sad_count);
|
D | dce6_afmt.c | 154 u8 *sadb, int sad_count) in dce6_afmt_hdmi_write_speaker_allocation() argument 170 if (sad_count) in dce6_afmt_hdmi_write_speaker_allocation() 179 u8 *sadb, int sad_count) in dce6_afmt_dp_write_speaker_allocation() argument 195 if (sad_count) in dce6_afmt_dp_write_speaker_allocation() 204 struct cea_sad *sads, int sad_count) in dce6_afmt_write_sad_regs() argument 234 for (j = 0; j < sad_count; j++) { in dce6_afmt_write_sad_regs()
|
D | evergreen_hdmi.c | 121 u8 *sadb, int sad_count) in dce4_afmt_hdmi_write_speaker_allocation() argument 131 if (sad_count) in dce4_afmt_hdmi_write_speaker_allocation() 139 u8 *sadb, int sad_count) in dce4_afmt_dp_write_speaker_allocation() argument 149 if (sad_count) in dce4_afmt_dp_write_speaker_allocation() 157 struct cea_sad *sads, int sad_count) in evergreen_hdmi_write_sad_regs() argument 182 for (j = 0; j < sad_count; j++) { in evergreen_hdmi_write_sad_regs()
|
/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_helpers.c | 59 int sad_count = -1; in dm_helpers_parse_edid_caps() local 99 sad_count = drm_edid_to_sad((struct edid *) edid->raw_edid, &sads); in dm_helpers_parse_edid_caps() 100 if (sad_count <= 0) in dm_helpers_parse_edid_caps() 103 …edid_caps->audio_mode_count = sad_count < DC_MAX_AUDIO_DESC_COUNT ? sad_count : DC_MAX_AUDIO_DESC_… in dm_helpers_parse_edid_caps()
|
/drivers/gpu/drm/amd/amdgpu/ |
D | dce_v8_0.c | 1237 int sad_count; in dce_v8_0_audio_write_speaker_allocation() local 1258 sad_count = drm_edid_to_speaker_allocation(amdgpu_connector_edid(connector), &sadb); in dce_v8_0_audio_write_speaker_allocation() 1259 if (sad_count < 0) { in dce_v8_0_audio_write_speaker_allocation() 1260 DRM_ERROR("Couldn't read Speaker Allocation Data Block: %d\n", sad_count); in dce_v8_0_audio_write_speaker_allocation() 1261 sad_count = 0; in dce_v8_0_audio_write_speaker_allocation() 1270 if (sad_count) in dce_v8_0_audio_write_speaker_allocation() 1290 int i, sad_count; in dce_v8_0_audio_write_sad_regs() local 1326 sad_count = drm_edid_to_sad(amdgpu_connector_edid(connector), &sads); in dce_v8_0_audio_write_sad_regs() 1327 if (sad_count < 0) in dce_v8_0_audio_write_sad_regs() 1328 DRM_ERROR("Couldn't read SADs: %d\n", sad_count); in dce_v8_0_audio_write_sad_regs() [all …]
|
D | dce_v6_0.c | 1184 int sad_count; in dce_v6_0_audio_write_speaker_allocation() local 1201 sad_count = drm_edid_to_speaker_allocation(amdgpu_connector_edid(connector), &sadb); in dce_v6_0_audio_write_speaker_allocation() 1202 if (sad_count < 0) { in dce_v6_0_audio_write_speaker_allocation() 1203 DRM_ERROR("Couldn't read Speaker Allocation Data Block: %d\n", sad_count); in dce_v6_0_audio_write_speaker_allocation() 1204 sad_count = 0; in dce_v6_0_audio_write_speaker_allocation() 1222 if (sad_count) in dce_v6_0_audio_write_speaker_allocation() 1245 int i, sad_count; in dce_v6_0_audio_write_sad_regs() local 1276 sad_count = drm_edid_to_sad(amdgpu_connector_edid(connector), &sads); in dce_v6_0_audio_write_sad_regs() 1277 if (sad_count < 0) in dce_v6_0_audio_write_sad_regs() 1278 DRM_ERROR("Couldn't read SADs: %d\n", sad_count); in dce_v6_0_audio_write_sad_regs() [all …]
|
D | dce_v10_0.c | 1284 int sad_count; in dce_v10_0_audio_write_speaker_allocation() local 1303 sad_count = drm_edid_to_speaker_allocation(amdgpu_connector_edid(connector), &sadb); in dce_v10_0_audio_write_speaker_allocation() 1304 if (sad_count < 0) { in dce_v10_0_audio_write_speaker_allocation() 1305 DRM_ERROR("Couldn't read Speaker Allocation Data Block: %d\n", sad_count); in dce_v10_0_audio_write_speaker_allocation() 1306 sad_count = 0; in dce_v10_0_audio_write_speaker_allocation() 1317 if (sad_count) in dce_v10_0_audio_write_speaker_allocation() 1339 int i, sad_count; in dce_v10_0_audio_write_sad_regs() local 1373 sad_count = drm_edid_to_sad(amdgpu_connector_edid(connector), &sads); in dce_v10_0_audio_write_sad_regs() 1374 if (sad_count < 0) in dce_v10_0_audio_write_sad_regs() 1375 DRM_ERROR("Couldn't read SADs: %d\n", sad_count); in dce_v10_0_audio_write_sad_regs() [all …]
|
D | dce_v11_0.c | 1310 int sad_count; in dce_v11_0_audio_write_speaker_allocation() local 1329 sad_count = drm_edid_to_speaker_allocation(amdgpu_connector_edid(connector), &sadb); in dce_v11_0_audio_write_speaker_allocation() 1330 if (sad_count < 0) { in dce_v11_0_audio_write_speaker_allocation() 1331 DRM_ERROR("Couldn't read Speaker Allocation Data Block: %d\n", sad_count); in dce_v11_0_audio_write_speaker_allocation() 1332 sad_count = 0; in dce_v11_0_audio_write_speaker_allocation() 1343 if (sad_count) in dce_v11_0_audio_write_speaker_allocation() 1365 int i, sad_count; in dce_v11_0_audio_write_sad_regs() local 1399 sad_count = drm_edid_to_sad(amdgpu_connector_edid(connector), &sads); in dce_v11_0_audio_write_sad_regs() 1400 if (sad_count < 0) in dce_v11_0_audio_write_sad_regs() 1401 DRM_ERROR("Couldn't read SADs: %d\n", sad_count); in dce_v11_0_audio_write_sad_regs() [all …]
|
/drivers/gpu/drm/ |
D | drm_edid.c | 4512 int sad_count; in drm_edid_to_eld() local 4526 sad_count = min(dbl / 3, 15 - total_sad_count); in drm_edid_to_eld() 4527 if (sad_count >= 1) in drm_edid_to_eld() 4529 &db[1], sad_count * 3); in drm_edid_to_eld() 4530 total_sad_count += sad_count; in drm_edid_to_eld()
|