drivers/tty/vcc.c
Source file repositories/reference/linux-study-clean/drivers/tty/vcc.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/tty/vcc.c- Extension
.c- Size
- 22781 bytes
- Lines
- 1092
- 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.
- 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/delay.hlinux/interrupt.hlinux/module.hlinux/slab.hlinux/sysfs.hlinux/tty.hlinux/tty_flip.hlinux/termios_internal.hasm/vio.hasm/ldc.h
Detected Declarations
struct vcc_portfunction vcc_table_addfunction vcc_table_removefunction vcc_getfunction vcc_putfunction vcc_get_nefunction vcc_kick_rxfunction vcc_kick_txfunction vcc_rx_checkfunction vcc_rxfunction vcc_ldc_readfunction vcc_rx_timerfunction vcc_tx_timerfunction vcc_eventfunction domain_showfunction vcc_send_ctlfunction break_storefunction vcc_probefunction vcc_removefunction vcc_openfunction vcc_closefunction vcc_ldc_hupfunction vcc_hangupfunction vcc_writefunction vcc_write_roomfunction vcc_chars_in_bufferfunction vcc_break_ctlfunction vcc_installfunction vcc_cleanupfunction vcc_tty_initfunction vcc_tty_exitfunction vcc_initfunction vcc_exitmodule init vcc_init
Annotated Snippet
module_init(vcc_init);
module_exit(vcc_exit);
Annotation
- Immediate include surface: `linux/delay.h`, `linux/interrupt.h`, `linux/module.h`, `linux/slab.h`, `linux/sysfs.h`, `linux/tty.h`, `linux/tty_flip.h`, `linux/termios_internal.h`.
- Detected declarations: `struct vcc_port`, `function vcc_table_add`, `function vcc_table_remove`, `function vcc_get`, `function vcc_put`, `function vcc_get_ne`, `function vcc_kick_rx`, `function vcc_kick_tx`, `function vcc_rx_check`, `function vcc_rx`.
- 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.