of_dma_find_controller(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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:


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