drivers/tty/serial/arc_uart.c
Source file repositories/reference/linux-study-clean/drivers/tty/serial/arc_uart.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/tty/serial/arc_uart.c- Extension
.c- Size
- 17387 bytes
- Lines
- 672
- 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.
- 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/module.hlinux/serial.hlinux/console.hlinux/sysrq.hlinux/platform_device.hlinux/tty.hlinux/tty_flip.hlinux/serial_core.hlinux/io.hlinux/of_irq.hlinux/of_address.h
Detected Declarations
struct arc_uart_portfunction arc_serial_stop_rxfunction arc_serial_stop_txfunction arc_serial_tx_emptyfunction arc_serial_tx_charsfunction uart_startfunction arc_serial_rx_charsfunction errfunction interruptsfunction Rxfunction arc_serial_get_mctrlfunction arc_serial_set_mctrlfunction arc_serial_shutdownfunction arc_serial_set_termiosfunction arc_serial_release_portfunction serial_structfunction arc_serial_config_portfunction arc_serial_poll_putcharfunction arc_serial_poll_getcharfunction arc_serial_console_setupfunction arc_serial_console_putcharfunction arc_serial_console_writefunction arc_early_serial_writefunction arc_early_console_setupfunction arc_serial_probefunction arc_serial_initfunction arc_serial_exitmodule init arc_serial_init
Annotated Snippet
module_init(arc_serial_init);
module_exit(arc_serial_exit);
MODULE_LICENSE("GPL");
MODULE_ALIAS("platform:" DRIVER_NAME);
MODULE_AUTHOR("Vineet Gupta");
MODULE_DESCRIPTION("ARC(Synopsys) On-Chip(fpga) serial driver");
Annotation
- Immediate include surface: `linux/module.h`, `linux/serial.h`, `linux/console.h`, `linux/sysrq.h`, `linux/platform_device.h`, `linux/tty.h`, `linux/tty_flip.h`, `linux/serial_core.h`.
- Detected declarations: `struct arc_uart_port`, `function arc_serial_stop_rx`, `function arc_serial_stop_tx`, `function arc_serial_tx_empty`, `function arc_serial_tx_chars`, `function uart_start`, `function arc_serial_rx_chars`, `function err`, `function interrupts`, `function Rx`.
- Atlas domain: Driver Families / drivers/tty.
- Implementation status: integration implementation candidate.
- 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.