Home
last modified time | relevance | path

Searched refs:sads (Results 1 – 13 of 13) sorted by relevance

/drivers/gpu/drm/radeon/
Dradeon_audio.h51 struct cea_sad *sads, int sad_count);
85 struct cea_sad *sads, int sad_count);
Dradeon_audio.c301 struct cea_sad *sads; 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()
312 BUG_ON(!sads); in radeon_audio_write_sad_regs()
315 radeon_encoder->audio->write_sad_regs(encoder, sads, sad_count); in radeon_audio_write_sad_regs()
317 kfree(sads); in radeon_audio_write_sad_regs()
Ddce3_1_afmt.c67 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()
Ddce6_afmt.h38 struct cea_sad *sads, int sad_count);
Devergreen_hdmi.h42 struct cea_sad *sads, int sad_count);
Ddce6_afmt.c204 struct cea_sad *sads, int sad_count) in dce6_afmt_write_sad_regs() argument
235 struct cea_sad *sad = &sads[j]; in dce6_afmt_write_sad_regs()
Devergreen_hdmi.c157 struct cea_sad *sads, int sad_count) in evergreen_hdmi_write_sad_regs() argument
183 struct cea_sad *sad = &sads[j]; in evergreen_hdmi_write_sad_regs()
/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_helpers.c58 struct cea_sad *sads; 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()
105 struct cea_sad *sad = &sads[i]; in dm_helpers_parse_edid_caps()
125 kfree(sads); in dm_helpers_parse_edid_caps()
/drivers/gpu/drm/
Ddrm_edid.c4573 int drm_edid_to_sad(struct edid *edid, struct cea_sad **sads) in drm_edid_to_sad() argument
4604 *sads = kcalloc(count, sizeof(**sads), GFP_KERNEL); in drm_edid_to_sad()
4605 if (!*sads) in drm_edid_to_sad()
4610 (*sads)[j].format = (sad[0] & 0x78) >> 3; in drm_edid_to_sad()
4611 (*sads)[j].channels = sad[0] & 0x7; in drm_edid_to_sad()
4612 (*sads)[j].freq = sad[1] & 0x7F; in drm_edid_to_sad()
4613 (*sads)[j].byte2 = sad[2]; in drm_edid_to_sad()
/drivers/gpu/drm/amd/amdgpu/
Ddce_v8_0.c1289 struct cea_sad *sads; 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()
1331 BUG_ON(!sads); in dce_v8_0_audio_write_sad_regs()
1340 struct cea_sad *sad = &sads[j]; in dce_v8_0_audio_write_sad_regs()
1366 kfree(sads); in dce_v8_0_audio_write_sad_regs()
Ddce_v10_0.c1338 struct cea_sad *sads; 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()
1378 BUG_ON(!sads); in dce_v10_0_audio_write_sad_regs()
1387 struct cea_sad *sad = &sads[j]; in dce_v10_0_audio_write_sad_regs()
1412 kfree(sads); in dce_v10_0_audio_write_sad_regs()
Ddce_v11_0.c1364 struct cea_sad *sads; 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()
1404 BUG_ON(!sads); in dce_v11_0_audio_write_sad_regs()
1413 struct cea_sad *sad = &sads[j]; in dce_v11_0_audio_write_sad_regs()
1438 kfree(sads); in dce_v11_0_audio_write_sad_regs()
Ddce_v6_0.c1244 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()