drivers/tty/serial/mxs-auart.c
Source file repositories/reference/linux-study-clean/drivers/tty/serial/mxs-auart.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/tty/serial/mxs-auart.c- Extension
.c- Size
- 44914 bytes
- Lines
- 1745
- 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.
- 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/kernel.hlinux/errno.hlinux/init.hlinux/console.hlinux/interrupt.hlinux/module.hlinux/slab.hlinux/wait.hlinux/tty.hlinux/tty_driver.hlinux/tty_flip.hlinux/serial.hlinux/serial_core.hlinux/platform_device.hlinux/device.hlinux/clk.hlinux/delay.hlinux/io.hlinux/of.hlinux/dma-mapping.hlinux/dmaengine.hlinux/gpio/consumer.hlinux/err.hlinux/irq.hserial_mctrl_gpio.h
Detected Declarations
struct vendor_datastruct mxs_auart_portenum mxs_auart_typefunction is_imx28_auartfunction is_asm9260_auartfunction auart_dma_enabledfunction mxs_reg_to_offsetfunction mxs_readfunction mxs_writefunction mxs_setfunction mxs_clrfunction dma_tx_callbackfunction mxs_auart_dma_txfunction mxs_auart_tx_charsfunction mxs_auart_rx_charfunction mxs_auart_rx_charsfunction mxs_auart_request_portfunction mxs_auart_verify_portfunction mxs_auart_config_portfunction mxs_auart_release_portfunction mxs_auart_modem_statusfunction mxs_auart_get_mctrlfunction mxs_auart_enable_msfunction mxs_auart_disable_msfunction dma_rx_callbackfunction mxs_auart_dma_prep_rxfunction mxs_auart_dma_exit_channelfunction mxs_auart_dma_exitfunction mxs_auart_dma_initfunction mxs_auart_settermiosfunction bugfunction mxs_auart_set_ldiscfunction mxs_auart_irq_handlefunction mxs_auart_reset_deassertfunction mxs_auart_reset_assertfunction mxs_auart_startupfunction mxs_auart_shutdownfunction mxs_auart_tx_emptyfunction mxs_auart_start_txfunction mxs_auart_stop_txfunction mxs_auart_stop_rxfunction mxs_auart_break_ctlfunction mxs_auart_console_putcharfunction auart_console_writefunction auart_console_get_optionsfunction auart_console_setupfunction mxs_init_regsfunction mxs_get_clks
Annotated Snippet
module_init(mxs_auart_init);
module_exit(mxs_auart_exit);
MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("Freescale MXS application uart driver");
MODULE_ALIAS("platform:mxs-auart");
Annotation
- Immediate include surface: `linux/kernel.h`, `linux/errno.h`, `linux/init.h`, `linux/console.h`, `linux/interrupt.h`, `linux/module.h`, `linux/slab.h`, `linux/wait.h`.
- Detected declarations: `struct vendor_data`, `struct mxs_auart_port`, `enum mxs_auart_type`, `function is_imx28_auart`, `function is_asm9260_auart`, `function auart_dma_enabled`, `function mxs_reg_to_offset`, `function mxs_read`, `function mxs_write`, `function mxs_set`.
- 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.