Home
last modified time | relevance | path

Searched refs:sadb (Results 1 – 12 of 12) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/gpu/drm/radeon/
H A Ddce3_1_afmt.c31 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()
H A Dradeon_audio.c48 u8 *sadb, int sad_count);
50 u8 *sadb, int sad_count);
52 u8 *sadb, int sad_count);
54 u8 *sadb, int sad_count);
56 u8 *sadb, int sad_count);
58 u8 *sadb, int sad_count);
386 u8 *sadb = NULL; in radeon_audio_write_speaker_allocation() local
393 &sadb); in radeon_audio_write_speaker_allocation()
401 radeon_encoder->audio->write_speaker_allocation(encoder, sadb, sad_count); in radeon_audio_write_speaker_allocation()
403 kfree(sadb); in radeon_audio_write_speaker_allocation()
H A Ddce6_afmt.c153 u8 *sadb, int sad_count) in dce6_afmt_hdmi_write_speaker_allocation() argument
170 tmp |= SPEAKER_ALLOCATION(sadb[0]); in dce6_afmt_hdmi_write_speaker_allocation()
178 u8 *sadb, int sad_count) in dce6_afmt_dp_write_speaker_allocation() argument
195 tmp |= SPEAKER_ALLOCATION(sadb[0]); in dce6_afmt_dp_write_speaker_allocation()
H A Devergreen_hdmi.c120 u8 *sadb, int sad_count) in dce4_afmt_hdmi_write_speaker_allocation() argument
131 tmp |= SPEAKER_ALLOCATION(sadb[0]); in dce4_afmt_hdmi_write_speaker_allocation()
138 u8 *sadb, int sad_count) in dce4_afmt_dp_write_speaker_allocation() argument
149 tmp |= SPEAKER_ALLOCATION(sadb[0]); in dce4_afmt_dp_write_speaker_allocation()
H A Dradeon_audio.h53 u8 *sadb, int sad_count);
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_helpers.c64 uint8_t *sadb = NULL; in dm_helpers_parse_edid_caps() local
114 sadb_count = drm_edid_to_speaker_allocation((struct edid *) edid->raw_edid, &sadb); in dm_helpers_parse_edid_caps()
122 edid_caps->speaker_flags = sadb[0]; in dm_helpers_parse_edid_caps()
127 kfree(sadb); in dm_helpers_parse_edid_caps()
/OK3568_Linux_fs/kernel/include/drm/
H A Ddrm_edid.h378 int drm_edid_to_speaker_allocation(struct edid *edid, u8 **sadb);
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/amdgpu/
H A Ddce_v8_0.c1235 u8 *sadb = NULL; in dce_v8_0_audio_write_speaker_allocation() local
1257 sad_count = drm_edid_to_speaker_allocation(amdgpu_connector_edid(connector), &sadb); in dce_v8_0_audio_write_speaker_allocation()
1270 tmp |= (sadb[0] << AZALIA_F0_CODEC_PIN_CONTROL_CHANNEL_SPEAKER__SPEAKER_ALLOCATION__SHIFT); in dce_v8_0_audio_write_speaker_allocation()
1275 kfree(sadb); in dce_v8_0_audio_write_speaker_allocation()
H A Ddce_v6_0.c1183 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()
H A Ddce_v10_0.c1282 u8 *sadb = NULL; in dce_v10_0_audio_write_speaker_allocation() local
1302 sad_count = drm_edid_to_speaker_allocation(amdgpu_connector_edid(connector), &sadb); in dce_v10_0_audio_write_speaker_allocation()
1318 SPEAKER_ALLOCATION, sadb[0]); in dce_v10_0_audio_write_speaker_allocation()
1325 kfree(sadb); in dce_v10_0_audio_write_speaker_allocation()
H A Ddce_v11_0.c1308 u8 *sadb = NULL; in dce_v11_0_audio_write_speaker_allocation() local
1328 sad_count = drm_edid_to_speaker_allocation(amdgpu_connector_edid(connector), &sadb); in dce_v11_0_audio_write_speaker_allocation()
1344 SPEAKER_ALLOCATION, sadb[0]); in dce_v11_0_audio_write_speaker_allocation()
1351 kfree(sadb); in dce_v11_0_audio_write_speaker_allocation()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/
H A Ddrm_edid.c4946 int drm_edid_to_speaker_allocation(struct edid *edid, u8 **sadb) in drm_edid_to_speaker_allocation() argument
4976 *sadb = kmemdup(&db[1], dbl, GFP_KERNEL); in drm_edid_to_speaker_allocation()
4977 if (!*sadb) in drm_edid_to_speaker_allocation()