drivers/tty/serial/sb1250-duart.c
Source file repositories/reference/linux-study-clean/drivers/tty/serial/sb1250-duart.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/tty/serial/sb1250-duart.c- Extension
.c- Size
- 24374 bytes
- Lines
- 966
- 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/compiler.hlinux/console.hlinux/delay.hlinux/errno.hlinux/init.hlinux/interrupt.hlinux/ioport.hlinux/kernel.hlinux/module.hlinux/major.hlinux/serial.hlinux/serial_core.hlinux/spinlock.hlinux/sysrq.hlinux/tty.hlinux/tty_flip.hlinux/types.hlinux/refcount.hlinux/io.hasm/sibyte/sb1250.hasm/sibyte/sb1250_uart.hasm/sibyte/swarm.hasm/sibyte/bcm1480_regs.hasm/sibyte/bcm1480_int.hasm/sibyte/sb1250_regs.hasm/sibyte/sb1250_int.h
Detected Declarations
struct sbd_portstruct sbd_duartfunction __read_sbdchnfunction __read_sbdshrfunction __write_sbdchnfunction __write_sbdshrfunction __war_sbd1956function read_sbdchnfunction read_sbdshrfunction write_sbdchnfunction write_sbdshrfunction sbd_receive_readyfunction sbd_receive_drainfunction sbd_transmit_readyfunction sbd_transmit_drainfunction sbd_transmit_emptyfunction sbd_line_drainfunction sbd_tx_emptyfunction sbd_get_mctrlfunction sbd_set_mctrlfunction sbd_stop_txfunction sbd_start_txfunction sbd_stop_rxfunction sbd_enable_msfunction sbd_break_ctlfunction sbd_receive_charsfunction sbd_transmit_charsfunction sbd_status_handlefunction sbd_interruptfunction sbd_startupfunction sbd_shutdownfunction sbd_init_portfunction sbd_set_termiosfunction sbd_release_portfunction sbd_map_portfunction sbd_request_portfunction sbd_config_portfunction sbd_verify_portfunction sbd_probe_duartsfunction sbd_console_putcharfunction sbd_console_writefunction sbd_console_setupfunction sbd_serial_console_initfunction sbd_initfunction sbd_exitmodule init sbd_init
Annotated Snippet
module_init(sbd_init);
module_exit(sbd_exit);
Annotation
- Immediate include surface: `linux/compiler.h`, `linux/console.h`, `linux/delay.h`, `linux/errno.h`, `linux/init.h`, `linux/interrupt.h`, `linux/ioport.h`, `linux/kernel.h`.
- Detected declarations: `struct sbd_port`, `struct sbd_duart`, `function __read_sbdchn`, `function __read_sbdshr`, `function __write_sbdchn`, `function __write_sbdshr`, `function __war_sbd1956`, `function read_sbdchn`, `function read_sbdshr`, `function write_sbdchn`.
- 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.