drivers/gpu/drm/bridge/chipone-icn6211.c
Source file repositories/reference/linux-study-clean/drivers/gpu/drm/bridge/chipone-icn6211.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/gpu/drm/bridge/chipone-icn6211.c- Extension
.c- Size
- 22806 bytes
- Lines
- 822
- 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.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
drm/drm_atomic_helper.hdrm/drm_of.hdrm/drm_print.hdrm/drm_mipi_dsi.hlinux/bitfield.hlinux/bits.hlinux/clk.hlinux/delay.hlinux/gpio/consumer.hlinux/i2c.hlinux/media-bus-format.hlinux/module.hlinux/of.hlinux/regmap.hlinux/regulator/consumer.h
Detected Declarations
struct chiponefunction chipone_dsi_readfunction chipone_dsi_writefunction chipone_readbfunction chipone_writebfunction chipone_configure_pllfunction chipone_atomic_enablefunction chipone_atomic_pre_enablefunction chipone_atomic_post_disablefunction chipone_mode_setfunction chipone_dsi_attachfunction chipone_dsi_host_attachfunction chipone_attachfunction chipone_atomic_get_input_bus_fmtsfunction chipone_parse_dtfunction chipone_common_probefunction chipone_dsi_probefunction chipone_i2c_probefunction chipone_dsi_removefunction chipone_initfunction chipone_exitmodule init chipone_init
Annotated Snippet
module_init(chipone_init);
static void __exit chipone_exit(void)
{
i2c_del_driver(&chipone_i2c_driver);
if (IS_ENABLED(CONFIG_DRM_MIPI_DSI))
mipi_dsi_driver_unregister(&chipone_dsi_driver);
}
module_exit(chipone_exit);
MODULE_AUTHOR("Jagan Teki <jagan@amarulasolutions.com>");
MODULE_DESCRIPTION("Chipone ICN6211 MIPI-DSI to RGB Converter Bridge");
MODULE_LICENSE("GPL");
Annotation
- Immediate include surface: `drm/drm_atomic_helper.h`, `drm/drm_of.h`, `drm/drm_print.h`, `drm/drm_mipi_dsi.h`, `linux/bitfield.h`, `linux/bits.h`, `linux/clk.h`, `linux/delay.h`.
- Detected declarations: `struct chipone`, `function chipone_dsi_read`, `function chipone_dsi_write`, `function chipone_readb`, `function chipone_writeb`, `function chipone_configure_pll`, `function chipone_atomic_enable`, `function chipone_atomic_pre_enable`, `function chipone_atomic_post_disable`, `function chipone_mode_set`.
- 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.
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.