drivers/tty/serial/fsl_linflexuart.c
Source file repositories/reference/linux-study-clean/drivers/tty/serial/fsl_linflexuart.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/tty/serial/fsl_linflexuart.c- Extension
.c- Size
- 22354 bytes
- Lines
- 919
- 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.
- Touches IRQ or DMA behavior; this matters for the representative real-device path.
- 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/console.hlinux/io.hlinux/irq.hlinux/module.hlinux/of.hlinux/platform_device.hlinux/serial_core.hlinux/slab.hlinux/tty_flip.hlinux/delay.h
Detected Declarations
function linflex_stop_txfunction linflex_stop_rxfunction linflex_put_charfunction linflex_transmit_bufferfunction linflex_start_txfunction linflex_txintfunction linflex_rxintfunction linflex_intfunction linflex_tx_emptyfunction linflex_get_mctrlfunction linflex_set_mctrlfunction linflex_startupfunction linflex_shutdownfunction linflex_set_termiosfunction linflex_release_portfunction linflex_config_portfunction linflex_console_putcharfunction linflex_earlycon_putcharfunction linflex_string_writefunction linflex_console_writefunction initialisedfunction linflex_console_setupfunction linflex_earlycon_writefunction linflex_early_console_setupfunction linflex_probefunction linflex_removefunction linflex_suspendfunction linflex_resumefunction linflex_serial_initfunction linflex_serial_exitmodule init linflex_serial_init
Annotated Snippet
module_init(linflex_serial_init);
module_exit(linflex_serial_exit);
MODULE_DESCRIPTION("Freescale LINFlexD serial port driver");
MODULE_LICENSE("GPL v2");
Annotation
- Immediate include surface: `linux/console.h`, `linux/io.h`, `linux/irq.h`, `linux/module.h`, `linux/of.h`, `linux/platform_device.h`, `linux/serial_core.h`, `linux/slab.h`.
- Detected declarations: `function linflex_stop_tx`, `function linflex_stop_rx`, `function linflex_put_char`, `function linflex_transmit_buffer`, `function linflex_start_tx`, `function linflex_txint`, `function linflex_rxint`, `function linflex_int`, `function linflex_tx_empty`, `function linflex_get_mctrl`.
- 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.
- 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.