/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
H A D | radeon_audio.c | 42 struct cea_sad *sads, int sad_count); 44 struct cea_sad *sads, int sad_count); 46 struct cea_sad *sads, int sad_count); 48 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); 364 int sad_count; in radeon_audio_write_sad_regs() local 387 int sad_count; radeon_audio_write_speaker_allocation() local [all...] |
H A D | dce3_1_afmt.c | 31 u8 *sadb, int sad_count) in dce3_2_afmt_hdmi_write_speaker_allocation() 41 if (sad_count) in dce3_2_afmt_hdmi_write_speaker_allocation() 49 u8 *sadb, int sad_count) in dce3_2_afmt_dp_write_speaker_allocation() 59 if (sad_count) in dce3_2_afmt_dp_write_speaker_allocation() 67 struct cea_sad *sads, int sad_count) in dce3_2_afmt_write_sad_regs() 92 for (j = 0; j < sad_count; j++) { in dce3_2_afmt_write_sad_regs() 30 dce3_2_afmt_hdmi_write_speaker_allocation(struct drm_encoder *encoder, u8 *sadb, int sad_count) dce3_2_afmt_hdmi_write_speaker_allocation() argument 48 dce3_2_afmt_dp_write_speaker_allocation(struct drm_encoder *encoder, u8 *sadb, int sad_count) dce3_2_afmt_dp_write_speaker_allocation() argument 66 dce3_2_afmt_write_sad_regs(struct drm_encoder *encoder, struct cea_sad *sads, int sad_count) dce3_2_afmt_write_sad_regs() argument
|
H A D | dce6_afmt.c | 153 u8 *sadb, int sad_count) in dce6_afmt_hdmi_write_speaker_allocation() 169 if (sad_count) in dce6_afmt_hdmi_write_speaker_allocation() 178 u8 *sadb, int sad_count) in dce6_afmt_dp_write_speaker_allocation() 194 if (sad_count) in dce6_afmt_dp_write_speaker_allocation() 203 struct cea_sad *sads, int sad_count) in dce6_afmt_write_sad_regs() 233 for (j = 0; j < sad_count; j++) { in dce6_afmt_write_sad_regs() 152 dce6_afmt_hdmi_write_speaker_allocation(struct drm_encoder *encoder, u8 *sadb, int sad_count) dce6_afmt_hdmi_write_speaker_allocation() argument 177 dce6_afmt_dp_write_speaker_allocation(struct drm_encoder *encoder, u8 *sadb, int sad_count) dce6_afmt_dp_write_speaker_allocation() argument 202 dce6_afmt_write_sad_regs(struct drm_encoder *encoder, struct cea_sad *sads, int sad_count) dce6_afmt_write_sad_regs() argument
|
H A D | evergreen_hdmi.c | 120 u8 *sadb, int sad_count) in dce4_afmt_hdmi_write_speaker_allocation() 130 if (sad_count) in dce4_afmt_hdmi_write_speaker_allocation() 138 u8 *sadb, int sad_count) in dce4_afmt_dp_write_speaker_allocation() 148 if (sad_count) in dce4_afmt_dp_write_speaker_allocation() 156 struct cea_sad *sads, int sad_count) in evergreen_hdmi_write_sad_regs() 181 for (j = 0; j < sad_count; j++) { in evergreen_hdmi_write_sad_regs() 119 dce4_afmt_hdmi_write_speaker_allocation(struct drm_encoder *encoder, u8 *sadb, int sad_count) dce4_afmt_hdmi_write_speaker_allocation() argument 137 dce4_afmt_dp_write_speaker_allocation(struct drm_encoder *encoder, u8 *sadb, int sad_count) dce4_afmt_dp_write_speaker_allocation() argument 155 evergreen_hdmi_write_sad_regs(struct drm_encoder *encoder, struct cea_sad *sads, int sad_count) evergreen_hdmi_write_sad_regs() argument
|
H A D | radeon_audio.h | 51 struct cea_sad *sads, int sad_count); 53 u8 *sadb, int sad_count);
|
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/ |
H A D | radeon_audio.h | 51 struct cea_sad *sads, int sad_count); 53 u8 *sadb, int sad_count); 85 struct cea_sad *sads, int sad_count); 87 u8 *sadb, int sad_count); 89 u8 *sadb, int sad_count);
|
H A D | dce6_afmt.h | 38 struct cea_sad *sads, int sad_count); 40 u8 *sadb, int sad_count); 42 u8 *sadb, int sad_count);
|
H A D | dce3_1_afmt.c | 31 u8 *sadb, int sad_count) in dce3_2_afmt_hdmi_write_speaker_allocation() 41 if (sad_count) in dce3_2_afmt_hdmi_write_speaker_allocation() 49 u8 *sadb, int sad_count) in dce3_2_afmt_dp_write_speaker_allocation() 59 if (sad_count) in dce3_2_afmt_dp_write_speaker_allocation() 67 struct cea_sad *sads, int sad_count) in dce3_2_afmt_write_sad_regs() 92 for (j = 0; j < sad_count; j++) { in dce3_2_afmt_write_sad_regs() 30 dce3_2_afmt_hdmi_write_speaker_allocation(struct drm_encoder *encoder, u8 *sadb, int sad_count) dce3_2_afmt_hdmi_write_speaker_allocation() argument 48 dce3_2_afmt_dp_write_speaker_allocation(struct drm_encoder *encoder, u8 *sadb, int sad_count) dce3_2_afmt_dp_write_speaker_allocation() argument 66 dce3_2_afmt_write_sad_regs(struct drm_encoder *encoder, struct cea_sad *sads, int sad_count) dce3_2_afmt_write_sad_regs() argument
|
H A D | evergreen_hdmi.h | 42 struct cea_sad *sads, int sad_count); 53 u8 *sadb, int sad_count); 55 u8 *sadb, int sad_count);
|
H A D | dce6_afmt.c | 154 u8 *sadb, int sad_count) in dce6_afmt_hdmi_write_speaker_allocation() 170 if (sad_count) in dce6_afmt_hdmi_write_speaker_allocation() 179 u8 *sadb, int sad_count) in dce6_afmt_dp_write_speaker_allocation() 195 if (sad_count) in dce6_afmt_dp_write_speaker_allocation() 204 struct cea_sad *sads, int sad_count) in dce6_afmt_write_sad_regs() 234 for (j = 0; j < sad_count; j++) { in dce6_afmt_write_sad_regs() 153 dce6_afmt_hdmi_write_speaker_allocation(struct drm_encoder *encoder, u8 *sadb, int sad_count) dce6_afmt_hdmi_write_speaker_allocation() argument 178 dce6_afmt_dp_write_speaker_allocation(struct drm_encoder *encoder, u8 *sadb, int sad_count) dce6_afmt_dp_write_speaker_allocation() argument 203 dce6_afmt_write_sad_regs(struct drm_encoder *encoder, struct cea_sad *sads, int sad_count) dce6_afmt_write_sad_regs() argument
|
H A D | radeon_audio.c | 307 int sad_count; in radeon_audio_write_sad_regs() local 312 sad_count = drm_edid_to_sad(radeon_connector_edid(connector), &sads); in radeon_audio_write_sad_regs() 313 if (sad_count < 0) in radeon_audio_write_sad_regs() 314 DRM_ERROR("Couldn't read SADs: %d\n", sad_count); in radeon_audio_write_sad_regs() 315 if (sad_count <= 0) in radeon_audio_write_sad_regs() 320 radeon_encoder->audio->write_sad_regs(encoder, sads, sad_count); in radeon_audio_write_sad_regs() 330 int sad_count; in radeon_audio_write_speaker_allocation() local 335 sad_count = drm_edid_to_speaker_allocation(radeon_connector_edid(connector), in radeon_audio_write_speaker_allocation() 337 if (sad_count < 0) { in radeon_audio_write_speaker_allocation() 339 sad_count); in radeon_audio_write_speaker_allocation() [all...] |
H A D | evergreen_hdmi.c | 121 u8 *sadb, int sad_count) in dce4_afmt_hdmi_write_speaker_allocation() 131 if (sad_count) in dce4_afmt_hdmi_write_speaker_allocation() 139 u8 *sadb, int sad_count) in dce4_afmt_dp_write_speaker_allocation() 149 if (sad_count) in dce4_afmt_dp_write_speaker_allocation() 157 struct cea_sad *sads, int sad_count) in evergreen_hdmi_write_sad_regs() 182 for (j = 0; j < sad_count; j++) { in evergreen_hdmi_write_sad_regs() 120 dce4_afmt_hdmi_write_speaker_allocation(struct drm_encoder *encoder, u8 *sadb, int sad_count) dce4_afmt_hdmi_write_speaker_allocation() argument 138 dce4_afmt_dp_write_speaker_allocation(struct drm_encoder *encoder, u8 *sadb, int sad_count) dce4_afmt_dp_write_speaker_allocation() argument 156 evergreen_hdmi_write_sad_regs(struct drm_encoder *encoder, struct cea_sad *sads, int sad_count) evergreen_hdmi_write_sad_regs() argument
|
/kernel/linux/linux-5.10/sound/pci/hda/ |
H A D | hda_eld.c | 245 e->sad_count = GRAB_BITS(buf, 5, 4, 4); in snd_hdmi_parse_eld() 265 for (i = 0; i < e->sad_count; i++) { in snd_hdmi_parse_eld() 410 for (i = 0; i < e->sad_count; i++) in snd_hdmi_show_eld() 484 snd_iprintf(buffer, "sad_count\t\t%d\n", e->sad_count); in snd_hdmi_print_eld_info() 486 for (i = 0; i < e->sad_count; i++) in snd_hdmi_print_eld_info() 524 else if (!strcmp(name, "sad_count")) in snd_hdmi_write_eld_info() 525 e->sad_count = val; in snd_hdmi_write_eld_info() 547 if (n >= e->sad_count) in snd_hdmi_write_eld_info() 548 e->sad_count in snd_hdmi_write_eld_info() [all...] |
H A D | hda_local.h | 686 int sad_count; member
|
/kernel/linux/linux-6.6/sound/pci/hda/ |
H A D | hda_eld.c | 245 e->sad_count = GRAB_BITS(buf, 5, 4, 4); in snd_hdmi_parse_eld() 265 for (i = 0; i < e->sad_count; i++) { in snd_hdmi_parse_eld() 410 for (i = 0; i < e->sad_count; i++) in snd_hdmi_show_eld() 488 snd_iprintf(buffer, "sad_count\t\t%d\n", e->sad_count); in snd_hdmi_print_eld_info() 490 for (i = 0; i < e->sad_count; i++) in snd_hdmi_print_eld_info() 528 else if (!strcmp(name, "sad_count")) in snd_hdmi_write_eld_info() 529 e->sad_count = val; in snd_hdmi_write_eld_info() 551 if (n >= e->sad_count) in snd_hdmi_write_eld_info() 552 e->sad_count in snd_hdmi_write_eld_info() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_helpers.c | 60 int sad_count = -1; in dm_helpers_parse_edid_caps() local 100 sad_count = drm_edid_to_sad((struct edid *) edid->raw_edid, &sads); in dm_helpers_parse_edid_caps() 101 if (sad_count <= 0) in dm_helpers_parse_edid_caps() 104 edid_caps->audio_mode_count = sad_count < DC_MAX_AUDIO_DESC_COUNT ? sad_count : DC_MAX_AUDIO_DESC_COUNT; in dm_helpers_parse_edid_caps()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_helpers.c | 97 int sad_count = -1; in dm_helpers_parse_edid_caps() local 126 sad_count = drm_edid_to_sad((struct edid *) edid->raw_edid, &sads); in dm_helpers_parse_edid_caps() 127 if (sad_count <= 0) in dm_helpers_parse_edid_caps() 130 edid_caps->audio_mode_count = min(sad_count, DC_MAX_AUDIO_DESC_COUNT); in dm_helpers_parse_edid_caps()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
H A D | dce_v11_0.c | 1309 int sad_count; 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() 1329 if (sad_count < 0) { in dce_v11_0_audio_write_speaker_allocation() 1330 DRM_ERROR("Couldn't read Speaker Allocation Data Block: %d\n", sad_count); in dce_v11_0_audio_write_speaker_allocation() 1331 sad_count = 0; in dce_v11_0_audio_write_speaker_allocation() 1342 if (sad_count) in dce_v11_0_audio_write_speaker_allocation() 1364 int i, sad_count; in dce_v11_0_audio_write_sad_regs() local 1398 sad_count = drm_edid_to_sad(amdgpu_connector_edid(connector), &sads); in dce_v11_0_audio_write_sad_regs() 1399 if (sad_count < 0) in dce_v11_0_audio_write_sad_regs() 1400 DRM_ERROR("Couldn't read SADs: %d\n", sad_count); in dce_v11_0_audio_write_sad_regs() [all...] |
H A D | dce_v8_0.c | 1236 int sad_count; 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() 1258 if (sad_count < 0) { in dce_v8_0_audio_write_speaker_allocation() 1259 DRM_ERROR("Couldn't read Speaker Allocation Data Block: %d\n", sad_count); in dce_v8_0_audio_write_speaker_allocation() 1260 sad_count = 0; in dce_v8_0_audio_write_speaker_allocation() 1269 if (sad_count) in dce_v8_0_audio_write_speaker_allocation() 1289 int i, sad_count; in dce_v8_0_audio_write_sad_regs() local 1325 sad_count = drm_edid_to_sad(amdgpu_connector_edid(connector), &sads); in dce_v8_0_audio_write_sad_regs() 1326 if (sad_count < 0) in dce_v8_0_audio_write_sad_regs() 1327 DRM_ERROR("Couldn't read SADs: %d\n", sad_count); in dce_v8_0_audio_write_sad_regs() [all...] |
H A D | dce_v10_0.c | 1283 int sad_count; 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() 1303 if (sad_count < 0) { in dce_v10_0_audio_write_speaker_allocation() 1304 DRM_ERROR("Couldn't read Speaker Allocation Data Block: %d\n", sad_count); in dce_v10_0_audio_write_speaker_allocation() 1305 sad_count = 0; in dce_v10_0_audio_write_speaker_allocation() 1316 if (sad_count) in dce_v10_0_audio_write_speaker_allocation() 1338 int i, sad_count; in dce_v10_0_audio_write_sad_regs() local 1372 sad_count = drm_edid_to_sad(amdgpu_connector_edid(connector), &sads); in dce_v10_0_audio_write_sad_regs() 1373 if (sad_count < 0) in dce_v10_0_audio_write_sad_regs() 1374 DRM_ERROR("Couldn't read SADs: %d\n", sad_count); in dce_v10_0_audio_write_sad_regs() [all...] |
H A D | dce_v6_0.c | 1184 int sad_count; 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() 1202 if (sad_count < 0) { in dce_v6_0_audio_write_speaker_allocation() 1203 DRM_ERROR("Couldn't read Speaker Allocation Data Block: %d\n", sad_count); in dce_v6_0_audio_write_speaker_allocation() 1204 sad_count = 0; in dce_v6_0_audio_write_speaker_allocation() 1222 if (sad_count) in dce_v6_0_audio_write_speaker_allocation() 1245 int i, sad_count; 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() 1277 if (sad_count < 0) in dce_v6_0_audio_write_sad_regs() 1278 DRM_ERROR("Couldn't read SADs: %d\n", sad_count); in dce_v6_0_audio_write_sad_regs() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | dce_v8_0.c | 1237 int sad_count; in dce_v8_0_audio_write_speaker_allocation() local 1258 sad_count = drm_edid_to_speaker_allocation(amdgpu_connector_edid(connector), &sadb); in dce_v8_0_audio_write_speaker_allocation() 1259 if (sad_count < 0) { in dce_v8_0_audio_write_speaker_allocation() 1260 DRM_ERROR("Couldn't read Speaker Allocation Data Block: %d\n", sad_count); in dce_v8_0_audio_write_speaker_allocation() 1261 sad_count = 0; in dce_v8_0_audio_write_speaker_allocation() 1270 if (sad_count) in dce_v8_0_audio_write_speaker_allocation() 1290 int i, sad_count; 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() 1327 if (sad_count < 0) in dce_v8_0_audio_write_sad_regs() 1328 DRM_ERROR("Couldn't read SADs: %d\n", sad_count); in dce_v8_0_audio_write_sad_regs() [all...] |
H A D | dce_v11_0.c | 1312 int sad_count; in dce_v11_0_audio_write_speaker_allocation() local 1331 sad_count = drm_edid_to_speaker_allocation(amdgpu_connector_edid(connector), &sadb); in dce_v11_0_audio_write_speaker_allocation() 1332 if (sad_count < 0) { in dce_v11_0_audio_write_speaker_allocation() 1333 DRM_ERROR("Couldn't read Speaker Allocation Data Block: %d\n", sad_count); in dce_v11_0_audio_write_speaker_allocation() 1334 sad_count = 0; in dce_v11_0_audio_write_speaker_allocation() 1345 if (sad_count) in dce_v11_0_audio_write_speaker_allocation() 1367 int i, sad_count; in dce_v11_0_audio_write_sad_regs() local 1401 sad_count = drm_edid_to_sad(amdgpu_connector_edid(connector), &sads); in dce_v11_0_audio_write_sad_regs() 1402 if (sad_count < 0) in dce_v11_0_audio_write_sad_regs() 1403 DRM_ERROR("Couldn't read SADs: %d\n", sad_count); in dce_v11_0_audio_write_sad_regs() [all...] |
H A D | dce_v10_0.c | 1280 int sad_count; in dce_v10_0_audio_write_speaker_allocation() local 1299 sad_count = drm_edid_to_speaker_allocation(amdgpu_connector_edid(connector), &sadb); in dce_v10_0_audio_write_speaker_allocation() 1300 if (sad_count < 0) { in dce_v10_0_audio_write_speaker_allocation() 1301 DRM_ERROR("Couldn't read Speaker Allocation Data Block: %d\n", sad_count); in dce_v10_0_audio_write_speaker_allocation() 1302 sad_count = 0; in dce_v10_0_audio_write_speaker_allocation() 1313 if (sad_count) in dce_v10_0_audio_write_speaker_allocation() 1335 int i, sad_count; in dce_v10_0_audio_write_sad_regs() local 1369 sad_count = drm_edid_to_sad(amdgpu_connector_edid(connector), &sads); in dce_v10_0_audio_write_sad_regs() 1370 if (sad_count < 0) in dce_v10_0_audio_write_sad_regs() 1371 DRM_ERROR("Couldn't read SADs: %d\n", sad_count); in dce_v10_0_audio_write_sad_regs() [all...] |
H A D | dce_v6_0.c | 1186 int sad_count; in dce_v6_0_audio_write_speaker_allocation() local 1203 sad_count = drm_edid_to_speaker_allocation(amdgpu_connector_edid(connector), &sadb); in dce_v6_0_audio_write_speaker_allocation() 1204 if (sad_count < 0) { in dce_v6_0_audio_write_speaker_allocation() 1205 DRM_ERROR("Couldn't read Speaker Allocation Data Block: %d\n", sad_count); in dce_v6_0_audio_write_speaker_allocation() 1206 sad_count = 0; in dce_v6_0_audio_write_speaker_allocation() 1224 if (sad_count) in dce_v6_0_audio_write_speaker_allocation() 1247 int i, sad_count; in dce_v6_0_audio_write_sad_regs() local 1278 sad_count = drm_edid_to_sad(amdgpu_connector_edid(connector), &sads); in dce_v6_0_audio_write_sad_regs() 1279 if (sad_count < 0) in dce_v6_0_audio_write_sad_regs() 1280 DRM_ERROR("Couldn't read SADs: %d\n", sad_count); in dce_v6_0_audio_write_sad_regs() [all...] |