Searched refs:sad (Results 1 - 27 of 27) sorted by relevance

/linux-4.1.27/drivers/gpu/drm/radeon/
H A Ddce3_1_afmt.c93 struct cea_sad *sad = &sads[j]; dce3_2_afmt_write_sad_regs() local
95 if (sad->format == eld_reg_to_type[i][1]) { dce3_2_afmt_write_sad_regs()
96 if (sad->channels > max_channels) { dce3_2_afmt_write_sad_regs()
97 value = MAX_CHANNELS(sad->channels) | dce3_2_afmt_write_sad_regs()
98 DESCRIPTOR_BYTE_2(sad->byte2) | dce3_2_afmt_write_sad_regs()
99 SUPPORTED_FREQUENCIES(sad->freq); dce3_2_afmt_write_sad_regs()
100 max_channels = sad->channels; dce3_2_afmt_write_sad_regs()
103 if (sad->format == HDMI_AUDIO_CODING_TYPE_PCM) dce3_2_afmt_write_sad_regs()
104 stereo_freqs |= sad->freq; dce3_2_afmt_write_sad_regs()
H A Ddce6_afmt.c215 struct cea_sad *sad = &sads[j]; dce6_afmt_write_sad_regs() local
217 if (sad->format == eld_reg_to_type[i][1]) { dce6_afmt_write_sad_regs()
218 if (sad->channels > max_channels) { dce6_afmt_write_sad_regs()
219 value = MAX_CHANNELS(sad->channels) | dce6_afmt_write_sad_regs()
220 DESCRIPTOR_BYTE_2(sad->byte2) | dce6_afmt_write_sad_regs()
221 SUPPORTED_FREQUENCIES(sad->freq); dce6_afmt_write_sad_regs()
222 max_channels = sad->channels; dce6_afmt_write_sad_regs()
225 if (sad->format == HDMI_AUDIO_CODING_TYPE_PCM) dce6_afmt_write_sad_regs()
226 stereo_freqs |= sad->freq; dce6_afmt_write_sad_regs()
H A Devergreen_hdmi.c182 struct cea_sad *sad = &sads[j]; evergreen_hdmi_write_sad_regs() local
184 if (sad->format == eld_reg_to_type[i][1]) { evergreen_hdmi_write_sad_regs()
185 if (sad->channels > max_channels) { evergreen_hdmi_write_sad_regs()
186 value = MAX_CHANNELS(sad->channels) | evergreen_hdmi_write_sad_regs()
187 DESCRIPTOR_BYTE_2(sad->byte2) | evergreen_hdmi_write_sad_regs()
188 SUPPORTED_FREQUENCIES(sad->freq); evergreen_hdmi_write_sad_regs()
189 max_channels = sad->channels; evergreen_hdmi_write_sad_regs()
192 if (sad->format == HDMI_AUDIO_CODING_TYPE_PCM) evergreen_hdmi_write_sad_regs()
193 stereo_freqs |= sad->freq; evergreen_hdmi_write_sad_regs()
/linux-4.1.27/security/smack/
H A Dsmack_access.c324 struct smack_audit_data *sad = ad->smack_audit_data; smack_log_callback() local
327 sad->result ? "denied" : "granted"); smack_log_callback()
329 audit_log_untrustedstring(ab, sad->subject); smack_log_callback()
331 audit_log_untrustedstring(ab, sad->object); smack_log_callback()
332 if (sad->request[0] == '\0') smack_log_callback()
335 audit_log_format(ab, " requested=%s", sad->request); smack_log_callback()
357 struct smack_audit_data *sad; smack_log() local
366 sad = a->smack_audit_data; smack_log()
368 if (sad->function == NULL) smack_log()
369 sad->function = "unknown"; smack_log()
373 sad->subject = subject_label; smack_log()
374 sad->object = object_label; smack_log()
390 sad->request = request_buffer; smack_log()
391 sad->result = result; smack_log()
H A Dsmack.h229 struct smack_audit_data sad; member in struct:smk_audit_info
372 memset(&a->sad, 0, sizeof(a->sad)); smk_ad_init()
374 a->a.smack_audit_data = &a->sad; smk_ad_init()
/linux-4.1.27/sound/pci/hda/
H A Dhda_eld.c295 hdmi_update_short_audio_desc(codec, e->sad + i, snd_hdmi_parse_eld()
448 hdmi_show_short_audio_desc(codec, e->sad + i); snd_hdmi_show_eld()
458 snd_iprintf(buffer, "sad%d_coding_type\t[0x%x] %s\n", hdmi_print_sad_info()
460 snd_iprintf(buffer, "sad%d_channels\t\t%d\n", i, a->channels); hdmi_print_sad_info()
463 snd_iprintf(buffer, "sad%d_rates\t\t[0x%x]%s\n", i, a->rates, buf); hdmi_print_sad_info()
467 snd_iprintf(buffer, "sad%d_bits\t\t[0x%x]%s\n", hdmi_print_sad_info()
472 snd_iprintf(buffer, "sad%d_max_bitrate\t%d\n", hdmi_print_sad_info()
476 snd_iprintf(buffer, "sad%d_profile\t\t%d\n", i, a->profile); hdmi_print_sad_info()
524 hdmi_print_sad_info(i, e->sad + i, buffer); snd_hdmi_print_eld_info()
563 else if (!strncmp(name, "sad", 3)) { snd_hdmi_write_eld_info()
573 e->sad[n].format = val; snd_hdmi_write_eld_info()
575 e->sad[n].channels = val; snd_hdmi_write_eld_info()
577 e->sad[n].rates = val; snd_hdmi_write_eld_info()
579 e->sad[n].sample_bits = val; snd_hdmi_write_eld_info()
581 e->sad[n].max_bitrate = val; snd_hdmi_write_eld_info()
583 e->sad[n].profile = val; snd_hdmi_write_eld_info()
610 struct cea_sad *a = &e->sad[i]; snd_hdmi_eld_update_pcm_info()
H A Dhda_local.h756 struct cea_sad sad[ELD_MAX_SAD]; member in struct:parsed_hdmi_eld
/linux-4.1.27/security/selinux/
H A Davc.c460 struct selinux_audit_data sad; slow_avc_audit() local
478 sad.tclass = tclass; slow_avc_audit()
479 sad.requested = requested; slow_avc_audit()
480 sad.ssid = ssid; slow_avc_audit()
481 sad.tsid = tsid; slow_avc_audit()
482 sad.audited = audited; slow_avc_audit()
483 sad.denied = denied; slow_avc_audit()
484 sad.result = result; slow_avc_audit()
486 a->selinux_audit_data = &sad; slow_avc_audit()
/linux-4.1.27/arch/alpha/include/uapi/asm/
H A Dcompiler.h89 * we could test during compilation -- too bad, so sad.
/linux-4.1.27/fs/udf/
H A Dinode.c1878 struct short_ad *sad = NULL; udf_add_aext() local
1953 sad = (struct short_ad *)sptr; udf_add_aext()
1954 sad->extLength = cpu_to_le32(EXT_NEXT_EXTENT_ALLOCDECS | udf_add_aext()
1956 sad->extPosition = udf_add_aext()
2008 struct short_ad *sad; udf_write_aext() local
2021 sad = (struct short_ad *)ptr; udf_write_aext()
2022 sad->extLength = cpu_to_le32(elen); udf_write_aext()
2023 sad->extPosition = cpu_to_le32(eloc->logicalBlockNum); udf_write_aext()
2098 struct short_ad *sad; udf_current_aext() local
2121 sad = udf_get_fileshortad(ptr, alen, &epos->offset, inc); udf_current_aext()
2122 if (!sad) udf_current_aext()
2124 etype = le32_to_cpu(sad->extLength) >> 30; udf_current_aext()
2125 eloc->logicalBlockNum = le32_to_cpu(sad->extPosition); udf_current_aext()
2128 *elen = le32_to_cpu(sad->extLength) & UDF_EXTENT_LENGTH_MASK; udf_current_aext()
H A Dballoc.c450 struct short_ad *sad = NULL; udf_table_free_blocks() local
527 sad = (struct short_ad *)sptr; udf_table_free_blocks()
528 sad->extLength = cpu_to_le32( udf_table_free_blocks()
531 sad->extPosition = udf_table_free_blocks()
/linux-4.1.27/drivers/staging/i2o/
H A Dbus-osm.c87 * Except when we fail. Then we are sad.
/linux-4.1.27/include/drm/
H A Ddrm_edid.h267 #define DRM_ELD_CEA_SAD(mnl, sad) (20 + (mnl) + 3 * (sad))
/linux-4.1.27/net/rds/
H A Dcong.c72 * The really sad thing is we have no idea which destinations the application
/linux-4.1.27/drivers/gpu/drm/
H A Ddrm_edid.c3233 u8 *sad = &db[1 + j * 3]; for_each_cea_db() local
3235 (*sads)[j].format = (sad[0] & 0x78) >> 3; for_each_cea_db()
3236 (*sads)[j].channels = sad[0] & 0x7; for_each_cea_db()
3237 (*sads)[j].freq = sad[1] & 0x7F; for_each_cea_db()
3238 (*sads)[j].byte2 = sad[2]; for_each_cea_db()
/linux-4.1.27/drivers/media/platform/marvell-ccic/
H A Dcafe-driver.c198 * Another sad fact is that sometimes, commands silently complete but cafe_smbus_write_data()
/linux-4.1.27/drivers/leds/
H A Dleds-tca6507.c491 /* Nothing matches - how sad */ led_prepare()
/linux-4.1.27/drivers/media/dvb-frontends/
H A Ddib8000.c801 dib8000_write_word(state, 898, 0x0004); /* sad */ dib8000_update_pll()
1053 dib8000_write_word(state, 898, 0x000c); /* restart sad */ dib8000_reset()
1063 dib8000_write_word(state, 898, 0x0004); // sad dib8000_reset()
1843 /* get sad sel request */ dib8096p_tuner_xfer()
H A Ddib7000p.c267 /* dem, cfg, iqc, sad, agc */ dib7000p_set_power_mode()
/linux-4.1.27/fs/ext3/
H A Dresize.c718 /* Out of journal space, and can't get more - abort - so sad */ update_backups()
/linux-4.1.27/fs/ext4/
H A Dresize.c1076 /* Out of journal space, and can't get more - abort - so sad */ update_backups()
/linux-4.1.27/sound/isa/wavefront/
H A Dwavefront_synth.c1718 matters. Its sad, but I've looked through the code to check snd_wavefront_internal_interrupt()
/linux-4.1.27/sound/pci/
H A Dmaestro3.c982 * This makes me sad. the maestro3 has lists
/linux-4.1.27/mm/
H A Dshmem.c1294 * and bloating every shmem inode for this unlikely case would be sad. shmem_fault()
/linux-4.1.27/fs/btrfs/
H A Ddisk-io.c383 * making everybody very sad. verify_parent_transid()
/linux-4.1.27/fs/
H A Dbuffer.c646 * It is a sad fact of life that this function is called from several places
/linux-4.1.27/net/ipv4/
H A Dtcp_input.c4779 * is in a sad state like this, we care only about integrity tcp_prune_ofo_queue()

Completed in 1013 milliseconds