drivers/tty/serial/pxa.c
Source file repositories/reference/linux-study-clean/drivers/tty/serial/pxa.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/tty/serial/pxa.c- Extension
.c- Size
- 21849 bytes
- Lines
- 904
- 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/ioport.hlinux/init.hlinux/console.hlinux/sysrq.hlinux/serial.hlinux/serial_reg.hlinux/circ_buf.hlinux/delay.hlinux/interrupt.hlinux/of.hlinux/platform_device.hlinux/tty.hlinux/tty_flip.hlinux/serial_core.hlinux/clk.hlinux/io.hlinux/slab.h
Detected Declarations
struct uart_pxa_portfunction serial_infunction serial_outfunction serial_pxa_enable_msfunction serial_pxa_stop_txfunction serial_pxa_stop_rxfunction receive_charsfunction transmit_charsfunction serial_pxa_start_txfunction check_modem_statusfunction serial_pxa_irqfunction serial_pxa_tx_emptyfunction serial_pxa_get_mctrlfunction serial_pxa_set_mctrlfunction serial_pxa_break_ctlfunction serial_pxa_startupfunction serial_pxa_shutdownfunction serial_pxa_set_termiosfunction serial_pxa_pmfunction serial_pxa_release_portfunction serial_pxa_config_portfunction serial_pxa_verify_portfunction serial_pxa_typefunction wait_for_xmitrfunction serial_pxa_console_putcharfunction serial_pxa_console_writefunction serial_pxa_get_poll_charfunction serial_pxa_put_poll_charfunction serial_pxa_console_setupfunction serial_pxa_suspendfunction serial_pxa_resumefunction serial_pxa_probe_dtfunction serial_pxa_probefunction serial_pxa_initmodule init serial_pxa_init
Annotated Snippet
device_initcall(serial_pxa_init);
Annotation
- Immediate include surface: `linux/ioport.h`, `linux/init.h`, `linux/console.h`, `linux/sysrq.h`, `linux/serial.h`, `linux/serial_reg.h`, `linux/circ_buf.h`, `linux/delay.h`.
- Detected declarations: `struct uart_pxa_port`, `function serial_in`, `function serial_out`, `function serial_pxa_enable_ms`, `function serial_pxa_stop_tx`, `function serial_pxa_stop_rx`, `function receive_chars`, `function transmit_chars`, `function serial_pxa_start_tx`, `function check_modem_status`.
- 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.