/drivers/gpu/drm/radeon/ |
D | dce3_1_afmt.c | 31 u8 *sadb, int sad_count) in dce3_2_afmt_hdmi_write_speaker_allocation() argument 42 tmp |= SPEAKER_ALLOCATION(sadb[0]); in dce3_2_afmt_hdmi_write_speaker_allocation() 49 u8 *sadb, int sad_count) in dce3_2_afmt_dp_write_speaker_allocation() argument 60 tmp |= SPEAKER_ALLOCATION(sadb[0]); in dce3_2_afmt_dp_write_speaker_allocation()
|
D | radeon_audio.h | 53 u8 *sadb, int sad_count); 87 u8 *sadb, int sad_count); 89 u8 *sadb, int sad_count);
|
D | dce6_afmt.h | 40 u8 *sadb, int sad_count); 42 u8 *sadb, int sad_count);
|
D | evergreen_hdmi.h | 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 171 tmp |= SPEAKER_ALLOCATION(sadb[0]); in dce6_afmt_hdmi_write_speaker_allocation() 179 u8 *sadb, int sad_count) in dce6_afmt_dp_write_speaker_allocation() argument 196 tmp |= SPEAKER_ALLOCATION(sadb[0]); in dce6_afmt_dp_write_speaker_allocation()
|
D | evergreen_hdmi.c | 121 u8 *sadb, int sad_count) in dce4_afmt_hdmi_write_speaker_allocation() argument 132 tmp |= SPEAKER_ALLOCATION(sadb[0]); in dce4_afmt_hdmi_write_speaker_allocation() 139 u8 *sadb, int sad_count) in dce4_afmt_dp_write_speaker_allocation() argument 150 tmp |= SPEAKER_ALLOCATION(sadb[0]); in dce4_afmt_dp_write_speaker_allocation()
|
D | radeon_audio.c | 324 u8 *sadb = NULL; in radeon_audio_write_speaker_allocation() local 331 &sadb); in radeon_audio_write_speaker_allocation() 339 radeon_encoder->audio->write_speaker_allocation(encoder, sadb, sad_count); in radeon_audio_write_speaker_allocation() 341 kfree(sadb); in radeon_audio_write_speaker_allocation()
|
/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_helpers.c | 63 uint8_t *sadb = NULL; in dm_helpers_parse_edid_caps() local 113 sadb_count = drm_edid_to_speaker_allocation((struct edid *) edid->raw_edid, &sadb); in dm_helpers_parse_edid_caps() 121 edid_caps->speaker_flags = sadb[0]; in dm_helpers_parse_edid_caps() 126 kfree(sadb); in dm_helpers_parse_edid_caps()
|
/drivers/gpu/drm/amd/amdgpu/ |
D | dce_v8_0.c | 1236 u8 *sadb = NULL; 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() 1271 tmp |= (sadb[0] << AZALIA_F0_CODEC_PIN_CONTROL_CHANNEL_SPEAKER__SPEAKER_ALLOCATION__SHIFT); in dce_v8_0_audio_write_speaker_allocation() 1276 kfree(sadb); in dce_v8_0_audio_write_speaker_allocation()
|
D | dce_v6_0.c | 1183 u8 *sadb = NULL; 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() 1224 SPEAKER_ALLOCATION, sadb[0]); in dce_v6_0_audio_write_speaker_allocation() 1232 kfree(sadb); in dce_v6_0_audio_write_speaker_allocation()
|
D | dce_v10_0.c | 1283 u8 *sadb = NULL; 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() 1319 SPEAKER_ALLOCATION, sadb[0]); in dce_v10_0_audio_write_speaker_allocation() 1326 kfree(sadb); in dce_v10_0_audio_write_speaker_allocation()
|
D | dce_v11_0.c | 1309 u8 *sadb = NULL; 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() 1345 SPEAKER_ALLOCATION, sadb[0]); in dce_v11_0_audio_write_speaker_allocation() 1352 kfree(sadb); in dce_v11_0_audio_write_speaker_allocation()
|
/drivers/gpu/drm/ |
D | drm_edid.c | 4635 int drm_edid_to_speaker_allocation(struct edid *edid, u8 **sadb) in drm_edid_to_speaker_allocation() argument 4665 *sadb = kmemdup(&db[1], dbl, GFP_KERNEL); in drm_edid_to_speaker_allocation() 4666 if (!*sadb) in drm_edid_to_speaker_allocation()
|