sound/soc/codecs/hdac_hdmi.c
Source file repositories/reference/linux-study-clean/sound/soc/codecs/hdac_hdmi.c
File Facts
- System
- Linux kernel
- Corpus path
sound/soc/codecs/hdac_hdmi.c- Extension
.c- Size
- 52503 bytes
- Lines
- 2051
- Domain
- Driver Families
- Bucket
- sound/soc
- Inferred role
- Driver Families: exported/initcall integration point
- Status
- integration implementation candidate
Why This File Exists
Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Exports symbols or registers init work; inspect boot/module ordering and who consumes the exported contract.
- Uses kernel synchronization; read lock ordering, sleepability, and interrupt context assumptions before translating.
- Allocates kernel memory; connect allocation flags and lifetime to context constraints.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/init.hlinux/delay.hlinux/module.hlinux/pm_runtime.hlinux/hdmi.hdrm/drm_edid.hdrm/drm_eld.hsound/pcm_params.hsound/jack.hsound/soc.hsound/hdaudio_ext.hsound/hda_i915.hsound/pcm_drm_eld.hsound/hda_chmap.h
Detected Declarations
struct hdac_hdmi_cvt_paramsstruct hdac_hdmi_cvtstruct hdac_hdmi_parsed_eldstruct hdac_hdmi_eldstruct hdac_hdmi_pinstruct hdac_hdmi_portstruct hdac_hdmi_pcmstruct hdac_hdmi_dai_port_mapstruct hdac_hdmi_drv_datastruct hdac_hdmi_privstruct dp_audio_infoframefunction hdac_hdmi_get_pcm_from_cvtfunction list_for_each_entryfunction hdac_hdmi_jack_reportfunction hdac_hdmi_port_dapm_updatefunction hdac_hdmi_jack_dapm_workfunction hdac_hdmi_jack_report_syncfunction hdac_hdmi_get_port_lenfunction hdac_hdmi_port_select_getfunction hdac_hdmi_port_select_setfunction list_for_each_entryfunction sad_formatfunction sad_sample_bits_lpcmfunction hdac_hdmi_eld_limit_formatsfunction hdac_hdmi_set_dip_indexfunction hdac_hdmi_setup_audio_infoframefunction hdac_hdmi_set_streamfunction hdac_hdmi_set_hw_paramsfunction hdac_hdmi_query_port_connlistfunction list_for_each_entryfunction list_for_each_entryfunction hdac_hdmi_verify_connect_sel_all_pinsfunction list_for_each_entryfunction hdac_hdmi_pcm_openfunction hdac_hdmi_pcm_closefunction hdac_hdmi_query_cvt_paramsfunction hdac_hdmi_fill_widget_infofunction hdac_hdmi_fill_routefunction list_for_each_entryfunction list_for_each_entryfunction hdac_hdmi_set_power_statefunction hdac_hdmi_set_ampfunction hdac_hdmi_pin_output_widget_eventfunction hdac_hdmi_cvt_output_widget_eventfunction hdac_hdmi_pin_mux_widget_eventfunction hdac_hdmi_set_pin_port_muxfunction list_for_each_entry_safefunction hdac_hdmi_create_pin_port_muxs
Annotated Snippet
module_init(hdmi_init);
module_exit(hdmi_exit);
MODULE_LICENSE("GPL v2");
MODULE_DESCRIPTION("HDMI HD codec");
MODULE_AUTHOR("Samreen Nilofer<samreen.nilofer@intel.com>");
MODULE_AUTHOR("Subhransu S. Prusty<subhransu.s.prusty@intel.com>");
Annotation
- Immediate include surface: `linux/init.h`, `linux/delay.h`, `linux/module.h`, `linux/pm_runtime.h`, `linux/hdmi.h`, `drm/drm_edid.h`, `drm/drm_eld.h`, `sound/pcm_params.h`.
- Detected declarations: `struct hdac_hdmi_cvt_params`, `struct hdac_hdmi_cvt`, `struct hdac_hdmi_parsed_eld`, `struct hdac_hdmi_eld`, `struct hdac_hdmi_pin`, `struct hdac_hdmi_port`, `struct hdac_hdmi_pcm`, `struct hdac_hdmi_dai_port_map`, `struct hdac_hdmi_drv_data`, `struct hdac_hdmi_priv`.
- Atlas domain: Driver Families / sound/soc.
- Implementation status: integration implementation candidate.
- Synchronization appears in or near this file; preserve lock ordering, sleepability, and interrupt-context constraints.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.