Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/radeon/
A Dradeon_audio.h51 struct cea_sad *sads, int sad_count);
85 struct cea_sad *sads, int sad_count);
A 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()
A 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()
A Ddce6_afmt.h38 struct cea_sad *sads, int sad_count);
A Devergreen_hdmi.h42 struct cea_sad *sads, int sad_count);
A 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()
A 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()
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
A Damdgpu_dm_helpers.c91 struct cea_sad *sads; in dm_helpers_parse_edid_caps() local
132 sad_count = drm_edid_to_sad((struct edid *) edid->raw_edid, &sads); in dm_helpers_parse_edid_caps()
138 struct cea_sad *sad = &sads[i]; in dm_helpers_parse_edid_caps()
158 kfree(sads); in dm_helpers_parse_edid_caps()
/linux/drivers/gpu/drm/
A Ddrm_edid.c4645 int drm_edid_to_sad(struct edid *edid, struct cea_sad **sads) in drm_edid_to_sad() argument
4676 *sads = kcalloc(count, sizeof(**sads), GFP_KERNEL); in drm_edid_to_sad()
4677 if (!*sads) in drm_edid_to_sad()
4682 (*sads)[j].format = (sad[0] & 0x78) >> 3; in drm_edid_to_sad()
4683 (*sads)[j].channels = sad[0] & 0x7; in drm_edid_to_sad()
4684 (*sads)[j].freq = sad[1] & 0x7F; in drm_edid_to_sad()
4685 (*sads)[j].byte2 = sad[2]; in drm_edid_to_sad()
/linux/include/drm/
A Ddrm_edid.h375 int drm_edid_to_sad(struct edid *edid, struct cea_sad **sads);
/linux/drivers/gpu/drm/amd/amdgpu/
A 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()
A 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()
A 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()
A 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()

Completed in 88 milliseconds