Searched refs:sads (Results 1 – 12 of 12) sorted by relevance
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
D | radeon_audio.c | 42 struct cea_sad *sads, int sad_count); 44 struct cea_sad *sads, int sad_count); 46 struct cea_sad *sads, int sad_count); 363 struct cea_sad *sads; in radeon_audio_write_sad_regs() local 369 sad_count = drm_edid_to_sad(radeon_connector_edid(connector), &sads); in radeon_audio_write_sad_regs() 374 BUG_ON(!sads); in radeon_audio_write_sad_regs() 377 radeon_encoder->audio->write_sad_regs(encoder, sads, sad_count); in radeon_audio_write_sad_regs() 379 kfree(sads); in radeon_audio_write_sad_regs()
|
D | dce3_1_afmt.c | 67 struct cea_sad *sads, int sad_count) in dce3_2_afmt_write_sad_regs() argument 93 struct cea_sad *sad = &sads[j]; in dce3_2_afmt_write_sad_regs()
|
D | dce6_afmt.c | 203 struct cea_sad *sads, int sad_count) in dce6_afmt_write_sad_regs() argument 234 struct cea_sad *sad = &sads[j]; in dce6_afmt_write_sad_regs()
|
D | radeon_audio.h | 51 struct cea_sad *sads, int sad_count);
|
D | evergreen_hdmi.c | 156 struct cea_sad *sads, int sad_count) in evergreen_hdmi_write_sad_regs() argument 182 struct cea_sad *sad = &sads[j]; in evergreen_hdmi_write_sad_regs()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_helpers.c | 59 struct cea_sad *sads; in dm_helpers_parse_edid_caps() local 100 sad_count = drm_edid_to_sad((struct edid *) edid->raw_edid, &sads); in dm_helpers_parse_edid_caps() 106 struct cea_sad *sad = &sads[i]; in dm_helpers_parse_edid_caps() 126 kfree(sads); in dm_helpers_parse_edid_caps()
|
/kernel/linux/linux-5.10/include/drm/ |
D | drm_edid.h | 345 int drm_edid_to_sad(struct edid *edid, struct cea_sad **sads);
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
D | drm_edid.c | 4603 int drm_edid_to_sad(struct edid *edid, struct cea_sad **sads) in drm_edid_to_sad() argument 4634 *sads = kcalloc(count, sizeof(**sads), GFP_KERNEL); in drm_edid_to_sad() 4635 if (!*sads) in drm_edid_to_sad() 4640 (*sads)[j].format = (sad[0] & 0x78) >> 3; in drm_edid_to_sad() 4641 (*sads)[j].channels = sad[0] & 0x7; in drm_edid_to_sad() 4642 (*sads)[j].freq = sad[1] & 0x7F; in drm_edid_to_sad() 4643 (*sads)[j].byte2 = sad[2]; in drm_edid_to_sad()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
D | dce_v8_0.c | 1288 struct cea_sad *sads; in dce_v8_0_audio_write_sad_regs() local 1325 sad_count = drm_edid_to_sad(amdgpu_connector_edid(connector), &sads); in dce_v8_0_audio_write_sad_regs() 1330 BUG_ON(!sads); in dce_v8_0_audio_write_sad_regs() 1339 struct cea_sad *sad = &sads[j]; in dce_v8_0_audio_write_sad_regs() 1365 kfree(sads); in dce_v8_0_audio_write_sad_regs()
|
D | dce_v10_0.c | 1337 struct cea_sad *sads; in dce_v10_0_audio_write_sad_regs() local 1372 sad_count = drm_edid_to_sad(amdgpu_connector_edid(connector), &sads); in dce_v10_0_audio_write_sad_regs() 1377 BUG_ON(!sads); in dce_v10_0_audio_write_sad_regs() 1386 struct cea_sad *sad = &sads[j]; in dce_v10_0_audio_write_sad_regs() 1411 kfree(sads); in dce_v10_0_audio_write_sad_regs()
|
D | dce_v11_0.c | 1363 struct cea_sad *sads; in dce_v11_0_audio_write_sad_regs() local 1398 sad_count = drm_edid_to_sad(amdgpu_connector_edid(connector), &sads); in dce_v11_0_audio_write_sad_regs() 1403 BUG_ON(!sads); in dce_v11_0_audio_write_sad_regs() 1412 struct cea_sad *sad = &sads[j]; in dce_v11_0_audio_write_sad_regs() 1437 kfree(sads); in dce_v11_0_audio_write_sad_regs()
|
D | dce_v6_0.c | 1244 struct cea_sad *sads; 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() 1289 struct cea_sad *sad = &sads[j]; in dce_v6_0_audio_write_sad_regs() 1314 kfree(sads); in dce_v6_0_audio_write_sad_regs()
|