| /linux/drivers/gpu/drm/ |
| H A D | drm_eld.c | 23 const u8 *sad; in drm_eld_sad_get() local 28 sad = eld + DRM_ELD_CEA_SAD(drm_eld_mnl(eld), sad_index); in drm_eld_sad_get() 30 drm_edid_cta_sad_set(cta_sad, sad); in drm_eld_sad_get() 46 u8 *sad; in drm_eld_sad_set() local 51 sad = eld + DRM_ELD_CEA_SAD(drm_eld_mnl(eld), sad_index); in drm_eld_sad_set() 53 drm_edid_cta_sad_get(cta_sad, sad); in drm_eld_sad_set()
|
| H A D | drm_crtc_internal.h | 303 void drm_edid_cta_sad_get(const struct cea_sad *cta_sad, u8 *sad); 304 void drm_edid_cta_sad_set(struct cea_sad *cta_sad, const u8 *sad);
|
| /linux/include/trace/events/ |
| H A 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/drivers/gpu/drm/radeon/ |
| H A D | dce3_1_afmt.c | 94 struct cea_sad *sad = &sads[j]; in dce3_2_afmt_write_sad_regs() local 96 if (sad->format == eld_reg_to_type[i][1]) { in dce3_2_afmt_write_sad_regs() 97 if (sad->channels > max_channels) { in dce3_2_afmt_write_sad_regs() 98 value = MAX_CHANNELS(sad->channels) | in dce3_2_afmt_write_sad_regs() 99 DESCRIPTOR_BYTE_2(sad->byte2) | in dce3_2_afmt_write_sad_regs() 100 SUPPORTED_FREQUENCIES(sad->freq); in dce3_2_afmt_write_sad_regs() 101 max_channels = sad->channels; in dce3_2_afmt_write_sad_regs() 104 if (sad->format == HDMI_AUDIO_CODING_TYPE_PCM) in dce3_2_afmt_write_sad_regs() 105 stereo_freqs |= sad->freq; in dce3_2_afmt_write_sad_regs()
|
| H A D | dce6_afmt.c | 236 struct cea_sad *sad = &sads[j]; in dce6_afmt_write_sad_regs() local 238 if (sad->format == eld_reg_to_type[i][1]) { in dce6_afmt_write_sad_regs() 239 if (sad->channels > max_channels) { in dce6_afmt_write_sad_regs() 240 value = MAX_CHANNELS(sad->channels) | in dce6_afmt_write_sad_regs() 241 DESCRIPTOR_BYTE_2(sad->byte2) | in dce6_afmt_write_sad_regs() 242 SUPPORTED_FREQUENCIES(sad->freq); in dce6_afmt_write_sad_regs() 243 max_channels = sad->channels; in dce6_afmt_write_sad_regs() 246 if (sad->format == HDMI_AUDIO_CODING_TYPE_PCM) in dce6_afmt_write_sad_regs() 247 stereo_freqs |= sad->freq; in dce6_afmt_write_sad_regs()
|
| H A D | evergreen_hdmi.c | 184 struct cea_sad *sad = &sads[j]; in evergreen_hdmi_write_sad_regs() local 186 if (sad->format == eld_reg_to_type[i][1]) { in evergreen_hdmi_write_sad_regs() 187 if (sad->channels > max_channels) { in evergreen_hdmi_write_sad_regs() 188 value = MAX_CHANNELS(sad->channels) | in evergreen_hdmi_write_sad_regs() 189 DESCRIPTOR_BYTE_2(sad->byte2) | in evergreen_hdmi_write_sad_regs() 190 SUPPORTED_FREQUENCIES(sad->freq); in evergreen_hdmi_write_sad_regs() 191 max_channels = sad->channels; in evergreen_hdmi_write_sad_regs() 194 if (sad->format == HDMI_AUDIO_CODING_TYPE_PCM) in evergreen_hdmi_write_sad_regs() 195 stereo_freqs |= sad->freq; in evergreen_hdmi_write_sad_regs()
|
| /linux/security/smack/ |
| H A D | smack_access.c | 322 struct smack_audit_data *sad = ad->smack_audit_data; in smack_log_callback() local 325 sad->result ? "denied" : "granted"); in smack_log_callback() 327 audit_log_untrustedstring(ab, sad->subject); in smack_log_callback() 329 audit_log_untrustedstring(ab, sad->object); in smack_log_callback() 330 if (sad->request[0] == '\0') in smack_log_callback() 333 audit_log_format(ab, " requested=%s", sad->request); in smack_log_callback() 355 struct smack_audit_data *sad; in smack_log() local 364 sad = a->smack_audit_data; in smack_log() 366 if (sad->function == NULL) in smack_log() 367 sad->function = "unknown"; in smack_log() [all …]
|
| H A D | smack.h | 274 struct smack_audit_data sad; member 473 memset(&a->sad, 0, sizeof(a->sad)); in smk_ad_init() 475 a->a.smack_audit_data = &a->sad; in smk_ad_init()
|
| /linux/drivers/gpib/common/ |
| H A D | gpib_os.c | 251 struct gpib_status_queue *get_gpib_status_queue(struct gpib_board *board, unsigned int pad, int sad) in get_gpib_status_queue() argument 259 if (gpib_address_equal(device->pad, device->sad, pad, sad)) in get_gpib_status_queue() 266 int get_serial_poll_byte(struct gpib_board *board, unsigned int pad, int sad, in get_serial_poll_byte() argument 271 device = get_gpib_status_queue(board, pad, sad); in get_serial_poll_byte() 275 return dvrsp(board, pad, sad, usec_timeout, poll_byte); in get_serial_poll_byte() 327 if (board->sad >= 0) in setup_serial_poll() 328 cmd_string[i++] = MSA(board->sad); in setup_serial_poll() 343 int sad, unsigned int usec_timeout, u8 *result) in read_serial_poll_byte() argument 351 dev_dbg(board->gpib_dev, "entering pad=%i sad=%i\n", pad, sad); in read_serial_poll_byte() 363 if (sad >= 0) in read_serial_poll_byte() [all …]
|
| H A D | ibsys.h | 31 unsigned int pad, int sad); 32 int get_serial_poll_byte(struct gpib_board *board, unsigned int pad, int sad,
|
| /linux/sound/hda/codecs/hdmi/ |
| H A D | eld.c | 170 e->sad[n].format = val; in snd_hdmi_write_eld_info() 172 e->sad[n].channels = val; in snd_hdmi_write_eld_info() 174 e->sad[n].rates = val; in snd_hdmi_write_eld_info() 176 e->sad[n].sample_bits = val; in snd_hdmi_write_eld_info() 178 e->sad[n].max_bitrate = val; in snd_hdmi_write_eld_info() 180 e->sad[n].profile = val; in snd_hdmi_write_eld_info() 207 struct snd_cea_sad *a = &e->sad[i]; in snd_hdmi_eld_update_pcm_info()
|
| /linux/include/uapi/linux/ |
| H A D | gpib_ioctl.h | 31 __s32 sad; member 41 __s32 sad; member 58 __s32 sad; member 71 __s32 sad; member 76 __s32 sad; member 105 __s32 sad; member
|
| /linux/security/selinux/ |
| H A D | avc.c | 654 struct selinux_audit_data *sad = ad->selinux_audit_data; in avc_audit_pre_callback() local 655 u32 av = sad->audited, perm; in avc_audit_pre_callback() 659 audit_log_format(ab, "avc: %s ", sad->denied ? "denied" : "granted"); in avc_audit_pre_callback() 666 perms = secclass_map[sad->tclass-1].perms; in avc_audit_pre_callback() 695 struct selinux_audit_data *sad = ad->selinux_audit_data; in avc_audit_post_callback() local 703 rc = security_sid_to_context(sad->ssid, &scontext, in avc_audit_post_callback() 706 audit_log_format(ab, " ssid=%d", sad->ssid); in avc_audit_post_callback() 710 rc = security_sid_to_context(sad->tsid, &tcontext, in avc_audit_post_callback() 713 audit_log_format(ab, " tsid=%d", sad->tsid); in avc_audit_post_callback() 717 tclass = secclass_map[sad->tclass-1].name; in avc_audit_post_callback() [all …]
|
| /linux/drivers/gpib/tms9914/ |
| H A D | tms9914.c | 636 if (board->sad < 0) in check_my_address_state() 638 } else if (board->sad >= 0 && priv->primary_listen_addressed && in check_my_address_state() 639 cmd_byte == MSA(board->sad)) { in check_my_address_state() 649 if (board->sad < 0) in check_my_address_state() 652 } else if (board->sad >= 0 && priv->primary_talk_addressed && in check_my_address_state() 653 cmd_byte == MSA(board->sad)) { in check_my_address_state() 805 if (board->sad < 0) in tms9914_interrupt_have_status() 807 if ((read_byte(priv, CPTR) & gpib_command_mask) == MSA(board->sad)) in tms9914_interrupt_have_status() 853 tms9914_secondary_address(board, priv, board->sad, board->sad >= 0); in tms9914_online()
|
| /linux/drivers/gpib/include/ |
| H A D | gpib_types.h | 298 int sad; member 345 int sad; /* secondary gpib address (negative means disabled) */ member 365 int sad; /* secondary gpib address (negative means disabled) */ member
|
| H A D | gpib_proto.h | 23 int dvrsp(struct gpib_board *board, unsigned int pad, int sad,
|
| /linux/include/drm/ |
| H A D | drm_eld.h | 69 #define DRM_ELD_CEA_SAD(mnl, sad) (20 + (mnl) + 3 * (sad)) argument
|
| /linux/sound/soc/codecs/ |
| H A D | hdac_hdmi.c | 294 static unsigned int sad_format(const u8 *sad) in sad_format() argument 296 return ((sad[0] >> 0x3) & 0x1f); in sad_format() 299 static unsigned int sad_sample_bits_lpcm(const u8 *sad) in sad_sample_bits_lpcm() argument 301 return (sad[2] & 7); in sad_sample_bits_lpcm() 309 const u8 *sad, *eld_buf = eld; in hdac_hdmi_eld_limit_formats() local 311 sad = drm_eld_sad(eld_buf); in hdac_hdmi_eld_limit_formats() 312 if (!sad) in hdac_hdmi_eld_limit_formats() 315 for (i = drm_eld_sad_count(eld_buf); i > 0; i--, sad += 3) { in hdac_hdmi_eld_limit_formats() 316 if (sad_format(sad) == 1) { /* AUDIO_CODING_TYPE_LPCM */ in hdac_hdmi_eld_limit_formats() 322 if (sad_sample_bits_lpcm(sad) in hdac_hdmi_eld_limit_formats() [all...] |
| /linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
| H A D | amdgpu_dm_helpers.c | 153 struct cea_sad *sad = &sads[i]; in dm_helpers_parse_edid_caps() local 155 edid_caps->audio_modes[i].format_code = sad->format; in dm_helpers_parse_edid_caps() 156 edid_caps->audio_modes[i].channel_count = sad->channels + 1; in dm_helpers_parse_edid_caps() 157 edid_caps->audio_modes[i].sample_rate = sad->freq; in dm_helpers_parse_edid_caps() 158 edid_caps->audio_modes[i].sample_size = sad->byte2; in dm_helpers_parse_edid_caps()
|
| /linux/fs/udf/ |
| H A D | inode.c | 2153 struct short_ad *sad; in udf_write_aext() local 2166 sad = (struct short_ad *)ptr; in udf_write_aext() 2167 sad->extLength = cpu_to_le32(elen); in udf_write_aext() 2168 sad->extPosition = cpu_to_le32(eloc->logicalBlockNum); in udf_write_aext() 2253 struct short_ad *sad; in udf_current_aext() local 2282 sad = udf_get_fileshortad(ptr, alen, &epos->offset, inc); in udf_current_aext() 2283 if (!sad) in udf_current_aext() 2285 *etype = le32_to_cpu(sad->extLength) >> 30; in udf_current_aext() 2286 eloc->logicalBlockNum = le32_to_cpu(sad->extPosition); in udf_current_aext() 2289 *elen = le32_to_cpu(sad->extLength) & UDF_EXTENT_LENGTH_MASK; in udf_current_aext()
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | dce_v8_0.c | 1356 struct cea_sad *sad = &sads[j]; in dce_v8_0_audio_write_sad_regs() local 1358 if (sad->format == eld_reg_to_type[i][1]) { in dce_v8_0_audio_write_sad_regs() 1359 if (sad->channels > max_channels) { in dce_v8_0_audio_write_sad_regs() 1360 value = (sad->channels << in dce_v8_0_audio_write_sad_regs() 1362 (sad->byte2 << in dce_v8_0_audio_write_sad_regs() 1364 (sad->freq << in dce_v8_0_audio_write_sad_regs() 1366 max_channels = sad->channels; in dce_v8_0_audio_write_sad_regs() 1369 if (sad->format == HDMI_AUDIO_CODING_TYPE_PCM) in dce_v8_0_audio_write_sad_regs() 1370 stereo_freqs |= sad->freq; in dce_v8_0_audio_write_sad_regs()
|
| H A D | dce_v6_0.c | 1362 struct cea_sad *sad = &sads[j]; in dce_v6_0_audio_write_sad_regs() local 1364 if (sad->format == eld_reg_to_type[i][1]) { in dce_v6_0_audio_write_sad_regs() 1365 if (sad->channels > max_channels) { in dce_v6_0_audio_write_sad_regs() 1366 value = (sad->channels << in dce_v6_0_audio_write_sad_regs() 1368 (sad->byte2 << in dce_v6_0_audio_write_sad_regs() 1370 (sad->freq << in dce_v6_0_audio_write_sad_regs() 1372 max_channels = sad->channels; in dce_v6_0_audio_write_sad_regs() 1375 if (sad->format == HDMI_AUDIO_CODING_TYPE_PCM) in dce_v6_0_audio_write_sad_regs() 1376 stereo_freqs |= sad->freq; in dce_v6_0_audio_write_sad_regs()
|
| H A D | dce_v10_0.c | 1385 struct cea_sad *sad = &sads[j]; in dce_v10_0_audio_write_sad_regs() local 1387 if (sad->format == eld_reg_to_type[i][1]) { in dce_v10_0_audio_write_sad_regs() 1388 if (sad->channels > max_channels) { in dce_v10_0_audio_write_sad_regs() 1390 MAX_CHANNELS, sad->channels); in dce_v10_0_audio_write_sad_regs() 1392 DESCRIPTOR_BYTE_2, sad->byte2); in dce_v10_0_audio_write_sad_regs() 1394 SUPPORTED_FREQUENCIES, sad->freq); in dce_v10_0_audio_write_sad_regs() 1395 max_channels = sad->channels; in dce_v10_0_audio_write_sad_regs() 1398 if (sad->format == HDMI_AUDIO_CODING_TYPE_PCM) in dce_v10_0_audio_write_sad_regs() 1399 stereo_freqs |= sad->freq; in dce_v10_0_audio_write_sad_regs()
|
| /linux/Documentation/usb/ |
| H A D | iuu_phoenix.rst | 71 so sad to have a nice device like the iuu without seeing all color range available.
|
| /linux/Documentation/RCU/ |
| H A D | NMI-RCU.rst | 117 This same sad story can happen on other CPUs when using
|