drivers/mmc/host/tifm_sd.c
Source file repositories/reference/linux-study-clean/drivers/mmc/host/tifm_sd.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/mmc/host/tifm_sd.c- Extension
.c- Size
- 28915 bytes
- Lines
- 1078
- Domain
- Driver Families
- Bucket
- drivers/mmc
- 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/tifm.hlinux/mmc/host.hlinux/highmem.hlinux/scatterlist.hlinux/module.hlinux/workqueue.hasm/io.h
Detected Declarations
struct tifm_sdfunction tifm_sd_read_fifofunction tifm_sd_write_fifofunction tifm_sd_transfer_datafunction tifm_sd_copy_pagefunction tifm_sd_bounce_blockfunction tifm_sd_set_dma_datafunction tifm_sd_op_flagsfunction tifm_sd_execfunction tifm_sd_fetch_respfunction tifm_sd_check_statusfunction tifm_sd_data_eventfunction tifm_sd_card_eventfunction tifm_sd_set_data_timeoutfunction tifm_sd_requestfunction tifm_sd_end_cmdfunction tifm_sd_abortfunction tifm_sd_iosfunction tifm_sd_rofunction tifm_sd_initialize_hostfunction tifm_sd_probefunction tifm_sd_removefunction tifm_sd_suspendfunction tifm_sd_resumefunction tifm_sd_initfunction tifm_sd_exitmodule init tifm_sd_init
Annotated Snippet
module_init(tifm_sd_init);
module_exit(tifm_sd_exit);
Annotation
- Immediate include surface: `linux/tifm.h`, `linux/mmc/host.h`, `linux/highmem.h`, `linux/scatterlist.h`, `linux/module.h`, `linux/workqueue.h`, `asm/io.h`.
- Detected declarations: `struct tifm_sd`, `function tifm_sd_read_fifo`, `function tifm_sd_write_fifo`, `function tifm_sd_transfer_data`, `function tifm_sd_copy_page`, `function tifm_sd_bounce_block`, `function tifm_sd_set_dma_data`, `function tifm_sd_op_flags`, `function tifm_sd_exec`, `function tifm_sd_fetch_resp`.
- Atlas domain: Driver Families / drivers/mmc.
- 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.