/linux-6.1.9/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 …]
|
/linux-6.1.9/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;
|
/linux-6.1.9/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 | 235 struct cea_sad *sad = &sads[j]; in dce6_afmt_write_sad_regs() local 237 if (sad->format == eld_reg_to_type[i][1]) { in dce6_afmt_write_sad_regs() 238 if (sad->channels > max_channels) { in dce6_afmt_write_sad_regs() 239 value = MAX_CHANNELS(sad->channels) | in dce6_afmt_write_sad_regs() 240 DESCRIPTOR_BYTE_2(sad->byte2) | in dce6_afmt_write_sad_regs() 241 SUPPORTED_FREQUENCIES(sad->freq); in dce6_afmt_write_sad_regs() 242 max_channels = sad->channels; in dce6_afmt_write_sad_regs() 245 if (sad->format == HDMI_AUDIO_CODING_TYPE_PCM) in dce6_afmt_write_sad_regs() 246 stereo_freqs |= sad->freq; in dce6_afmt_write_sad_regs()
|
D | evergreen_hdmi.c | 183 struct cea_sad *sad = &sads[j]; in evergreen_hdmi_write_sad_regs() local 185 if (sad->format == eld_reg_to_type[i][1]) { in evergreen_hdmi_write_sad_regs() 186 if (sad->channels > max_channels) { in evergreen_hdmi_write_sad_regs() 187 value = MAX_CHANNELS(sad->channels) | in evergreen_hdmi_write_sad_regs() 188 DESCRIPTOR_BYTE_2(sad->byte2) | in evergreen_hdmi_write_sad_regs() 189 SUPPORTED_FREQUENCIES(sad->freq); in evergreen_hdmi_write_sad_regs() 190 max_channels = sad->channels; in evergreen_hdmi_write_sad_regs() 193 if (sad->format == HDMI_AUDIO_CODING_TYPE_PCM) in evergreen_hdmi_write_sad_regs() 194 stereo_freqs |= sad->freq; in evergreen_hdmi_write_sad_regs()
|
/linux-6.1.9/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 | 269 struct smack_audit_data sad; member 436 memset(&a->sad, 0, sizeof(a->sad)); in smk_ad_init() 438 a->a.smack_audit_data = &a->sad; in smk_ad_init()
|
/linux-6.1.9/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 271 u32 sad, ilv; in skx_sad_decode() local 284 SKX_GET_SAD(d, i, sad); in skx_sad_decode() 285 limit = SKX_SAD_LIMIT(sad); in skx_sad_decode() [all …]
|
/linux-6.1.9/security/selinux/ |
D | avc.c | 669 struct selinux_audit_data *sad = ad->selinux_audit_data; in avc_audit_pre_callback() local 670 u32 av = sad->audited; in avc_audit_pre_callback() 674 audit_log_format(ab, "avc: %s ", sad->denied ? "denied" : "granted"); in avc_audit_pre_callback() 681 perms = secclass_map[sad->tclass-1].perms; in avc_audit_pre_callback() 710 struct selinux_audit_data *sad = ad->selinux_audit_data; in avc_audit_post_callback() local 718 rc = security_sid_to_context(sad->state, sad->ssid, &scontext, in avc_audit_post_callback() 721 audit_log_format(ab, " ssid=%d", sad->ssid); in avc_audit_post_callback() 725 rc = security_sid_to_context(sad->state, sad->tsid, &tcontext, in avc_audit_post_callback() 728 audit_log_format(ab, " tsid=%d", sad->tsid); in avc_audit_post_callback() 732 tclass = secclass_map[sad->tclass-1].name; in avc_audit_post_callback() [all …]
|
/linux-6.1.9/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() 491 hdmi_print_sad_info(i, e->sad + i, buffer); in snd_hdmi_print_eld_info() 540 e->sad[n].format = val; in snd_hdmi_write_eld_info() 542 e->sad[n].channels = val; in snd_hdmi_write_eld_info() 544 e->sad[n].rates = val; in snd_hdmi_write_eld_info() 546 e->sad[n].sample_bits = val; in snd_hdmi_write_eld_info() 548 e->sad[n].max_bitrate = val; in snd_hdmi_write_eld_info() 550 e->sad[n].profile = val; in snd_hdmi_write_eld_info() 577 struct cea_sad *a = &e->sad[i]; in snd_hdmi_eld_update_pcm_info()
|
D | hda_local.h | 689 struct cea_sad sad[ELD_MAX_SAD]; member
|
/linux-6.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_helpers.c | 96 struct cea_sad *sad = &sads[i]; in dm_helpers_parse_edid_caps() local 98 edid_caps->audio_modes[i].format_code = sad->format; in dm_helpers_parse_edid_caps() 99 edid_caps->audio_modes[i].channel_count = sad->channels + 1; in dm_helpers_parse_edid_caps() 100 edid_caps->audio_modes[i].sample_rate = sad->freq; in dm_helpers_parse_edid_caps() 101 edid_caps->audio_modes[i].sample_size = sad->byte2; in dm_helpers_parse_edid_caps()
|
/linux-6.1.9/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()
|
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/fw/api/ |
D | datapath.h | 269 struct iwl_sad_properties sad; member
|
/linux-6.1.9/include/drm/ |
D | drm_edid.h | 324 #define DRM_ELD_CEA_SAD(mnl, sad) (20 + (mnl) + 3 * (sad)) argument
|
/linux-6.1.9/fs/udf/ |
D | inode.c | 2075 struct short_ad *sad; in udf_write_aext() local 2088 sad = (struct short_ad *)ptr; in udf_write_aext() 2089 sad->extLength = cpu_to_le32(elen); in udf_write_aext() 2090 sad->extPosition = cpu_to_le32(eloc->logicalBlockNum); in udf_write_aext() 2165 struct short_ad *sad; in udf_current_aext() local 2188 sad = udf_get_fileshortad(ptr, alen, &epos->offset, inc); in udf_current_aext() 2189 if (!sad) in udf_current_aext() 2191 etype = le32_to_cpu(sad->extLength) >> 30; in udf_current_aext() 2192 eloc->logicalBlockNum = le32_to_cpu(sad->extPosition); in udf_current_aext() 2195 *elen = le32_to_cpu(sad->extLength) & UDF_EXTENT_LENGTH_MASK; in udf_current_aext()
|
/linux-6.1.9/Documentation/usb/ |
D | iuu_phoenix.rst | 71 so sad to have a nice device like the iuu without seeing all color range available.
|
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/ |
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_v8_0.c | 1340 struct cea_sad *sad = &sads[j]; in dce_v8_0_audio_write_sad_regs() local 1342 if (sad->format == eld_reg_to_type[i][1]) { in dce_v8_0_audio_write_sad_regs() 1343 if (sad->channels > max_channels) { in dce_v8_0_audio_write_sad_regs() 1344 value = (sad->channels << in dce_v8_0_audio_write_sad_regs() 1346 (sad->byte2 << in dce_v8_0_audio_write_sad_regs() 1348 (sad->freq << in dce_v8_0_audio_write_sad_regs() 1350 max_channels = sad->channels; in dce_v8_0_audio_write_sad_regs() 1353 if (sad->format == HDMI_AUDIO_CODING_TYPE_PCM) in dce_v8_0_audio_write_sad_regs() 1354 stereo_freqs |= sad->freq; in dce_v8_0_audio_write_sad_regs()
|
D | dce_v10_0.c | 1387 struct cea_sad *sad = &sads[j]; in dce_v10_0_audio_write_sad_regs() local 1389 if (sad->format == eld_reg_to_type[i][1]) { in dce_v10_0_audio_write_sad_regs() 1390 if (sad->channels > max_channels) { in dce_v10_0_audio_write_sad_regs() 1392 MAX_CHANNELS, sad->channels); in dce_v10_0_audio_write_sad_regs() 1394 DESCRIPTOR_BYTE_2, sad->byte2); in dce_v10_0_audio_write_sad_regs() 1396 SUPPORTED_FREQUENCIES, sad->freq); in dce_v10_0_audio_write_sad_regs() 1397 max_channels = sad->channels; in dce_v10_0_audio_write_sad_regs() 1400 if (sad->format == HDMI_AUDIO_CODING_TYPE_PCM) in dce_v10_0_audio_write_sad_regs() 1401 stereo_freqs |= sad->freq; in dce_v10_0_audio_write_sad_regs()
|
D | dce_v11_0.c | 1413 struct cea_sad *sad = &sads[j]; in dce_v11_0_audio_write_sad_regs() local 1415 if (sad->format == eld_reg_to_type[i][1]) { in dce_v11_0_audio_write_sad_regs() 1416 if (sad->channels > max_channels) { in dce_v11_0_audio_write_sad_regs() 1418 MAX_CHANNELS, sad->channels); in dce_v11_0_audio_write_sad_regs() 1420 DESCRIPTOR_BYTE_2, sad->byte2); in dce_v11_0_audio_write_sad_regs() 1422 SUPPORTED_FREQUENCIES, sad->freq); in dce_v11_0_audio_write_sad_regs() 1423 max_channels = sad->channels; in dce_v11_0_audio_write_sad_regs() 1426 if (sad->format == HDMI_AUDIO_CODING_TYPE_PCM) in dce_v11_0_audio_write_sad_regs() 1427 stereo_freqs |= sad->freq; in dce_v11_0_audio_write_sad_regs()
|
/linux-6.1.9/Documentation/RCU/ |
D | NMI-RCU.rst | 117 This same sad story can happen on other CPUs when using
|
/linux-6.1.9/drivers/gpu/drm/ |
D | drm_edid.c | 5461 const u8 *sad = &db->data[j * 3]; in _drm_edid_to_sad() local 5463 (*sads)[j].format = (sad[0] & 0x78) >> 3; in _drm_edid_to_sad() 5464 (*sads)[j].channels = sad[0] & 0x7; in _drm_edid_to_sad() 5465 (*sads)[j].freq = sad[1] & 0x7F; in _drm_edid_to_sad() 5466 (*sads)[j].byte2 = sad[2]; in _drm_edid_to_sad()
|
/linux-6.1.9/Documentation/process/ |
D | 3.Early-stage.rst | 177 reaction, but, instead, little or no reaction at all. The sad truth of the
|
/linux-6.1.9/drivers/iommu/ |
D | Kconfig | 341 If you say Y here then you'll make me very sad. Instead, say N
|