| /linux-6.15/sound/core/ |
| H A D | pcm_drm_eld.c | 44 if (sad[1] & SAD1_RATE_32000_MASK) in map_rate_families() 57 return sad[1] & SAD1_RATE_MASK; in sad_rate_mask() 60 return map_rate_families(sad, in sad_rate_mask() 67 return map_rate_families(sad, in sad_rate_mask() 73 return sad[1] & SAD1_RATE_MASK; in sad_rate_mask() 101 const u8 *sad, *eld = rule->private; in eld_limit_rates() local 103 sad = drm_eld_sad(eld); in eld_limit_rates() 104 if (sad) { in eld_limit_rates() 115 rate_mask |= sad_rate_mask(sad); in eld_limit_rates() 132 sad = drm_eld_sad(eld); in eld_limit_channels() [all …]
|
| /linux-6.15/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 | 302 void drm_edid_cta_sad_get(const struct cea_sad *cta_sad, u8 *sad); 303 void drm_edid_cta_sad_set(struct cea_sad *cta_sad, const u8 *sad);
|
| /linux-6.15/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-6.15/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-6.15/security/smack/ |
| H A D | smack_access.c | 325 sad->result ? "denied" : "granted"); 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() 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() 371 sad->subject = subject_label; in smack_log() 372 sad->object = object_label; in smack_log() 388 sad->request = request_buffer; in smack_log() [all …]
|
| H A D | smack.h | 274 struct smack_audit_data sad; member 456 memset(&a->sad, 0, sizeof(a->sad)); in smk_ad_init() 458 a->a.smack_audit_data = &a->sad; in smk_ad_init()
|
| /linux-6.15/drivers/edac/ |
| H A 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.15/drivers/staging/gpib/uapi/ |
| H A D | gpib_ioctl.h | 31 int sad; member 41 int sad; member 57 int sad; member 70 int sad; member 75 int sad; member 102 int sad; member
|
| /linux-6.15/drivers/staging/gpib/common/ |
| H A D | gpib_os.c | 254 if (gpib_address_equal(device->pad, device->sad, pad, sad)) in get_gpib_status_queue() 321 if (board->sad >= 0) in setup_serial_poll() 357 if (sad >= 0) in read_serial_poll_byte() 1124 if (gpib_address_equal(device->pad, device->sad, pad, sad)) { in increment_open_device_count() 1138 device->sad = sad; in increment_open_device_count() 1156 if (gpib_address_equal(device->pad, device->sad, pad, sad)) { in subtract_open_device_count() 1236 file_priv->descriptors[i]->sad = open_dev_cmd.sad; in open_dev_ioctl() 1494 desc->sad = cmd.sad; in sad_ioctl() 1764 info.sad = board->sad; in board_info_ioctl() 2017 desc->sad = -1; in init_gpib_descriptor() [all …]
|
| H A D | ibsys.h | 28 gpib_status_queue_t *get_gpib_status_queue(struct gpib_board *board, unsigned int pad, int sad); 29 int get_serial_poll_byte(struct gpib_board *board, unsigned int pad, int sad,
|
| H A D | iblib.c | 472 board->sad = addr; in ibsad() 474 if (board->sad >= 0) in ibsad() 475 board->interface->secondary_address(board, board->sad, 1); in ibsad() 479 dev_dbg(board->gpib_dev, "set secondary addr to %i\n", board->sad); in ibsad() 635 status_queue = get_gpib_status_queue(board, desc->pad, desc->sad); in ibwait()
|
| /linux-6.15/security/selinux/ |
| H A D | avc.c | 655 u32 av = sad->audited, perm; in avc_audit_pre_callback() 720 if (sad->denied) in avc_audit_post_callback() 759 struct selinux_audit_data sad; in slow_avc_audit() local 769 sad.tclass = tclass; in slow_avc_audit() 770 sad.requested = requested; in slow_avc_audit() 771 sad.ssid = ssid; in slow_avc_audit() 772 sad.tsid = tsid; in slow_avc_audit() 773 sad.audited = audited; in slow_avc_audit() 774 sad.denied = denied; in slow_avc_audit() 775 sad.result = result; in slow_avc_audit() [all …]
|
| /linux-6.15/sound/pci/hda/ |
| H A D | hda_eld.c | 171 e->sad[n].format = val; in snd_hdmi_write_eld_info() 173 e->sad[n].channels = val; in snd_hdmi_write_eld_info() 175 e->sad[n].rates = val; in snd_hdmi_write_eld_info() 177 e->sad[n].sample_bits = val; in snd_hdmi_write_eld_info() 179 e->sad[n].max_bitrate = val; in snd_hdmi_write_eld_info() 181 e->sad[n].profile = val; in snd_hdmi_write_eld_info() 208 struct snd_cea_sad *a = &e->sad[i]; in snd_hdmi_eld_update_pcm_info()
|
| /linux-6.15/drivers/staging/gpib/include/ |
| H A D | gpib_types.h | 273 int sad; member 318 int sad; /* secondary gpib address (negative means disabled) */ member 338 int sad; /* secondary gpib address (negative means disabled) */ member
|
| H A D | gpib_proto.h | 27 int dvrsp(struct gpib_board *board, unsigned int pad, int sad,
|
| /linux-6.15/include/drm/ |
| H A D | drm_eld.h | 69 #define DRM_ELD_CEA_SAD(mnl, sad) (20 + (mnl) + 3 * (sad)) argument
|
| /linux-6.15/drivers/staging/gpib/tms9914/ |
| H A D | tms9914.c | 628 if (board->sad < 0) in check_my_address_state() 630 } else if (board->sad >= 0 && priv->primary_listen_addressed && in check_my_address_state() 631 cmd_byte == MSA(board->sad)) { in check_my_address_state() 641 if (board->sad < 0) in check_my_address_state() 644 } else if (board->sad >= 0 && priv->primary_talk_addressed && in check_my_address_state() 645 cmd_byte == MSA(board->sad)) { in check_my_address_state() 796 if (board->sad < 0) in tms9914_interrupt_have_status() 798 if ((read_byte(priv, CPTR) & gpib_command_mask) == MSA(board->sad)) in tms9914_interrupt_have_status() 844 tms9914_secondary_address(board, priv, board->sad, board->sad >= 0); in tms9914_online()
|
| /linux-6.15/include/sound/ |
| H A D | pcm_drm_eld.h | 84 struct snd_cea_sad sad[ELD_MAX_SAD]; member
|
| /linux-6.15/sound/soc/codecs/ |
| H A D | hdac_hdmi.c | 296 static unsigned int sad_format(const u8 *sad) in sad_format() argument 298 return ((sad[0] >> 0x3) & 0x1f); in sad_format() 301 static unsigned int sad_sample_bits_lpcm(const u8 *sad) in sad_sample_bits_lpcm() argument 303 return (sad[2] & 7); in sad_sample_bits_lpcm() 311 const u8 *sad, *eld_buf = eld; in hdac_hdmi_eld_limit_formats() local 313 sad = drm_eld_sad(eld_buf); in hdac_hdmi_eld_limit_formats() 314 if (!sad) in hdac_hdmi_eld_limit_formats() 317 for (i = drm_eld_sad_count(eld_buf); i > 0; i--, sad += 3) { in hdac_hdmi_eld_limit_formats() 318 if (sad_format(sad) == 1) { /* AUDIO_CODING_TYPE_LPCM */ in hdac_hdmi_eld_limit_formats() 324 if (sad_sample_bits_lpcm(sad) & 0x6) in hdac_hdmi_eld_limit_formats()
|
| /linux-6.15/drivers/gpu/drm/amd/display/amdgpu_dm/ |
| H A D | amdgpu_dm_helpers.c | 147 struct cea_sad *sad = &sads[i]; in dm_helpers_parse_edid_caps() local 149 edid_caps->audio_modes[i].format_code = sad->format; in dm_helpers_parse_edid_caps() 150 edid_caps->audio_modes[i].channel_count = sad->channels + 1; in dm_helpers_parse_edid_caps() 151 edid_caps->audio_modes[i].sample_rate = sad->freq; in dm_helpers_parse_edid_caps() 152 edid_caps->audio_modes[i].sample_size = sad->byte2; in dm_helpers_parse_edid_caps()
|
| /linux-6.15/fs/udf/ |
| H A D | inode.c | 2146 struct short_ad *sad; in udf_write_aext() local 2159 sad = (struct short_ad *)ptr; in udf_write_aext() 2160 sad->extLength = cpu_to_le32(elen); in udf_write_aext() 2161 sad->extPosition = cpu_to_le32(eloc->logicalBlockNum); in udf_write_aext() 2246 struct short_ad *sad; in udf_current_aext() local 2272 sad = udf_get_fileshortad(ptr, alen, &epos->offset, inc); in udf_current_aext() 2273 if (!sad) in udf_current_aext() 2275 *etype = le32_to_cpu(sad->extLength) >> 30; in udf_current_aext() 2276 eloc->logicalBlockNum = le32_to_cpu(sad->extPosition); in udf_current_aext() 2279 *elen = le32_to_cpu(sad->extLength) & UDF_EXTENT_LENGTH_MASK; in udf_current_aext()
|
| /linux-6.15/drivers/net/wireless/intel/iwlwifi/fw/api/ |
| H A D | datapath.h | 476 struct iwl_sad_properties sad; member
|