drivers/pcmcia/cs.c
Source file repositories/reference/linux-study-clean/drivers/pcmcia/cs.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/pcmcia/cs.c- Extension
.c- Size
- 21650 bytes
- Lines
- 903
- Domain
- Driver Families
- Bucket
- drivers/pcmcia
- 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.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/module.hlinux/moduleparam.hlinux/init.hlinux/kernel.hlinux/string.hlinux/major.hlinux/errno.hlinux/slab.hlinux/mm.hlinux/interrupt.hlinux/timer.hlinux/ioport.hlinux/delay.hlinux/pm.hlinux/device.hlinux/kthread.hlinux/freezer.hasm/irq.hpcmcia/ss.hpcmcia/cistpl.hpcmcia/cisreg.hpcmcia/ds.hcs_internal.h
Detected Declarations
function pcmcia_put_socketfunction pcmcia_release_socketfunction pcmcia_register_socketfunction list_for_each_entryfunction pcmcia_unregister_socketfunction socket_resetfunction socket_setupfunction socket_setupfunction socket_insertfunction socket_suspendfunction socket_early_resumefunction socket_late_resumefunction socket_complete_resumefunction socket_resumefunction socket_removefunction socket_detect_changefunction pccarddfunction Yentafunction pcmcia_parse_ueventsfunction pccard_register_pcmciafunction pcmcia_reset_cardfunction pcmcia_socket_ueventfunction pcmcia_release_socket_classfunction __pcmcia_pm_opfunction pcmcia_socket_dev_suspend_noirqfunction pcmcia_socket_dev_resume_noirqfunction pcmcia_socket_dev_resumefunction pcmcia_socket_dev_completefunction init_pcmcia_csfunction exit_pcmcia_csmodule init init_pcmcia_csexport dead_socketexport pcmcia_socket_listexport pcmcia_socket_list_rwsemexport pcmcia_get_socketexport pcmcia_put_socketexport pcmcia_register_socketexport pcmcia_unregister_socketexport pcmcia_parse_eventsexport pcmcia_parse_ueventsexport pccard_register_pcmciaexport pcmcia_reset_cardexport pcmcia_socket_class
Annotated Snippet
subsys_initcall(init_pcmcia_cs);
module_exit(exit_pcmcia_cs);
Annotation
- Immediate include surface: `linux/module.h`, `linux/moduleparam.h`, `linux/init.h`, `linux/kernel.h`, `linux/string.h`, `linux/major.h`, `linux/errno.h`, `linux/slab.h`.
- Detected declarations: `function pcmcia_put_socket`, `function pcmcia_release_socket`, `function pcmcia_register_socket`, `function list_for_each_entry`, `function pcmcia_unregister_socket`, `function socket_reset`, `function socket_setup`, `function socket_setup`, `function socket_insert`, `function socket_suspend`.
- Atlas domain: Driver Families / drivers/pcmcia.
- 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.