drivers/tty/serial/8250/8250_lpss.c
Source file repositories/reference/linux-study-clean/drivers/tty/serial/8250/8250_lpss.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/tty/serial/8250/8250_lpss.c- Extension
.c- Size
- 10830 bytes
- Lines
- 435
- Domain
- Driver Families
- Bucket
- drivers/tty
- Inferred role
- Driver Families: operation-table or driver-model contract
- Status
- pattern 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.
- Defines an operation table; this is where Linux turns generic core objects into subsystem-specific behavior.
- 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/bitops.hlinux/module.hlinux/pci.hlinux/rational.hlinux/dmaengine.hlinux/dma/dw.h8250_dwlib.h
Detected Declarations
struct lpss8250struct lpss8250_boardstruct lpss8250function byt_set_termiosfunction byt_get_mctrlfunction byt_serial_setupfunction byt_serial_exitfunction ehl_serial_setupfunction ehl_serial_exitfunction qrk_serial_setup_dmafunction qrk_serial_exit_dmafunction qrk_serial_setup_dmafunction qrk_serial_exitfunction lpss8250_dma_filterfunction lpss8250_dma_setupfunction lpss8250_probefunction lpss8250_remove
Annotated Snippet
static struct pci_driver lpss8250_pci_driver = {
.name = "8250_lpss",
.id_table = pci_ids,
.probe = lpss8250_probe,
.remove = lpss8250_remove,
};
module_pci_driver(lpss8250_pci_driver);
MODULE_AUTHOR("Intel Corporation");
MODULE_LICENSE("GPL v2");
MODULE_DESCRIPTION("Intel LPSS UART driver");
Annotation
- Immediate include surface: `linux/bitops.h`, `linux/module.h`, `linux/pci.h`, `linux/rational.h`, `linux/dmaengine.h`, `linux/dma/dw.h`, `8250_dwlib.h`.
- Detected declarations: `struct lpss8250`, `struct lpss8250_board`, `struct lpss8250`, `function byt_set_termios`, `function byt_get_mctrl`, `function byt_serial_setup`, `function byt_serial_exit`, `function ehl_serial_setup`, `function ehl_serial_exit`, `function qrk_serial_setup_dma`.
- Atlas domain: Driver Families / drivers/tty.
- Implementation status: pattern implementation candidate.
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.