of_translate_dma_region(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ of_translate_dma_region(9) πŸ¦‹

okay so bestie, welcome to the of_translate_dma_region(9) page from the Kernel API Manual β€” this is the one where we translate a device tree address and size tuple, and it’s lowkey iconic ✨


πŸŽ€ NAME πŸŽ€

of_translate_dma_region β€” Translate device tree address and size tuple πŸ’–


✨ SYNOPSIS ✨

const __be32 * of_translate_dma_region (struct device_node *dev , const
__be32 *prop , phys_addr_t *start , size_t *length );

🌸 ARGUMENTS 🌸

  • dev β€” device tree node for which to translate, no cap 🫢
  • prop β€” pointer into array of cells, literally πŸ’…
  • start β€” return value for the start of the DMA range ✨
  • length β€” return value for the length of the DMA range πŸ’–

🧚 DESCRIPTION 🧚

okay so here’s the tea: it returns a pointer to the cell immediately following the translated DMA region β€” that’s the whole vibe, bestie πŸ’…


🌈 SEE ALSO 🌈


signing off from ./drivers/of, dated October 2026 β€” periodt, mwah πŸ’‹πŸ‘‘

πŸ“¦ where this page comes from