Home
last modified time | relevance | path

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

/drivers/gpu/drm/radeon/
Dradeon_audio.c42 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()
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.c203 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()
Dradeon_audio.h51 struct cea_sad *sads, int sad_count);
Devergreen_hdmi.c156 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()
/drivers/gpu/drm/
Ddrm_edid.c3453 int drm_edid_to_sad(struct edid *edid, struct cea_sad **sads) in drm_edid_to_sad() argument
3483 *sads = kcalloc(count, sizeof(**sads), GFP_KERNEL); in drm_edid_to_sad()
3484 if (!*sads) in drm_edid_to_sad()
3489 (*sads)[j].format = (sad[0] & 0x78) >> 3; in drm_edid_to_sad()
3490 (*sads)[j].channels = sad[0] & 0x7; in drm_edid_to_sad()
3491 (*sads)[j].freq = sad[1] & 0x7F; in drm_edid_to_sad()
3492 (*sads)[j].byte2 = sad[2]; in drm_edid_to_sad()
/drivers/gpu/drm/amd/amdgpu/
Ddce_v8_0.c1519 struct cea_sad *sads; in dce_v8_0_audio_write_sad_regs() local
1554 sad_count = drm_edid_to_sad(amdgpu_connector_edid(connector), &sads); in dce_v8_0_audio_write_sad_regs()
1559 BUG_ON(!sads); in dce_v8_0_audio_write_sad_regs()
1568 struct cea_sad *sad = &sads[j]; in dce_v8_0_audio_write_sad_regs()
1594 kfree(sads); in dce_v8_0_audio_write_sad_regs()
Ddce_v11_0.c1549 struct cea_sad *sads; in dce_v11_0_audio_write_sad_regs() local
1582 sad_count = drm_edid_to_sad(amdgpu_connector_edid(connector), &sads); in dce_v11_0_audio_write_sad_regs()
1587 BUG_ON(!sads); in dce_v11_0_audio_write_sad_regs()
1596 struct cea_sad *sad = &sads[j]; in dce_v11_0_audio_write_sad_regs()
1621 kfree(sads); in dce_v11_0_audio_write_sad_regs()
Ddce_v10_0.c1582 struct cea_sad *sads; in dce_v10_0_audio_write_sad_regs() local
1615 sad_count = drm_edid_to_sad(amdgpu_connector_edid(connector), &sads); in dce_v10_0_audio_write_sad_regs()
1620 BUG_ON(!sads); in dce_v10_0_audio_write_sad_regs()
1629 struct cea_sad *sad = &sads[j]; in dce_v10_0_audio_write_sad_regs()
1654 kfree(sads); in dce_v10_0_audio_write_sad_regs()