sad 204 drivers/edac/skx_base.c #define SKX_SAD_MOD3MODE(sad) GET_BITFIELD((sad), 30, 31) sad 205 drivers/edac/skx_base.c #define SKX_SAD_MOD3(sad) GET_BITFIELD((sad), 27, 27) sad 206 drivers/edac/skx_base.c #define SKX_SAD_LIMIT(sad) (((u64)GET_BITFIELD((sad), 7, 26) << 26) | MASK26) sad 207 drivers/edac/skx_base.c #define SKX_SAD_MOD3ASMOD2(sad) GET_BITFIELD((sad), 5, 6) sad 208 drivers/edac/skx_base.c #define SKX_SAD_ATTR(sad) GET_BITFIELD((sad), 3, 4) sad 209 drivers/edac/skx_base.c #define SKX_SAD_INTERLEAVE(sad) GET_BITFIELD((sad), 1, 2) sad 210 drivers/edac/skx_base.c #define SKX_SAD_ENABLE(sad) GET_BITFIELD((sad), 0, 0) sad 220 drivers/edac/skx_base.c u32 sad, ilv; sad 233 drivers/edac/skx_base.c SKX_GET_SAD(d, i, sad); sad 234 drivers/edac/skx_base.c limit = SKX_SAD_LIMIT(sad); sad 235 drivers/edac/skx_base.c if (SKX_SAD_ENABLE(sad)) { sad 247 drivers/edac/skx_base.c switch (SKX_SAD_INTERLEAVE(sad)) { sad 279 drivers/edac/skx_base.c if (SKX_SAD_MOD3(sad) == 0) { sad 282 drivers/edac/skx_base.c switch (SKX_SAD_MOD3MODE(sad)) { sad 296 drivers/edac/skx_base.c switch (SKX_SAD_MOD3ASMOD2(sad)) { sad 1368 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c struct cea_sad *sad = &sads[j]; sad 1370 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c if (sad->format == eld_reg_to_type[i][1]) { sad 1371 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c if (sad->channels > max_channels) { sad 1373 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c MAX_CHANNELS, sad->channels); sad 1375 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c DESCRIPTOR_BYTE_2, sad->byte2); sad 1377 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c SUPPORTED_FREQUENCIES, sad->freq); sad 1378 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c max_channels = sad->channels; sad 1381 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c if (sad->format == HDMI_AUDIO_CODING_TYPE_PCM) sad 1382 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c stereo_freqs |= sad->freq; sad 1394 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c struct cea_sad *sad = &sads[j]; sad 1396 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c if (sad->format == eld_reg_to_type[i][1]) { sad 1397 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c if (sad->channels > max_channels) { sad 1399 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c MAX_CHANNELS, sad->channels); sad 1401 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c DESCRIPTOR_BYTE_2, sad->byte2); sad 1403 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c SUPPORTED_FREQUENCIES, sad->freq); sad 1404 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c max_channels = sad->channels; sad 1407 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c if (sad->format == HDMI_AUDIO_CODING_TYPE_PCM) sad 1408 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c stereo_freqs |= sad->freq; sad 1272 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c struct cea_sad *sad = &sads[j]; sad 1274 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c if (sad->format == eld_reg_to_type[i][1]) { sad 1275 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c if (sad->channels > max_channels) { sad 1277 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c MAX_CHANNELS, sad->channels); sad 1279 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c DESCRIPTOR_BYTE_2, sad->byte2); sad 1281 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c SUPPORTED_FREQUENCIES, sad->freq); sad 1282 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c max_channels = sad->channels; sad 1285 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c if (sad->format == HDMI_AUDIO_CODING_TYPE_PCM) sad 1286 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c stereo_freqs |= sad->freq; sad 1321 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c struct cea_sad *sad = &sads[j]; sad 1323 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c if (sad->format == eld_reg_to_type[i][1]) { sad 1324 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c if (sad->channels > max_channels) { sad 1325 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c value = (sad->channels << sad 1327 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c (sad->byte2 << sad 1329 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c (sad->freq << sad 1331 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c max_channels = sad->channels; sad 1334 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c if (sad->format == HDMI_AUDIO_CODING_TYPE_PCM) sad 1335 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c stereo_freqs |= sad->freq; sad 108 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c struct cea_sad *sad = &sads[i]; sad 110 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c edid_caps->audio_modes[i].format_code = sad->format; sad 111 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c edid_caps->audio_modes[i].channel_count = sad->channels + 1; sad 112 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c edid_caps->audio_modes[i].sample_rate = sad->freq; sad 113 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c edid_caps->audio_modes[i].sample_size = sad->byte2; sad 4215 drivers/gpu/drm/drm_edid.c u8 *sad = &db[1 + j * 3]; sad 4217 drivers/gpu/drm/drm_edid.c (*sads)[j].format = (sad[0] & 0x78) >> 3; sad 4218 drivers/gpu/drm/drm_edid.c (*sads)[j].channels = sad[0] & 0x7; sad 4219 drivers/gpu/drm/drm_edid.c (*sads)[j].freq = sad[1] & 0x7F; sad 4220 drivers/gpu/drm/drm_edid.c (*sads)[j].byte2 = sad[2]; sad 93 drivers/gpu/drm/radeon/dce3_1_afmt.c struct cea_sad *sad = &sads[j]; sad 95 drivers/gpu/drm/radeon/dce3_1_afmt.c if (sad->format == eld_reg_to_type[i][1]) { sad 96 drivers/gpu/drm/radeon/dce3_1_afmt.c if (sad->channels > max_channels) { sad 97 drivers/gpu/drm/radeon/dce3_1_afmt.c value = MAX_CHANNELS(sad->channels) | sad 98 drivers/gpu/drm/radeon/dce3_1_afmt.c DESCRIPTOR_BYTE_2(sad->byte2) | sad 99 drivers/gpu/drm/radeon/dce3_1_afmt.c SUPPORTED_FREQUENCIES(sad->freq); sad 100 drivers/gpu/drm/radeon/dce3_1_afmt.c max_channels = sad->channels; sad 103 drivers/gpu/drm/radeon/dce3_1_afmt.c if (sad->format == HDMI_AUDIO_CODING_TYPE_PCM) sad 104 drivers/gpu/drm/radeon/dce3_1_afmt.c stereo_freqs |= sad->freq; sad 234 drivers/gpu/drm/radeon/dce6_afmt.c struct cea_sad *sad = &sads[j]; sad 236 drivers/gpu/drm/radeon/dce6_afmt.c if (sad->format == eld_reg_to_type[i][1]) { sad 237 drivers/gpu/drm/radeon/dce6_afmt.c if (sad->channels > max_channels) { sad 238 drivers/gpu/drm/radeon/dce6_afmt.c value = MAX_CHANNELS(sad->channels) | sad 239 drivers/gpu/drm/radeon/dce6_afmt.c DESCRIPTOR_BYTE_2(sad->byte2) | sad 240 drivers/gpu/drm/radeon/dce6_afmt.c SUPPORTED_FREQUENCIES(sad->freq); sad 241 drivers/gpu/drm/radeon/dce6_afmt.c max_channels = sad->channels; sad 244 drivers/gpu/drm/radeon/dce6_afmt.c if (sad->format == HDMI_AUDIO_CODING_TYPE_PCM) sad 245 drivers/gpu/drm/radeon/dce6_afmt.c stereo_freqs |= sad->freq; sad 182 drivers/gpu/drm/radeon/evergreen_hdmi.c struct cea_sad *sad = &sads[j]; sad 184 drivers/gpu/drm/radeon/evergreen_hdmi.c if (sad->format == eld_reg_to_type[i][1]) { sad 185 drivers/gpu/drm/radeon/evergreen_hdmi.c if (sad->channels > max_channels) { sad 186 drivers/gpu/drm/radeon/evergreen_hdmi.c value = MAX_CHANNELS(sad->channels) | sad 187 drivers/gpu/drm/radeon/evergreen_hdmi.c DESCRIPTOR_BYTE_2(sad->byte2) | sad 188 drivers/gpu/drm/radeon/evergreen_hdmi.c SUPPORTED_FREQUENCIES(sad->freq); sad 189 drivers/gpu/drm/radeon/evergreen_hdmi.c max_channels = sad->channels; sad 192 drivers/gpu/drm/radeon/evergreen_hdmi.c if (sad->format == HDMI_AUDIO_CODING_TYPE_PCM) sad 193 drivers/gpu/drm/radeon/evergreen_hdmi.c stereo_freqs |= sad->freq; sad 2086 fs/udf/inode.c struct short_ad *sad; sad 2099 fs/udf/inode.c sad = (struct short_ad *)ptr; sad 2100 fs/udf/inode.c sad->extLength = cpu_to_le32(elen); sad 2101 fs/udf/inode.c sad->extPosition = cpu_to_le32(eloc->logicalBlockNum); sad 2176 fs/udf/inode.c struct short_ad *sad; sad 2199 fs/udf/inode.c sad = udf_get_fileshortad(ptr, alen, &epos->offset, inc); sad 2200 fs/udf/inode.c if (!sad) sad 2202 fs/udf/inode.c etype = le32_to_cpu(sad->extLength) >> 30; sad 2203 fs/udf/inode.c eloc->logicalBlockNum = le32_to_cpu(sad->extPosition); sad 2206 fs/udf/inode.c *elen = le32_to_cpu(sad->extLength) & UDF_EXTENT_LENGTH_MASK; sad 283 include/drm/drm_edid.h #define DRM_ELD_CEA_SAD(mnl, sad) (20 + (mnl) + 3 * (sad)) sad 663 security/selinux/avc.c struct selinux_audit_data *sad = ad->selinux_audit_data; sad 664 security/selinux/avc.c u32 av = sad->audited; sad 668 security/selinux/avc.c audit_log_format(ab, "avc: %s ", sad->denied ? "denied" : "granted"); sad 675 security/selinux/avc.c perms = secclass_map[sad->tclass-1].perms; sad 704 security/selinux/avc.c struct selinux_audit_data *sad = ad->selinux_audit_data; sad 709 security/selinux/avc.c rc = security_sid_to_context(sad->state, sad->ssid, &scontext, sad 712 security/selinux/avc.c audit_log_format(ab, " ssid=%d", sad->ssid); sad 718 security/selinux/avc.c rc = security_sid_to_context(sad->state, sad->tsid, &scontext, sad 721 security/selinux/avc.c audit_log_format(ab, " tsid=%d", sad->tsid); sad 727 security/selinux/avc.c audit_log_format(ab, " tclass=%s", secclass_map[sad->tclass-1].name); sad 729 security/selinux/avc.c if (sad->denied) sad 730 security/selinux/avc.c audit_log_format(ab, " permissive=%u", sad->result ? 0 : 1); sad 733 security/selinux/avc.c rc = security_sid_to_context_inval(sad->state, sad->ssid, &scontext, sad 743 security/selinux/avc.c rc = security_sid_to_context_inval(sad->state, sad->tsid, &scontext, sad 761 security/selinux/avc.c struct selinux_audit_data sad; sad 771 security/selinux/avc.c sad.tclass = tclass; sad 772 security/selinux/avc.c sad.requested = requested; sad 773 security/selinux/avc.c sad.ssid = ssid; sad 774 security/selinux/avc.c sad.tsid = tsid; sad 775 security/selinux/avc.c sad.audited = audited; sad 776 security/selinux/avc.c sad.denied = denied; sad 777 security/selinux/avc.c sad.result = result; sad 778 security/selinux/avc.c sad.state = state; sad 780 security/selinux/avc.c a->selinux_audit_data = &sad; sad 288 security/smack/smack.h struct smack_audit_data sad; sad 448 security/smack/smack.h memset(&a->sad, 0, sizeof(a->sad)); sad 450 security/smack/smack.h a->a.smack_audit_data = &a->sad; sad 315 security/smack/smack_access.c struct smack_audit_data *sad = ad->smack_audit_data; sad 318 security/smack/smack_access.c sad->result ? "denied" : "granted"); sad 320 security/smack/smack_access.c audit_log_untrustedstring(ab, sad->subject); sad 322 security/smack/smack_access.c audit_log_untrustedstring(ab, sad->object); sad 323 security/smack/smack_access.c if (sad->request[0] == '\0') sad 326 security/smack/smack_access.c audit_log_format(ab, " requested=%s", sad->request); sad 348 security/smack/smack_access.c struct smack_audit_data *sad; sad 357 security/smack/smack_access.c sad = a->smack_audit_data; sad 359 security/smack/smack_access.c if (sad->function == NULL) sad 360 security/smack/smack_access.c sad->function = "unknown"; sad 364 security/smack/smack_access.c sad->subject = subject_label; sad 365 security/smack/smack_access.c sad->object = object_label; sad 381 security/smack/smack_access.c sad->request = request_buffer; sad 382 security/smack/smack_access.c sad->result = result; sad 20 sound/core/pcm_drm_eld.c static unsigned int sad_max_channels(const u8 *sad) sad 22 sound/core/pcm_drm_eld.c return 1 + (sad[0] & 7); sad 31 sound/core/pcm_drm_eld.c const u8 *sad, *eld = rule->private; sad 33 sound/core/pcm_drm_eld.c sad = drm_eld_sad(eld); sad 34 sound/core/pcm_drm_eld.c if (sad) { sad 37 sound/core/pcm_drm_eld.c for (i = drm_eld_sad_count(eld); i > 0; i--, sad += 3) { sad 38 sound/core/pcm_drm_eld.c unsigned max_channels = sad_max_channels(sad); sad 45 sound/core/pcm_drm_eld.c rate_mask |= sad[1]; sad 60 sound/core/pcm_drm_eld.c const u8 *sad, *eld = rule->private; sad 62 sound/core/pcm_drm_eld.c sad = drm_eld_sad(eld); sad 63 sound/core/pcm_drm_eld.c if (sad) { sad 72 sound/core/pcm_drm_eld.c for (i = drm_eld_sad_count(eld); i > 0; i--, sad += 3) sad 73 sound/core/pcm_drm_eld.c if (rate_mask & sad[1]) sad 74 sound/core/pcm_drm_eld.c t.max = max(t.max, sad_max_channels(sad)); sad 270 sound/pci/hda/hda_eld.c hdmi_update_short_audio_desc(codec, e->sad + i, sad 411 sound/pci/hda/hda_eld.c hdmi_show_short_audio_desc(codec, e->sad + i); sad 487 sound/pci/hda/hda_eld.c hdmi_print_sad_info(i, e->sad + i, buffer); sad 536 sound/pci/hda/hda_eld.c e->sad[n].format = val; sad 538 sound/pci/hda/hda_eld.c e->sad[n].channels = val; sad 540 sound/pci/hda/hda_eld.c e->sad[n].rates = val; sad 542 sound/pci/hda/hda_eld.c e->sad[n].sample_bits = val; sad 544 sound/pci/hda/hda_eld.c e->sad[n].max_bitrate = val; sad 546 sound/pci/hda/hda_eld.c e->sad[n].profile = val; sad 573 sound/pci/hda/hda_eld.c struct cea_sad *a = &e->sad[i]; sad 686 sound/pci/hda/hda_local.h struct cea_sad sad[ELD_MAX_SAD]; sad 301 sound/soc/codecs/hdac_hdmi.c static unsigned int sad_format(const u8 *sad) sad 303 sound/soc/codecs/hdac_hdmi.c return ((sad[0] >> 0x3) & 0x1f); sad 306 sound/soc/codecs/hdac_hdmi.c static unsigned int sad_sample_bits_lpcm(const u8 *sad) sad 308 sound/soc/codecs/hdac_hdmi.c return (sad[2] & 7); sad 316 sound/soc/codecs/hdac_hdmi.c const u8 *sad, *eld_buf = eld; sad 318 sound/soc/codecs/hdac_hdmi.c sad = drm_eld_sad(eld_buf); sad 319 sound/soc/codecs/hdac_hdmi.c if (!sad) sad 322 sound/soc/codecs/hdac_hdmi.c for (i = drm_eld_sad_count(eld_buf); i > 0; i--, sad += 3) { sad 323 sound/soc/codecs/hdac_hdmi.c if (sad_format(sad) == 1) { /* AUDIO_CODING_TYPE_LPCM */ sad 329 sound/soc/codecs/hdac_hdmi.c if (sad_sample_bits_lpcm(sad) & 0x6)