of_dma_find_controller(9)
π NAME π
okay so bestie, welcome to of_dma_find_controller(9) from the Kernel API Manual β this one is literally βGet a DMA controller in DT DMA helpers list.β π
β¨
πΈ SYNOPSIS πΈ
struct of_dma * of_dma_find_controller (const struct of_phandle_args
*dma_spec );
π ARGUMENTS π
dma_specβ pointer to DMA specifier as found in the device tree π«Ά
β¨ DESCRIPTION β¨
So the way this works: it finds a DMA controller with matching device node and number for dma cells in a list of registered DMA controllers. ππ
If a match is found, a valid pointer to the DMA data stored is returned. If no match is found, a NULL pointer is returned. no cap, thatβs the whole vibe check ππ
π¦ SEE ALSO π¦
Kernel file ./drivers/dma/of-dma.c β and these iconic cross-refs, periodt:
of_dma_router_xlate(9)of_dma_controller_register(9)of_dma_controller_free(9)of_dma_router_register(9)of_dma_match_channel(9)of_dma_request_slave_channel(9)of_dma_simple_xlate(9)of_dma_xlate_by_chan_id(9)
mwah π this little page lives under ./drivers/dma and is dated October 2026 β bye bestie, go slay some DMA lookups ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms