drivers/dma/ti/k3-udma-glue.c
Source file repositories/reference/linux-study-clean/drivers/dma/ti/k3-udma-glue.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/dma/ti/k3-udma-glue.c- Extension
.c- Size
- 43962 bytes
- Lines
- 1586
- 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/module.hlinux/atomic.hlinux/delay.hlinux/dma-mapping.hlinux/io.hlinux/init.hlinux/of.hlinux/platform_device.hlinux/soc/ti/k3-ringacc.hlinux/dma/ti-cppi5.hlinux/dma/k3-udma-glue.hk3-udma.hk3-psil-priv.h
Detected Declarations
struct k3_udma_glue_commonstruct k3_udma_glue_tx_channelstruct k3_udma_glue_rx_flowstruct k3_udma_glue_rx_channelfunction k3_udma_chan_dev_releasefunction of_k3_udma_glue_parsefunction of_k3_udma_glue_parse_chn_commonfunction of_k3_udma_glue_parse_chnfunction of_k3_udma_glue_parse_chn_by_idfunction k3_udma_glue_dump_tx_chnfunction k3_udma_glue_dump_tx_rt_chnfunction k3_udma_glue_cfg_tx_chnfunction k3_udma_glue_request_tx_chn_commonfunction k3_udma_glue_request_tx_chnfunction k3_udma_glue_request_tx_chn_for_thread_idfunction k3_udma_glue_release_tx_chnfunction k3_udma_glue_push_tx_chnfunction k3_udma_glue_pop_tx_chnfunction k3_udma_glue_enable_tx_chnfunction k3_udma_glue_disable_tx_chnfunction k3_udma_glue_tdown_tx_chnfunction k3_udma_glue_reset_tx_chnfunction k3_udma_glue_tx_get_hdesc_sizefunction k3_udma_glue_tx_get_txcq_idfunction k3_udma_glue_tx_get_irqfunction k3_udma_glue_tx_get_dma_devicefunction k3_udma_glue_tx_dma_to_cppi5_addrfunction k3_udma_glue_tx_cppi5_to_dma_addrfunction k3_udma_glue_cfg_rx_chnfunction k3_udma_glue_release_rx_flowfunction k3_udma_glue_cfg_rx_flowfunction k3_udma_glue_dump_rx_chnfunction k3_udma_glue_dump_rx_rt_chnfunction k3_udma_glue_allocate_rx_flowsfunction k3_udma_glue_request_rx_chn_privfunction k3_udma_glue_request_remote_rx_chn_commonfunction k3_udma_glue_request_remote_rx_chnfunction k3_udma_glue_request_remote_rx_chn_for_thread_idfunction k3_udma_glue_request_rx_chnfunction k3_udma_glue_release_rx_chnfunction k3_udma_glue_rx_flow_initfunction k3_udma_glue_rx_flow_get_fdq_idfunction k3_udma_glue_rx_get_flow_id_basefunction k3_udma_glue_rx_flow_enablefunction k3_udma_glue_rx_flow_disablefunction k3_udma_glue_enable_rx_chnfunction k3_udma_glue_disable_rx_chnfunction k3_udma_glue_tdown_rx_chn
Annotated Snippet
module_init(k3_udma_glue_class_init);
MODULE_DESCRIPTION("TI K3 NAVSS DMA glue interface");
MODULE_LICENSE("GPL v2");
Annotation
- Immediate include surface: `linux/module.h`, `linux/atomic.h`, `linux/delay.h`, `linux/dma-mapping.h`, `linux/io.h`, `linux/init.h`, `linux/of.h`, `linux/platform_device.h`.
- Detected declarations: `struct k3_udma_glue_common`, `struct k3_udma_glue_tx_channel`, `struct k3_udma_glue_rx_flow`, `struct k3_udma_glue_rx_channel`, `function k3_udma_chan_dev_release`, `function of_k3_udma_glue_parse`, `function of_k3_udma_glue_parse_chn_common`, `function of_k3_udma_glue_parse_chn`, `function of_k3_udma_glue_parse_chn_by_id`, `function k3_udma_glue_dump_tx_chn`.
- 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.