drivers/tty/hvc/hvc_dcc.c
Source file repositories/reference/linux-study-clean/drivers/tty/hvc/hvc_dcc.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/tty/hvc/hvc_dcc.c- Extension
.c- Size
- 7965 bytes
- Lines
- 310
- Domain
- Driver Families
- Bucket
- drivers/tty
- 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
linux/console.hlinux/cpu.hlinux/cpumask.hlinux/init.hlinux/kfifo.hlinux/serial.hlinux/serial_core.hlinux/smp.hlinux/spinlock.hasm/dcc.hasm/processor.hhvc_console.h
Detected Declarations
function dcc_uart_console_putcharfunction dcc_early_writefunction dcc_early_console_setupfunction hvc_dcc_put_charsfunction hvc_dcc_get_charsfunction hvc_dcc_checkfunction dcc_put_workfunction dcc_get_workfunction hvc_dcc0_put_charsfunction hvc_dcc0_get_charsfunction hvc_dcc_console_initfunction hvc_dcc_initmodule init hvc_dcc_init
Annotated Snippet
device_initcall(hvc_dcc_init);
Annotation
- Immediate include surface: `linux/console.h`, `linux/cpu.h`, `linux/cpumask.h`, `linux/init.h`, `linux/kfifo.h`, `linux/serial.h`, `linux/serial_core.h`, `linux/smp.h`.
- Detected declarations: `function dcc_uart_console_putchar`, `function dcc_early_write`, `function dcc_early_console_setup`, `function hvc_dcc_put_chars`, `function hvc_dcc_get_chars`, `function hvc_dcc_check`, `function dcc_put_work`, `function dcc_get_work`, `function hvc_dcc0_put_chars`, `function hvc_dcc0_get_chars`.
- Atlas domain: Driver Families / drivers/tty.
- 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.