arch/arm/mach-rpc/dma.c
Source file repositories/reference/linux-study-clean/arch/arm/mach-rpc/dma.c
File Facts
- System
- Linux kernel
- Corpus path
arch/arm/mach-rpc/dma.c- Extension
.c- Size
- 8710 bytes
- Lines
- 394
- Domain
- Architecture Layer
- Bucket
- arch/arm
- Inferred role
- Architecture Layer: exported/initcall integration point
- Status
- integration implementation candidate
Why This File Exists
CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
- CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
- 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/mman.hlinux/init.hlinux/interrupt.hlinux/dma-mapping.hlinux/io.hasm/page.hasm/dma.hasm/fiq.hasm/irq.hmach/hardware.hlinux/uaccess.hasm/mach/dma.hasm/hardware/iomd.h
Detected Declarations
struct iomd_dmastruct floppy_dmafunction iomd_get_next_sgfunction iomd_dma_handlefunction iomd_request_dmafunction iomd_free_dmafunction iomd_enable_dmafunction iomd_disable_dmafunction iomd_set_dma_speedfunction floppy_enable_dmafunction floppy_disable_dmafunction floppy_get_residuefunction sound_enable_disable_dmafunction rpc_dma_initmodule init rpc_dma_init
Annotated Snippet
core_initcall(rpc_dma_init);
Annotation
- Immediate include surface: `linux/mman.h`, `linux/init.h`, `linux/interrupt.h`, `linux/dma-mapping.h`, `linux/io.h`, `asm/page.h`, `asm/dma.h`, `asm/fiq.h`.
- Detected declarations: `struct iomd_dma`, `struct floppy_dma`, `function iomd_get_next_sg`, `function iomd_dma_handle`, `function iomd_request_dma`, `function iomd_free_dma`, `function iomd_enable_dma`, `function iomd_disable_dma`, `function iomd_set_dma_speed`, `function floppy_enable_dma`.
- Atlas domain: Architecture Layer / arch/arm.
- 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.