drivers/dma/amba-pl08x.c
Source file repositories/reference/linux-study-clean/drivers/dma/amba-pl08x.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/dma/amba-pl08x.c- Extension
.c- Size
- 82155 bytes
- Lines
- 3073
- Domain
- Driver Families
- Bucket
- drivers/dma
- 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.
- Touches IRQ or DMA behavior; this matters for the representative real-device path.
- 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/amba/bus.hlinux/amba/pl08x.hlinux/debugfs.hlinux/delay.hlinux/device.hlinux/dmaengine.hlinux/dmapool.hlinux/dma-mapping.hlinux/export.hlinux/init.hlinux/interrupt.hlinux/module.hlinux/of.hlinux/of_dma.hlinux/pm_runtime.hlinux/seq_file.hlinux/slab.hlinux/amba/pl080.hdmaengine.hvirt-dma.h
Detected Declarations
struct pl08x_driver_datastruct vendor_datastruct pl08x_bus_datastruct pl08x_phy_chanstruct pl08x_sgstruct pl08x_txdstruct pl08x_dma_chanstruct pl08x_driver_datastruct pl08x_lli_build_datastruct burst_tableenum pl08x_dma_chan_statefunction pl08x_request_muxfunction pl08x_release_muxfunction pl08x_phy_channel_busyfunction pl08x_write_llifunction pl08x_start_next_txdfunction pl08x_pause_phy_chanfunction pl08x_resume_phy_chanfunction pl08x_terminate_phy_chanfunction get_bytes_in_phy_channelfunction get_bytes_in_llifunction pl08x_getbytes_chanfunction pl08x_get_phy_channelfunction pl08x_put_phy_channelfunction pl08x_phy_alloc_and_startfunction pl08x_phy_reassign_startfunction pl08x_phy_freefunction pl08x_get_bytes_for_llifunction pl08x_lli_control_bitsfunction transferfunction pl08x_fill_lli_for_descfunction prep_byte_width_llifunction pl08x_dump_llifunction pl08x_dump_llifunction list_for_each_entryfunction pl08x_free_txdfunction list_for_each_entry_safefunction pl08x_desc_freefunction pl08x_free_txd_listfunction pl08x_free_chan_resourcesfunction dma_async_is_completefunction pl08x_select_busfunction pl08x_cctlfunction pl08x_widthfunction pl08x_burstfunction pl08x_get_cctlfunction pl08x_issue_pendingfunction pl08x_memcpy_cctl
Annotated Snippet
subsys_initcall(pl08x_init);
Annotation
- Immediate include surface: `linux/amba/bus.h`, `linux/amba/pl08x.h`, `linux/debugfs.h`, `linux/delay.h`, `linux/device.h`, `linux/dmaengine.h`, `linux/dmapool.h`, `linux/dma-mapping.h`.
- Detected declarations: `struct pl08x_driver_data`, `struct vendor_data`, `struct pl08x_bus_data`, `struct pl08x_phy_chan`, `struct pl08x_sg`, `struct pl08x_txd`, `struct pl08x_dma_chan`, `struct pl08x_driver_data`, `struct pl08x_lli_build_data`, `struct burst_table`.
- Atlas domain: Driver Families / drivers/dma.
- Implementation status: integration implementation candidate.
- Synchronization appears in or near this file; preserve lock ordering, sleepability, and interrupt-context constraints.
- 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.