Home
last modified time | relevance | path

Searched refs:iec (Results 1 – 19 of 19) sorted by relevance

/linux-6.1.9/sound/soc/ti/
Domap-hdmi.c33 struct snd_aes_iec958 iec; member
109 struct snd_aes_iec958 *iec = &ad->iec; in hdmi_dai_hw_params() local
126 ad->dss_audio.iec = iec; in hdmi_dai_hw_params()
132 memset(iec->status, 0, sizeof(iec->status)); in hdmi_dai_hw_params()
135 iec->status[0] &= ~IEC958_AES0_PROFESSIONAL; in hdmi_dai_hw_params()
138 iec->status[0] &= ~IEC958_AES0_NONAUDIO; in hdmi_dai_hw_params()
140 iec->status[0] |= IEC958_AES0_CON_NOT_COPYRIGHT; in hdmi_dai_hw_params()
142 iec->status[0] |= IEC958_AES0_CON_EMPHASIS_NONE; in hdmi_dai_hw_params()
144 iec->status[1] = IEC958_AES1_CON_GENERAL; in hdmi_dai_hw_params()
146 iec->status[2] |= IEC958_AES2_CON_SOURCE_UNSPEC; in hdmi_dai_hw_params()
[all …]
/linux-6.1.9/drivers/md/persistent-data/
Ddm-space-map-common.c1092 static inline int ie_cache_writeback(struct ll_disk *ll, struct ie_cache *iec) in ie_cache_writeback() argument
1094 iec->dirty = false; in ie_cache_writeback()
1095 __dm_bless_for_disk(iec->ie); in ie_cache_writeback()
1097 &iec->index, &iec->ie, &ll->bitmap_root); in ie_cache_writeback()
1110 struct ie_cache *iec = ll->ie_cache + h; in disk_ll_load_ie() local
1112 if (iec->valid) { in disk_ll_load_ie()
1113 if (iec->index == index) { in disk_ll_load_ie()
1114 memcpy(ie, &iec->ie, sizeof(*ie)); in disk_ll_load_ie()
1118 if (iec->dirty) { in disk_ll_load_ie()
1119 r = ie_cache_writeback(ll, iec); in disk_ll_load_ie()
[all …]
/linux-6.1.9/drivers/video/fbdev/omap2/omapfb/dss/
Dhdmi4_core.c686 if (!audio || !audio->iec || !audio->cea || !core) in hdmi4_audio_config()
689 acore.iec60958_cfg = audio->iec; in hdmi4_audio_config()
694 if (!(audio->iec->status[4] & IEC958_AES4_CON_MAX_WORDLEN_24)) in hdmi4_audio_config()
695 if (audio->iec->status[4] & IEC958_AES4_CON_WORDLEN_20_16) in hdmi4_audio_config()
708 acore.i2s_cfg.in_length_bits = audio->iec->status[4] in hdmi4_audio_config()
710 if (audio->iec->status[4] & IEC958_AES4_CON_MAX_WORDLEN_24) in hdmi4_audio_config()
718 switch (audio->iec->status[3] & IEC958_AES3_CON_FS) { in hdmi4_audio_config()
Dhdmi5_core.c797 if (!audio || !audio->iec || !audio->cea || !core) in hdmi5_audio_config()
800 core_cfg.iec60958_cfg = audio->iec; in hdmi5_audio_config()
802 if (!(audio->iec->status[4] & IEC958_AES4_CON_MAX_WORDLEN_24) && in hdmi5_audio_config()
803 (audio->iec->status[4] & IEC958_AES4_CON_WORDLEN_20_16)) in hdmi5_audio_config()
810 switch (audio->iec->status[3] & IEC958_AES3_CON_FS) { in hdmi5_audio_config()
/linux-6.1.9/drivers/gpu/drm/omapdrm/dss/
Dhdmi4_core.c642 if (!audio || !audio->iec || !audio->cea || !core) in hdmi4_audio_config()
645 acore.iec60958_cfg = audio->iec; in hdmi4_audio_config()
650 if (!(audio->iec->status[4] & IEC958_AES4_CON_MAX_WORDLEN_24)) in hdmi4_audio_config()
651 if (audio->iec->status[4] & IEC958_AES4_CON_WORDLEN_20_16) in hdmi4_audio_config()
664 acore.i2s_cfg.in_length_bits = audio->iec->status[4] in hdmi4_audio_config()
666 if (audio->iec->status[4] & IEC958_AES4_CON_MAX_WORDLEN_24) in hdmi4_audio_config()
674 switch (audio->iec->status[3] & IEC958_AES3_CON_FS) { in hdmi4_audio_config()
Dhdmi5_core.c782 if (!audio || !audio->iec || !audio->cea || !core) in hdmi5_audio_config()
785 core_cfg.iec60958_cfg = audio->iec; in hdmi5_audio_config()
787 if (!(audio->iec->status[4] & IEC958_AES4_CON_MAX_WORDLEN_24) && in hdmi5_audio_config()
788 (audio->iec->status[4] & IEC958_AES4_CON_WORDLEN_20_16)) in hdmi5_audio_config()
795 switch (audio->iec->status[3] & IEC958_AES3_CON_FS) { in hdmi5_audio_config()
/linux-6.1.9/drivers/irqchip/
Dirq-pic32-evic.c258 u32 iec = REG_IEC_OFFSET + (i * 0x10); in pic32_of_init() local
274 gc->chip_types[0].regs.mask = iec; in pic32_of_init()
285 gc->chip_types[1].regs.mask = iec; in pic32_of_init()
/linux-6.1.9/sound/soc/codecs/
Dhdmi-codec.c523 .iec = { in hdmi_codec_hw_params()
547 memcpy(hp.iec.status, hcp->iec_status, sizeof(hp.iec.status)); in hdmi_codec_hw_params()
548 ret = snd_pcm_fill_iec958_consumer_hw_params(params, hp.iec.status, in hdmi_codec_hw_params()
549 sizeof(hp.iec.status)); in hdmi_codec_hw_params()
583 memcpy(hp.iec.status, hcp->iec_status, sizeof(hp.iec.status)); in hdmi_codec_prepare()
584 ret = snd_pcm_fill_iec958_consumer(runtime, hp.iec.status, in hdmi_codec_prepare()
585 sizeof(hp.iec.status)); in hdmi_codec_prepare()
/linux-6.1.9/Documentation/userspace-api/media/v4l/
Dbiblio.rst225 :author: International Electrotechnical Commission (http://www.iec.ch)
235 :author: International Electrotechnical Commission (http://www.iec.ch)
245 :author: International Electrotechnical Commission (http://www.iec.ch)
255 :author: International Electrotechnical Commission (http://www.iec.ch)
295 :author: International Electrotechnical Commission (http://www.iec.ch)
/linux-6.1.9/include/sound/
Domap-hdmi-audio.h16 struct snd_aes_iec958 *iec; member
Dhdmi-codec.h49 struct snd_aes_iec958 iec; member
/linux-6.1.9/drivers/gpu/drm/mediatek/
Dmtk_dp.c588 struct snd_aes_iec958 iec = { 0 }; in mtk_dp_audio_channel_status_set() local
592 iec.status[3] = IEC958_AES3_CON_FS_32000; in mtk_dp_audio_channel_status_set()
595 iec.status[3] = IEC958_AES3_CON_FS_44100; in mtk_dp_audio_channel_status_set()
598 iec.status[3] = IEC958_AES3_CON_FS_48000; in mtk_dp_audio_channel_status_set()
601 iec.status[3] = IEC958_AES3_CON_FS_88200; in mtk_dp_audio_channel_status_set()
604 iec.status[3] = IEC958_AES3_CON_FS_96000; in mtk_dp_audio_channel_status_set()
607 iec.status[3] = IEC958_AES3_CON_FS_192000; in mtk_dp_audio_channel_status_set()
610 iec.status[3] = IEC958_AES3_CON_FS_NOTID; in mtk_dp_audio_channel_status_set()
616 iec.status[4] = IEC958_AES4_CON_WORDLEN_20_16; in mtk_dp_audio_channel_status_set()
619 iec.status[4] = IEC958_AES4_CON_WORDLEN_20_16 | in mtk_dp_audio_channel_status_set()
[all …]
Dmtk_hdmi.c955 hdmi->aud_param.codec_params.iec.status); in mtk_hdmi_aud_output_config()
/linux-6.1.9/drivers/gpu/drm/bridge/synopsys/
Ddw-hdmi-gp-audio.c90 params->iec.status[0] & IEC958_AES0_NONAUDIO); in audio_hw_params()
Ddw-hdmi-i2s-audio.c105 dw_hdmi_set_channel_status(hdmi, hparms->iec.status); in dw_hdmi_i2s_hw_params()
/linux-6.1.9/drivers/gpu/drm/bridge/
Dsii902x.c655 params->iec.status, in sii902x_audio_hw_params()
657 sizeof(params->iec.status))); in sii902x_audio_hw_params()
/linux-6.1.9/drivers/gpu/drm/i2c/
Dtda998x_drv.c1076 memcpy(audio.status, params->iec.status, in tda998x_audio_hw_params()
1077 min(sizeof(audio.status), sizeof(params->iec.status))); in tda998x_audio_hw_params()
/linux-6.1.9/drivers/gpu/drm/exynos/
Dexynos_hdmi.c1114 hdata->audio.params.iec.status[i]); in hdmi_audio_config()
/linux-6.1.9/drivers/gpu/drm/vc4/
Dvc4_hdmi.c2306 if (params->iec.status[0] & IEC958_AES0_NONAUDIO && in vc4_hdmi_audio_prepare()