/Linux-v4.19/sound/core/ |
D | pcm_drm_eld.c | 23 static unsigned int sad_max_channels(const u8 *sad) in sad_max_channels() argument 25 return 1 + (sad[0] & 7); in sad_max_channels() 34 const u8 *sad, *eld = rule->private; in eld_limit_rates() local 36 sad = drm_eld_sad(eld); in eld_limit_rates() 37 if (sad) { in eld_limit_rates() 40 for (i = drm_eld_sad_count(eld); i > 0; i--, sad += 3) { in eld_limit_rates() 41 unsigned max_channels = sad_max_channels(sad); in eld_limit_rates() 48 rate_mask |= sad[1]; in eld_limit_rates() 63 const u8 *sad, *eld = rule->private; in eld_limit_channels() local 65 sad = drm_eld_sad(eld); in eld_limit_channels() [all …]
|
/Linux-v4.19/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()
|
/Linux-v4.19/security/smack/ |
D | smack_access.c | 319 struct smack_audit_data *sad = ad->smack_audit_data; in smack_log_callback() local 322 sad->result ? "denied" : "granted"); in smack_log_callback() 324 audit_log_untrustedstring(ab, sad->subject); in smack_log_callback() 326 audit_log_untrustedstring(ab, sad->object); in smack_log_callback() 327 if (sad->request[0] == '\0') in smack_log_callback() 330 audit_log_format(ab, " requested=%s", sad->request); in smack_log_callback() 352 struct smack_audit_data *sad; in smack_log() local 361 sad = a->smack_audit_data; in smack_log() 363 if (sad->function == NULL) in smack_log() 364 sad->function = "unknown"; in smack_log() [all …]
|
D | smack.h | 304 struct smack_audit_data sad; member 432 memset(&a->sad, 0, sizeof(a->sad)); in smk_ad_init() 434 a->a.smack_audit_data = &a->sad; in smk_ad_init()
|
/Linux-v4.19/drivers/edac/ |
D | skx_edac.c | 570 #define SKX_SAD_MOD3MODE(sad) GET_BITFIELD((sad), 30, 31) argument 571 #define SKX_SAD_MOD3(sad) GET_BITFIELD((sad), 27, 27) argument 572 #define SKX_SAD_LIMIT(sad) (((u64)GET_BITFIELD((sad), 7, 26) << 26) | MASK26) argument 573 #define SKX_SAD_MOD3ASMOD2(sad) GET_BITFIELD((sad), 5, 6) argument 574 #define SKX_SAD_ATTR(sad) GET_BITFIELD((sad), 3, 4) argument 575 #define SKX_SAD_INTERLEAVE(sad) GET_BITFIELD((sad), 1, 2) argument 576 #define SKX_SAD_ENABLE(sad) GET_BITFIELD((sad), 0, 0) argument 586 u32 sad, ilv; in skx_sad_decode() local 599 SKX_GET_SAD(d, i, sad); in skx_sad_decode() 600 limit = SKX_SAD_LIMIT(sad); in skx_sad_decode() [all …]
|
/Linux-v4.19/sound/pci/hda/ |
D | hda_eld.c | 283 hdmi_update_short_audio_desc(codec, e->sad + i, in snd_hdmi_parse_eld() 424 hdmi_show_short_audio_desc(codec, e->sad + i); in snd_hdmi_show_eld() 500 hdmi_print_sad_info(i, e->sad + i, buffer); in snd_hdmi_print_eld_info() 549 e->sad[n].format = val; in snd_hdmi_write_eld_info() 551 e->sad[n].channels = val; in snd_hdmi_write_eld_info() 553 e->sad[n].rates = val; in snd_hdmi_write_eld_info() 555 e->sad[n].sample_bits = val; in snd_hdmi_write_eld_info() 557 e->sad[n].max_bitrate = val; in snd_hdmi_write_eld_info() 559 e->sad[n].profile = val; in snd_hdmi_write_eld_info() 586 struct cea_sad *a = &e->sad[i]; in snd_hdmi_eld_update_pcm_info()
|
D | hda_local.h | 696 struct cea_sad sad[ELD_MAX_SAD]; member
|
/Linux-v4.19/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_helpers.c | 109 struct cea_sad *sad = &sads[i]; in dm_helpers_parse_edid_caps() local 111 edid_caps->audio_modes[i].format_code = sad->format; in dm_helpers_parse_edid_caps() 112 edid_caps->audio_modes[i].channel_count = sad->channels + 1; in dm_helpers_parse_edid_caps() 113 edid_caps->audio_modes[i].sample_rate = sad->freq; in dm_helpers_parse_edid_caps() 114 edid_caps->audio_modes[i].sample_size = sad->byte2; in dm_helpers_parse_edid_caps()
|
/Linux-v4.19/security/selinux/ |
D | avc.c | 773 struct selinux_audit_data sad; in slow_avc_audit() local 791 sad.tclass = tclass; in slow_avc_audit() 792 sad.requested = requested; in slow_avc_audit() 793 sad.ssid = ssid; in slow_avc_audit() 794 sad.tsid = tsid; in slow_avc_audit() 795 sad.audited = audited; in slow_avc_audit() 796 sad.denied = denied; in slow_avc_audit() 797 sad.result = result; in slow_avc_audit() 798 sad.state = state; in slow_avc_audit() 800 a->selinux_audit_data = &sad; in slow_avc_audit()
|
/Linux-v4.19/sound/soc/codecs/ |
D | hdac_hdmi.c | 281 static unsigned int sad_format(const u8 *sad) in sad_format() argument 283 return ((sad[0] >> 0x3) & 0x1f); in sad_format() 286 static unsigned int sad_sample_bits_lpcm(const u8 *sad) in sad_sample_bits_lpcm() argument 288 return (sad[2] & 7); in sad_sample_bits_lpcm() 296 const u8 *sad, *eld_buf = eld; in hdac_hdmi_eld_limit_formats() local 298 sad = drm_eld_sad(eld_buf); in hdac_hdmi_eld_limit_formats() 299 if (!sad) in hdac_hdmi_eld_limit_formats() 302 for (i = drm_eld_sad_count(eld_buf); i > 0; i--, sad += 3) { in hdac_hdmi_eld_limit_formats() 303 if (sad_format(sad) == 1) { /* AUDIO_CODING_TYPE_LPCM */ in hdac_hdmi_eld_limit_formats() 309 if (sad_sample_bits_lpcm(sad) & 0x6) in hdac_hdmi_eld_limit_formats()
|
/Linux-v4.19/include/drm/ |
D | drm_edid.h | 280 #define DRM_ELD_CEA_SAD(mnl, sad) (20 + (mnl) + 3 * (sad)) argument
|
/Linux-v4.19/fs/udf/ |
D | inode.c | 2006 struct short_ad *sad; in udf_write_aext() local 2019 sad = (struct short_ad *)ptr; in udf_write_aext() 2020 sad->extLength = cpu_to_le32(elen); in udf_write_aext() 2021 sad->extPosition = cpu_to_le32(eloc->logicalBlockNum); in udf_write_aext() 2096 struct short_ad *sad; in udf_current_aext() local 2119 sad = udf_get_fileshortad(ptr, alen, &epos->offset, inc); in udf_current_aext() 2120 if (!sad) in udf_current_aext() 2122 etype = le32_to_cpu(sad->extLength) >> 30; in udf_current_aext() 2123 eloc->logicalBlockNum = le32_to_cpu(sad->extPosition); in udf_current_aext() 2126 *elen = le32_to_cpu(sad->extLength) & UDF_EXTENT_LENGTH_MASK; in udf_current_aext()
|
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/ |
D | dce_v8_0.c | 1313 struct cea_sad *sad = &sads[j]; in dce_v8_0_audio_write_sad_regs() local 1315 if (sad->format == eld_reg_to_type[i][1]) { in dce_v8_0_audio_write_sad_regs() 1316 if (sad->channels > max_channels) { in dce_v8_0_audio_write_sad_regs() 1317 value = (sad->channels << in dce_v8_0_audio_write_sad_regs() 1319 (sad->byte2 << in dce_v8_0_audio_write_sad_regs() 1321 (sad->freq << in dce_v8_0_audio_write_sad_regs() 1323 max_channels = sad->channels; in dce_v8_0_audio_write_sad_regs() 1326 if (sad->format == HDMI_AUDIO_CODING_TYPE_PCM) in dce_v8_0_audio_write_sad_regs() 1327 stereo_freqs |= sad->freq; in dce_v8_0_audio_write_sad_regs()
|
D | dce_v6_0.c | 1262 struct cea_sad *sad = &sads[j]; in dce_v6_0_audio_write_sad_regs() local 1264 if (sad->format == eld_reg_to_type[i][1]) { in dce_v6_0_audio_write_sad_regs() 1265 if (sad->channels > max_channels) { in dce_v6_0_audio_write_sad_regs() 1267 MAX_CHANNELS, sad->channels); in dce_v6_0_audio_write_sad_regs() 1269 DESCRIPTOR_BYTE_2, sad->byte2); in dce_v6_0_audio_write_sad_regs() 1271 SUPPORTED_FREQUENCIES, sad->freq); in dce_v6_0_audio_write_sad_regs() 1272 max_channels = sad->channels; in dce_v6_0_audio_write_sad_regs() 1275 if (sad->format == HDMI_AUDIO_CODING_TYPE_PCM) in dce_v6_0_audio_write_sad_regs() 1276 stereo_freqs |= sad->freq; in dce_v6_0_audio_write_sad_regs()
|
D | dce_v11_0.c | 1386 struct cea_sad *sad = &sads[j]; in dce_v11_0_audio_write_sad_regs() local 1388 if (sad->format == eld_reg_to_type[i][1]) { in dce_v11_0_audio_write_sad_regs() 1389 if (sad->channels > max_channels) { in dce_v11_0_audio_write_sad_regs() 1391 MAX_CHANNELS, sad->channels); in dce_v11_0_audio_write_sad_regs() 1393 DESCRIPTOR_BYTE_2, sad->byte2); in dce_v11_0_audio_write_sad_regs() 1395 SUPPORTED_FREQUENCIES, sad->freq); in dce_v11_0_audio_write_sad_regs() 1396 max_channels = sad->channels; in dce_v11_0_audio_write_sad_regs() 1399 if (sad->format == HDMI_AUDIO_CODING_TYPE_PCM) in dce_v11_0_audio_write_sad_regs() 1400 stereo_freqs |= sad->freq; in dce_v11_0_audio_write_sad_regs()
|
D | dce_v10_0.c | 1360 struct cea_sad *sad = &sads[j]; in dce_v10_0_audio_write_sad_regs() local 1362 if (sad->format == eld_reg_to_type[i][1]) { in dce_v10_0_audio_write_sad_regs() 1363 if (sad->channels > max_channels) { in dce_v10_0_audio_write_sad_regs() 1365 MAX_CHANNELS, sad->channels); in dce_v10_0_audio_write_sad_regs() 1367 DESCRIPTOR_BYTE_2, sad->byte2); in dce_v10_0_audio_write_sad_regs() 1369 SUPPORTED_FREQUENCIES, sad->freq); in dce_v10_0_audio_write_sad_regs() 1370 max_channels = sad->channels; in dce_v10_0_audio_write_sad_regs() 1373 if (sad->format == HDMI_AUDIO_CODING_TYPE_PCM) in dce_v10_0_audio_write_sad_regs() 1374 stereo_freqs |= sad->freq; in dce_v10_0_audio_write_sad_regs()
|
/Linux-v4.19/Documentation/usb/ |
D | iuu_phoenix.txt | 62 so sad to have a nice device like the iuu without seeing all color range available.
|
/Linux-v4.19/Documentation/RCU/ |
D | NMI-RCU.txt | 114 This same sad story can happen on other CPUs when using
|
/Linux-v4.19/drivers/gpu/drm/ |
D | drm_edid.c | 4031 u8 *sad = &db[1 + j * 3]; in drm_edid_to_sad() local 4033 (*sads)[j].format = (sad[0] & 0x78) >> 3; in drm_edid_to_sad() 4034 (*sads)[j].channels = sad[0] & 0x7; in drm_edid_to_sad() 4035 (*sads)[j].freq = sad[1] & 0x7F; in drm_edid_to_sad() 4036 (*sads)[j].byte2 = sad[2]; in drm_edid_to_sad()
|
/Linux-v4.19/Documentation/process/ |
D | 3.Early-stage.rst | 176 reaction, but, instead, little or no reaction at all. The sad truth of the
|
/Linux-v4.19/Documentation/driver-api/usb/ |
D | power-management.rst | 246 management. Nevertheless, the sad fact is that many devices do not
|