/netbsd/sys/external/bsd/drm2/dist/drm/radeon/ |
H A D | radeon_dce3_1_afmt.c | 36 u8 *sadb, int sad_count) in dce3_2_afmt_hdmi_write_speaker_allocation() argument 47 tmp |= SPEAKER_ALLOCATION(sadb[0]); in dce3_2_afmt_hdmi_write_speaker_allocation() 54 u8 *sadb, int sad_count) in dce3_2_afmt_dp_write_speaker_allocation() argument 65 tmp |= SPEAKER_ALLOCATION(sadb[0]); in dce3_2_afmt_dp_write_speaker_allocation()
|
H A D | radeon_audio.c | 53 u8 *sadb, int sad_count); 55 u8 *sadb, int sad_count); 57 u8 *sadb, int sad_count); 59 u8 *sadb, int sad_count); 61 u8 *sadb, int sad_count); 63 u8 *sadb, int sad_count); 391 u8 *sadb = NULL; in radeon_audio_write_speaker_allocation() local 398 &sadb); in radeon_audio_write_speaker_allocation() 406 radeon_encoder->audio->write_speaker_allocation(encoder, sadb, sad_count); in radeon_audio_write_speaker_allocation() 408 kfree(sadb); in radeon_audio_write_speaker_allocation()
|
H A D | radeon_dce6_afmt.c | 158 u8 *sadb, int sad_count) in dce6_afmt_hdmi_write_speaker_allocation() argument 175 tmp |= SPEAKER_ALLOCATION(sadb[0]); in dce6_afmt_hdmi_write_speaker_allocation() 183 u8 *sadb, int sad_count) in dce6_afmt_dp_write_speaker_allocation() argument 200 tmp |= SPEAKER_ALLOCATION(sadb[0]); in dce6_afmt_dp_write_speaker_allocation()
|
H A D | radeon_evergreen_hdmi.c | 125 u8 *sadb, int sad_count) in dce4_afmt_hdmi_write_speaker_allocation() argument 136 tmp |= SPEAKER_ALLOCATION(sadb[0]); in dce4_afmt_hdmi_write_speaker_allocation() 143 u8 *sadb, int sad_count) in dce4_afmt_dp_write_speaker_allocation() argument 154 tmp |= SPEAKER_ALLOCATION(sadb[0]); in dce4_afmt_dp_write_speaker_allocation()
|
H A D | radeon_audio.h | 55 u8 *sadb, int sad_count);
|
/netbsd/sys/external/bsd/drm2/dist/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_helpers.c | 69 uint8_t *sadb = NULL; in dm_helpers_parse_edid_caps() local 119 sadb_count = drm_edid_to_speaker_allocation((struct edid *) __UNCONST(edid->raw_edid), &sadb); in dm_helpers_parse_edid_caps() 127 edid_caps->speaker_flags = sadb[0]; in dm_helpers_parse_edid_caps() 132 kfree(sadb); in dm_helpers_parse_edid_caps()
|
/netbsd/sys/external/bsd/drm2/dist/include/drm/ |
H A D | drm_edid.h | 343 int drm_edid_to_speaker_allocation(struct edid *edid, u8 **sadb);
|
/netbsd/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ |
H A D | amdgpu_dce_v8_0.c | 1240 u8 *sadb = NULL; in dce_v8_0_audio_write_speaker_allocation() local 1262 sad_count = drm_edid_to_speaker_allocation(amdgpu_connector_edid(connector), &sadb); in dce_v8_0_audio_write_speaker_allocation() 1275 tmp |= (sadb[0] << AZALIA_F0_CODEC_PIN_CONTROL_CHANNEL_SPEAKER__SPEAKER_ALLOCATION__SHIFT); in dce_v8_0_audio_write_speaker_allocation() 1280 kfree(sadb); in dce_v8_0_audio_write_speaker_allocation()
|
H A D | amdgpu_dce_v6_0.c | 1188 u8 *sadb = NULL; in dce_v6_0_audio_write_speaker_allocation() local 1206 sad_count = drm_edid_to_speaker_allocation(amdgpu_connector_edid(connector), &sadb); in dce_v6_0_audio_write_speaker_allocation() 1229 SPEAKER_ALLOCATION, sadb[0]); in dce_v6_0_audio_write_speaker_allocation() 1237 kfree(sadb); in dce_v6_0_audio_write_speaker_allocation()
|
H A D | amdgpu_dce_v10_0.c | 1287 u8 *sadb = NULL; in dce_v10_0_audio_write_speaker_allocation() local 1307 sad_count = drm_edid_to_speaker_allocation(amdgpu_connector_edid(connector), &sadb); in dce_v10_0_audio_write_speaker_allocation() 1323 SPEAKER_ALLOCATION, sadb[0]); in dce_v10_0_audio_write_speaker_allocation() 1330 kfree(sadb); in dce_v10_0_audio_write_speaker_allocation()
|
H A D | amdgpu_dce_v11_0.c | 1313 u8 *sadb = NULL; in dce_v11_0_audio_write_speaker_allocation() local 1333 sad_count = drm_edid_to_speaker_allocation(amdgpu_connector_edid(connector), &sadb); in dce_v11_0_audio_write_speaker_allocation() 1349 SPEAKER_ALLOCATION, sadb[0]); in dce_v11_0_audio_write_speaker_allocation() 1356 kfree(sadb); in dce_v11_0_audio_write_speaker_allocation()
|
/netbsd/sys/external/bsd/drm2/dist/drm/ |
H A D | drm_edid.c | 4524 int drm_edid_to_speaker_allocation(struct edid *edid, u8 **sadb) in drm_edid_to_speaker_allocation() argument 4554 *sadb = kmemdup(&db[1], dbl, GFP_KERNEL); in drm_edid_to_speaker_allocation() 4555 if (!*sadb) in drm_edid_to_speaker_allocation()
|
/netbsd/sys/netipsec/ |
H A D | key.c | 705 #define KEY_NEWSAV(m, sadb, e, proto) \ argument 706 key_newsav(m, sadb, e, proto, __func__, __LINE__)
|