drivers/s390/char/con3270.c
Source file repositories/reference/linux-study-clean/drivers/s390/char/con3270.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/s390/char/con3270.c- Extension
.c- Size
- 52475 bytes
- Lines
- 2181
- Domain
- Driver Families
- Bucket
- drivers/s390
- 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.
- 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/module.hlinux/types.hlinux/kdev_t.hlinux/tty.hlinux/vt_kern.hlinux/init.hlinux/console.hlinux/interrupt.hlinux/workqueue.hlinux/panic_notifier.hlinux/reboot.hlinux/slab.hlinux/memblock.hasm/machine.hasm/ccwdev.hasm/cio.hasm/ebcdic.hasm/cpcmd.hlinux/uaccess.hraw3270.hkeyboard.h
Detected Declarations
struct tty3270_attributestruct tty3270_cellstruct tty3270_linestruct tty3270function tty3270_set_timerfunction tty3270_tty_rowsfunction tty3270_line_incrementfunction tty3270_input_sizefunction tty3270_update_promptfunction tty3270_add_promptfunction tty3270_add_statusfunction tty3270_blank_screenfunction tty3270_write_callbackfunction tty3270_required_lengthfunction tty3270_graphics_translatefunction tty3270_reset_attributesfunction tty3270_convert_linefunction tty3270_update_lines_visiblefunction tty3270_update_lines_allfunction tty3270_updatefunction tty3270_rcl_addfunction tty3270_rcl_backwardfunction tty3270_exit_ttyfunction tty3270_redrawfunction tty3270_scroll_forwardfunction tty3270_scroll_backwardfunction tty3270_read_taskletfunction tty3270_read_callbackfunction tty3270_issue_readfunction tty3270_hangup_taskletfunction tty3270_activatefunction tty3270_deactivatefunction tty3270_irqfunction tty3270_free_viewfunction tty3270_free_recallfunction tty3270_free_screenfunction tty3270_resizefunction tty3270_releasefunction tty3270_freefunction tty3270_del_viewsfunction tty3270_create_viewfunction tty3270_installfunction tty3270_openfunction tty3270_closefunction tty3270_cleanupfunction tty3270_write_roomfunction tty3270_put_characterfunction tty3270_cr
Annotated Snippet
module_init(tty3270_init);
module_exit(tty3270_exit);
Annotation
- Immediate include surface: `linux/module.h`, `linux/types.h`, `linux/kdev_t.h`, `linux/tty.h`, `linux/vt_kern.h`, `linux/init.h`, `linux/console.h`, `linux/interrupt.h`.
- Detected declarations: `struct tty3270_attribute`, `struct tty3270_cell`, `struct tty3270_line`, `struct tty3270`, `function tty3270_set_timer`, `function tty3270_tty_rows`, `function tty3270_line_increment`, `function tty3270_input_size`, `function tty3270_update_prompt`, `function tty3270_add_prompt`.
- Atlas domain: Driver Families / drivers/s390.
- Implementation status: integration implementation candidate.
- Synchronization appears in or near this file; preserve lock ordering, sleepability, and interrupt-context constraints.
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.