drivers/tty/serial/milbeaut_usio.c
Source file repositories/reference/linux-study-clean/drivers/tty/serial/milbeaut_usio.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/tty/serial/milbeaut_usio.c- Extension
.c- Size
- 16194 bytes
- Lines
- 613
- 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/clk.hlinux/console.hlinux/module.hlinux/of_irq.hlinux/platform_device.hlinux/serial_core.hlinux/tty.hlinux/tty_flip.h
Detected Declarations
function mlb_usio_stop_txfunction mlb_usio_tx_charsfunction mlb_usio_start_txfunction mlb_usio_stop_rxfunction mlb_usio_enable_msfunction mlb_usio_rx_charsfunction mlb_usio_rx_irqfunction mlb_usio_tx_irqfunction mlb_usio_tx_emptyfunction mlb_usio_set_mctrlfunction mlb_usio_break_ctlfunction mlb_usio_shutdownfunction mlb_usio_set_termiosfunction mlb_usio_config_portfunction mlb_usio_console_putcharfunction mlb_usio_console_writefunction mlb_usio_console_setupfunction mlb_usio_console_initfunction mlb_usio_early_console_writefunction mlb_usio_early_console_setupfunction mlb_usio_probefunction mlb_usio_removefunction mlb_usio_initfunction mlb_usio_exitmodule init mlb_usio_init
Annotated Snippet
module_init(mlb_usio_init);
module_exit(mlb_usio_exit);
MODULE_AUTHOR("SOCIONEXT");
MODULE_DESCRIPTION("MILBEAUT_USIO/UART Driver");
MODULE_LICENSE("GPL");
Annotation
- Immediate include surface: `linux/clk.h`, `linux/console.h`, `linux/module.h`, `linux/of_irq.h`, `linux/platform_device.h`, `linux/serial_core.h`, `linux/tty.h`, `linux/tty_flip.h`.
- Detected declarations: `function mlb_usio_stop_tx`, `function mlb_usio_tx_chars`, `function mlb_usio_start_tx`, `function mlb_usio_stop_rx`, `function mlb_usio_enable_ms`, `function mlb_usio_rx_chars`, `function mlb_usio_rx_irq`, `function mlb_usio_tx_irq`, `function mlb_usio_tx_empty`, `function mlb_usio_set_mctrl`.
- 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.