/kernel/linux/linux-5.10/sound/core/ |
D | pcm_drm_eld.c | 20 static unsigned int sad_max_channels(const u8 *sad) in sad_max_channels() argument 22 return 1 + (sad[0] & 7); in sad_max_channels() 31 const u8 *sad, *eld = rule->private; in eld_limit_rates() local 33 sad = drm_eld_sad(eld); in eld_limit_rates() 34 if (sad) { in eld_limit_rates() 37 for (i = drm_eld_sad_count(eld); i > 0; i--, sad += 3) { in eld_limit_rates() 38 unsigned max_channels = sad_max_channels(sad); in eld_limit_rates() 45 rate_mask |= sad[1]; in eld_limit_rates() 60 const u8 *sad, *eld = rule->private; in eld_limit_channels() local 62 sad = drm_eld_sad(eld); in eld_limit_channels() [all …]
|
/kernel/linux/linux-5.10/include/trace/events/ |
D | avc.h | 16 TP_PROTO(struct selinux_audit_data *sad, 22 TP_ARGS(sad, scontext, tcontext, tclass), 35 __entry->requested = sad->requested; 36 __entry->denied = sad->denied; 37 __entry->audited = sad->audited; 38 __entry->result = sad->result;
|
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
D | dce3_1_afmt.c | 93 struct cea_sad *sad = &sads[j]; in dce3_2_afmt_write_sad_regs() local 95 if (sad->format == eld_reg_to_type[i][1]) { in dce3_2_afmt_write_sad_regs() 96 if (sad->channels > max_channels) { in dce3_2_afmt_write_sad_regs() 97 value = MAX_CHANNELS(sad->channels) | in dce3_2_afmt_write_sad_regs() 98 DESCRIPTOR_BYTE_2(sad->byte2) | in dce3_2_afmt_write_sad_regs() 99 SUPPORTED_FREQUENCIES(sad->freq); in dce3_2_afmt_write_sad_regs() 100 max_channels = sad->channels; in dce3_2_afmt_write_sad_regs() 103 if (sad->format == HDMI_AUDIO_CODING_TYPE_PCM) in dce3_2_afmt_write_sad_regs() 104 stereo_freqs |= sad->freq; in dce3_2_afmt_write_sad_regs()
|
D | dce6_afmt.c | 234 struct cea_sad *sad = &sads[j]; in dce6_afmt_write_sad_regs() local 236 if (sad->format == eld_reg_to_type[i][1]) { in dce6_afmt_write_sad_regs() 237 if (sad->channels > max_channels) { in dce6_afmt_write_sad_regs() 238 value = MAX_CHANNELS(sad->channels) | in dce6_afmt_write_sad_regs() 239 DESCRIPTOR_BYTE_2(sad->byte2) | in dce6_afmt_write_sad_regs() 240 SUPPORTED_FREQUENCIES(sad->freq); in dce6_afmt_write_sad_regs() 241 max_channels = sad->channels; in dce6_afmt_write_sad_regs() 244 if (sad->format == HDMI_AUDIO_CODING_TYPE_PCM) in dce6_afmt_write_sad_regs() 245 stereo_freqs |= sad->freq; in dce6_afmt_write_sad_regs()
|
D | evergreen_hdmi.c | 182 struct cea_sad *sad = &sads[j]; in evergreen_hdmi_write_sad_regs() local 184 if (sad->format == eld_reg_to_type[i][1]) { in evergreen_hdmi_write_sad_regs() 185 if (sad->channels > max_channels) { in evergreen_hdmi_write_sad_regs() 186 value = MAX_CHANNELS(sad->channels) | in evergreen_hdmi_write_sad_regs() 187 DESCRIPTOR_BYTE_2(sad->byte2) | in evergreen_hdmi_write_sad_regs() 188 SUPPORTED_FREQUENCIES(sad->freq); in evergreen_hdmi_write_sad_regs() 189 max_channels = sad->channels; in evergreen_hdmi_write_sad_regs() 192 if (sad->format == HDMI_AUDIO_CODING_TYPE_PCM) in evergreen_hdmi_write_sad_regs() 193 stereo_freqs |= sad->freq; in evergreen_hdmi_write_sad_regs()
|
/kernel/linux/linux-5.10/security/smack/ |
D | smack_access.c | 314 struct smack_audit_data *sad = ad->smack_audit_data; in smack_log_callback() local 317 sad->result ? "denied" : "granted"); in smack_log_callback() 319 audit_log_untrustedstring(ab, sad->subject); in smack_log_callback() 321 audit_log_untrustedstring(ab, sad->object); in smack_log_callback() 322 if (sad->request[0] == '\0') in smack_log_callback() 325 audit_log_format(ab, " requested=%s", sad->request); in smack_log_callback() 347 struct smack_audit_data *sad; in smack_log() local 356 sad = a->smack_audit_data; in smack_log() 358 if (sad->function == NULL) in smack_log() 359 sad->function = "unknown"; in smack_log() [all …]
|
D | smack.h | 278 struct smack_audit_data sad; member 439 memset(&a->sad, 0, sizeof(a->sad)); in smk_ad_init() 441 a->a.smack_audit_data = &a->sad; in smk_ad_init()
|
/kernel/linux/linux-5.10/drivers/edac/ |
D | skx_base.c | 221 #define SKX_SAD_MOD3MODE(sad) GET_BITFIELD((sad), 30, 31) argument 222 #define SKX_SAD_MOD3(sad) GET_BITFIELD((sad), 27, 27) argument 223 #define SKX_SAD_LIMIT(sad) (((u64)GET_BITFIELD((sad), 7, 26) << 26) | MASK26) argument 224 #define SKX_SAD_MOD3ASMOD2(sad) GET_BITFIELD((sad), 5, 6) argument 225 #define SKX_SAD_ATTR(sad) GET_BITFIELD((sad), 3, 4) argument 226 #define SKX_SAD_INTERLEAVE(sad) GET_BITFIELD((sad), 1, 2) argument 227 #define SKX_SAD_ENABLE(sad) GET_BITFIELD((sad), 0, 0) argument 270 u32 sad, ilv; in skx_sad_decode() local 283 SKX_GET_SAD(d, i, sad); in skx_sad_decode() 284 limit = SKX_SAD_LIMIT(sad); in skx_sad_decode() [all …]
|
/kernel/linux/linux-5.10/security/selinux/ |
D | avc.c | 667 struct selinux_audit_data *sad = ad->selinux_audit_data; in avc_audit_pre_callback() local 668 u32 av = sad->audited; in avc_audit_pre_callback() 672 audit_log_format(ab, "avc: %s ", sad->denied ? "denied" : "granted"); in avc_audit_pre_callback() 679 perms = secclass_map[sad->tclass-1].perms; in avc_audit_pre_callback() 708 struct selinux_audit_data *sad = ad->selinux_audit_data; in avc_audit_post_callback() local 716 rc = security_sid_to_context(sad->state, sad->ssid, &scontext, in avc_audit_post_callback() 719 audit_log_format(ab, " ssid=%d", sad->ssid); in avc_audit_post_callback() 723 rc = security_sid_to_context(sad->state, sad->tsid, &tcontext, in avc_audit_post_callback() 726 audit_log_format(ab, " tsid=%d", sad->tsid); in avc_audit_post_callback() 730 tclass = secclass_map[sad->tclass-1].name; in avc_audit_post_callback() [all …]
|
/kernel/linux/linux-5.10/sound/pci/hda/ |
D | hda_eld.c | 270 hdmi_update_short_audio_desc(codec, e->sad + i, in snd_hdmi_parse_eld() 411 hdmi_show_short_audio_desc(codec, e->sad + i); in snd_hdmi_show_eld() 487 hdmi_print_sad_info(i, e->sad + i, buffer); in snd_hdmi_print_eld_info() 536 e->sad[n].format = val; in snd_hdmi_write_eld_info() 538 e->sad[n].channels = val; in snd_hdmi_write_eld_info() 540 e->sad[n].rates = val; in snd_hdmi_write_eld_info() 542 e->sad[n].sample_bits = val; in snd_hdmi_write_eld_info() 544 e->sad[n].max_bitrate = val; in snd_hdmi_write_eld_info() 546 e->sad[n].profile = val; in snd_hdmi_write_eld_info() 573 struct cea_sad *a = &e->sad[i]; in snd_hdmi_eld_update_pcm_info()
|
D | hda_local.h | 687 struct cea_sad sad[ELD_MAX_SAD]; member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_helpers.c | 106 struct cea_sad *sad = &sads[i]; in dm_helpers_parse_edid_caps() local 108 edid_caps->audio_modes[i].format_code = sad->format; in dm_helpers_parse_edid_caps() 109 edid_caps->audio_modes[i].channel_count = sad->channels + 1; in dm_helpers_parse_edid_caps() 110 edid_caps->audio_modes[i].sample_rate = sad->freq; in dm_helpers_parse_edid_caps() 111 edid_caps->audio_modes[i].sample_size = sad->byte2; in dm_helpers_parse_edid_caps()
|
/kernel/linux/linux-5.10/sound/soc/codecs/ |
D | hdac_hdmi.c | 295 static unsigned int sad_format(const u8 *sad) in sad_format() argument 297 return ((sad[0] >> 0x3) & 0x1f); in sad_format() 300 static unsigned int sad_sample_bits_lpcm(const u8 *sad) in sad_sample_bits_lpcm() argument 302 return (sad[2] & 7); in sad_sample_bits_lpcm() 310 const u8 *sad, *eld_buf = eld; in hdac_hdmi_eld_limit_formats() local 312 sad = drm_eld_sad(eld_buf); in hdac_hdmi_eld_limit_formats() 313 if (!sad) in hdac_hdmi_eld_limit_formats() 316 for (i = drm_eld_sad_count(eld_buf); i > 0; i--, sad += 3) { in hdac_hdmi_eld_limit_formats() 317 if (sad_format(sad) == 1) { /* AUDIO_CODING_TYPE_LPCM */ in hdac_hdmi_eld_limit_formats() 323 if (sad_sample_bits_lpcm(sad) & 0x6) in hdac_hdmi_eld_limit_formats()
|
/kernel/linux/linux-5.10/include/drm/ |
D | drm_edid.h | 288 #define DRM_ELD_CEA_SAD(mnl, sad) (20 + (mnl) + 3 * (sad)) argument
|
/kernel/linux/linux-5.10/fs/udf/ |
D | inode.c | 2080 struct short_ad *sad; in udf_write_aext() local 2093 sad = (struct short_ad *)ptr; in udf_write_aext() 2094 sad->extLength = cpu_to_le32(elen); in udf_write_aext() 2095 sad->extPosition = cpu_to_le32(eloc->logicalBlockNum); in udf_write_aext() 2170 struct short_ad *sad; in udf_current_aext() local 2193 sad = udf_get_fileshortad(ptr, alen, &epos->offset, inc); in udf_current_aext() 2194 if (!sad) in udf_current_aext() 2196 etype = le32_to_cpu(sad->extLength) >> 30; in udf_current_aext() 2197 eloc->logicalBlockNum = le32_to_cpu(sad->extPosition); in udf_current_aext() 2200 *elen = le32_to_cpu(sad->extLength) & UDF_EXTENT_LENGTH_MASK; in udf_current_aext()
|
/kernel/linux/linux-5.10/Documentation/usb/ |
D | iuu_phoenix.rst | 71 so sad to have a nice device like the iuu without seeing all color range available.
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
D | dce_v8_0.c | 1339 struct cea_sad *sad = &sads[j]; in dce_v8_0_audio_write_sad_regs() local 1341 if (sad->format == eld_reg_to_type[i][1]) { in dce_v8_0_audio_write_sad_regs() 1342 if (sad->channels > max_channels) { in dce_v8_0_audio_write_sad_regs() 1343 value = (sad->channels << in dce_v8_0_audio_write_sad_regs() 1345 (sad->byte2 << in dce_v8_0_audio_write_sad_regs() 1347 (sad->freq << in dce_v8_0_audio_write_sad_regs() 1349 max_channels = sad->channels; in dce_v8_0_audio_write_sad_regs() 1352 if (sad->format == HDMI_AUDIO_CODING_TYPE_PCM) in dce_v8_0_audio_write_sad_regs() 1353 stereo_freqs |= sad->freq; in dce_v8_0_audio_write_sad_regs()
|
D | dce_v6_0.c | 1289 struct cea_sad *sad = &sads[j]; in dce_v6_0_audio_write_sad_regs() local 1291 if (sad->format == eld_reg_to_type[i][1]) { in dce_v6_0_audio_write_sad_regs() 1292 if (sad->channels > max_channels) { in dce_v6_0_audio_write_sad_regs() 1294 MAX_CHANNELS, sad->channels); in dce_v6_0_audio_write_sad_regs() 1296 DESCRIPTOR_BYTE_2, sad->byte2); in dce_v6_0_audio_write_sad_regs() 1298 SUPPORTED_FREQUENCIES, sad->freq); in dce_v6_0_audio_write_sad_regs() 1299 max_channels = sad->channels; in dce_v6_0_audio_write_sad_regs() 1302 if (sad->format == HDMI_AUDIO_CODING_TYPE_PCM) in dce_v6_0_audio_write_sad_regs() 1303 stereo_freqs |= sad->freq; in dce_v6_0_audio_write_sad_regs()
|
D | dce_v10_0.c | 1386 struct cea_sad *sad = &sads[j]; in dce_v10_0_audio_write_sad_regs() local 1388 if (sad->format == eld_reg_to_type[i][1]) { in dce_v10_0_audio_write_sad_regs() 1389 if (sad->channels > max_channels) { in dce_v10_0_audio_write_sad_regs() 1391 MAX_CHANNELS, sad->channels); in dce_v10_0_audio_write_sad_regs() 1393 DESCRIPTOR_BYTE_2, sad->byte2); in dce_v10_0_audio_write_sad_regs() 1395 SUPPORTED_FREQUENCIES, sad->freq); in dce_v10_0_audio_write_sad_regs() 1396 max_channels = sad->channels; in dce_v10_0_audio_write_sad_regs() 1399 if (sad->format == HDMI_AUDIO_CODING_TYPE_PCM) in dce_v10_0_audio_write_sad_regs() 1400 stereo_freqs |= sad->freq; in dce_v10_0_audio_write_sad_regs()
|
D | dce_v11_0.c | 1412 struct cea_sad *sad = &sads[j]; in dce_v11_0_audio_write_sad_regs() local 1414 if (sad->format == eld_reg_to_type[i][1]) { in dce_v11_0_audio_write_sad_regs() 1415 if (sad->channels > max_channels) { in dce_v11_0_audio_write_sad_regs() 1417 MAX_CHANNELS, sad->channels); in dce_v11_0_audio_write_sad_regs() 1419 DESCRIPTOR_BYTE_2, sad->byte2); in dce_v11_0_audio_write_sad_regs() 1421 SUPPORTED_FREQUENCIES, sad->freq); in dce_v11_0_audio_write_sad_regs() 1422 max_channels = sad->channels; in dce_v11_0_audio_write_sad_regs() 1425 if (sad->format == HDMI_AUDIO_CODING_TYPE_PCM) in dce_v11_0_audio_write_sad_regs() 1426 stereo_freqs |= sad->freq; in dce_v11_0_audio_write_sad_regs()
|
/kernel/linux/linux-5.10/Documentation/RCU/ |
D | NMI-RCU.rst | 118 This same sad story can happen on other CPUs when using
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
D | drm_edid.c | 4638 u8 *sad = &db[1 + j * 3]; in drm_edid_to_sad() local 4640 (*sads)[j].format = (sad[0] & 0x78) >> 3; in drm_edid_to_sad() 4641 (*sads)[j].channels = sad[0] & 0x7; in drm_edid_to_sad() 4642 (*sads)[j].freq = sad[1] & 0x7F; in drm_edid_to_sad() 4643 (*sads)[j].byte2 = sad[2]; in drm_edid_to_sad()
|
/kernel/linux/linux-5.10/Documentation/process/ |
D | 3.Early-stage.rst | 176 reaction, but, instead, little or no reaction at all. The sad truth of the
|
/kernel/linux/linux-5.10/drivers/iommu/ |
D | Kconfig | 270 If you say Y here then you'll make me very sad. Instead, say N
|
/kernel/linux/linux-5.10/Documentation/driver-api/usb/ |
D | power-management.rst | 246 management. Nevertheless, the sad fact is that many devices do not
|