drivers/tty/serial/altera_jtaguart.c
Source file repositories/reference/linux-study-clean/drivers/tty/serial/altera_jtaguart.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/tty/serial/altera_jtaguart.c- Extension
.c- Size
- 12359 bytes
- Lines
- 488
- 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/bitfield.hlinux/kernel.hlinux/init.hlinux/interrupt.hlinux/module.hlinux/console.hlinux/of.hlinux/tty.hlinux/tty_flip.hlinux/serial.hlinux/serial_core.hlinux/platform_device.hlinux/io.hlinux/altera_jtaguart.h
Detected Declarations
function altera_jtaguart_tx_spacefunction altera_jtaguart_tx_emptyfunction altera_jtaguart_get_mctrlfunction altera_jtaguart_set_mctrlfunction altera_jtaguart_stop_txfunction altera_jtaguart_stop_rxfunction altera_jtaguart_break_ctlfunction altera_jtaguart_rx_charsfunction altera_jtaguart_tx_charsfunction altera_jtaguart_interruptfunction altera_jtaguart_config_portfunction altera_jtaguart_startupfunction altera_jtaguart_shutdownfunction altera_jtaguart_request_portfunction altera_jtaguart_release_portfunction altera_jtaguart_console_putcfunction altera_jtaguart_console_putcfunction altera_jtaguart_console_writefunction altera_jtaguart_console_setupfunction altera_jtaguart_console_initfunction altera_jtaguart_earlycon_writefunction altera_jtaguart_earlycon_setupfunction altera_jtaguart_probefunction altera_jtaguart_removefunction altera_jtaguart_initfunction altera_jtaguart_exitmodule init altera_jtaguart_init
Annotated Snippet
module_init(altera_jtaguart_init);
module_exit(altera_jtaguart_exit);
MODULE_DESCRIPTION("Altera JTAG UART driver");
MODULE_AUTHOR("Thomas Chou <thomas@wytron.com.tw>");
MODULE_LICENSE("GPL");
MODULE_ALIAS("platform:" KBUILD_MODNAME);
Annotation
- Immediate include surface: `linux/bitfield.h`, `linux/kernel.h`, `linux/init.h`, `linux/interrupt.h`, `linux/module.h`, `linux/console.h`, `linux/of.h`, `linux/tty.h`.
- Detected declarations: `function altera_jtaguart_tx_space`, `function altera_jtaguart_tx_empty`, `function altera_jtaguart_get_mctrl`, `function altera_jtaguart_set_mctrl`, `function altera_jtaguart_stop_tx`, `function altera_jtaguart_stop_rx`, `function altera_jtaguart_break_ctl`, `function altera_jtaguart_rx_chars`, `function altera_jtaguart_tx_chars`, `function altera_jtaguart_interrupt`.
- 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.