drivers/gpu/drm/bridge/adv7511/adv7511_drv.c
Source file repositories/reference/linux-study-clean/drivers/gpu/drm/bridge/adv7511/adv7511_drv.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/gpu/drm/bridge/adv7511/adv7511_drv.c- Extension
.c- Size
- 43116 bytes
- Lines
- 1539
- Domain
- Driver Families
- Bucket
- drivers/gpu
- 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.
- Touches IRQ or DMA behavior; this matters for the representative real-device path.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/clk.hlinux/device.hlinux/gpio/consumer.hlinux/module.hlinux/of.hlinux/slab.hsound/pcm.hdrm/drm_atomic.hdrm/drm_atomic_helper.hdrm/drm_bridge_connector.hdrm/drm_edid.hdrm/drm_of.hdrm/drm_print.hdrm/drm_probe_helper.hdrm/display/drm_hdmi_helper.hdrm/display/drm_hdmi_state_helper.hadv7511.h
Detected Declarations
function adv7511_register_volatilefunction adv7511_set_colormapfunction adv7511_packet_enablefunction adv7511_packet_disablefunction adv7511_set_config_cscfunction adv7511_set_link_configfunction __adv7511_power_onfunction adv7511_power_onfunction __adv7511_power_offfunction adv7511_power_offfunction adv7511_hpdfunction adv7511_hpd_workfunction adv7511_irq_processfunction adv7511_irq_handlerfunction adv7511_wait_for_edidfunction adv7511_get_edid_blockfunction adv7511_detectfunction adv7511_mode_setfunction adv7511_connector_initfunction adv7511_bridge_atomic_enablefunction adv7511_bridge_atomic_disablefunction adv7511_bridge_hdmi_tmds_char_rate_validfunction adv7511_bridge_mode_validfunction adv7511_bridge_attachfunction adv7511_bridge_detectfunction adv7511_bridge_hdmi_clear_audio_infoframefunction adv7511_bridge_hdmi_clear_avi_infoframefunction adv7511_bridge_hdmi_clear_spd_infoframefunction adv7511_bridge_hdmi_clear_hdmi_infoframefunction adv7511_bridge_hdmi_write_audio_infoframefunction adv7511_bridge_hdmi_write_avi_infoframefunction adv7511_bridge_hdmi_write_spd_infoframefunction adv7511_bridge_hdmi_write_hdmi_infoframefunction adv7511_init_regulatorsfunction adv7511_uninit_regulatorsfunction adv7511_cec_register_volatilefunction adv7511_init_cec_regmapfunction adv7511_parse_dtfunction adv7511_probefunction adv7511_removefunction adv7511_initfunction adv7511_exitmodule init adv7511_init
Annotated Snippet
module_init(adv7511_init);
static void __exit adv7511_exit(void)
{
i2c_del_driver(&adv7511_driver);
if (IS_ENABLED(CONFIG_DRM_MIPI_DSI))
mipi_dsi_driver_unregister(&adv7533_dsi_driver);
}
module_exit(adv7511_exit);
MODULE_AUTHOR("Lars-Peter Clausen <lars@metafoo.de>");
MODULE_DESCRIPTION("ADV7511 HDMI transmitter driver");
MODULE_LICENSE("GPL");
Annotation
- Immediate include surface: `linux/clk.h`, `linux/device.h`, `linux/gpio/consumer.h`, `linux/module.h`, `linux/of.h`, `linux/slab.h`, `sound/pcm.h`, `drm/drm_atomic.h`.
- Detected declarations: `function adv7511_register_volatile`, `function adv7511_set_colormap`, `function adv7511_packet_enable`, `function adv7511_packet_disable`, `function adv7511_set_config_csc`, `function adv7511_set_link_config`, `function __adv7511_power_on`, `function adv7511_power_on`, `function __adv7511_power_off`, `function adv7511_power_off`.
- Atlas domain: Driver Families / drivers/gpu.
- Implementation status: integration implementation candidate.
- Synchronization appears in or near this file; preserve lock ordering, sleepability, and interrupt-context constraints.
- IRQ or DMA behavior appears here, which is relevant to the selected PCIe/NVMe device path.
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.