of_dma_get_max_cpu_address(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– of_dma_get_max_cpu_address(9) πŸ’–

okay so this is the Kernel API Manual page for of_dma_get_max_cpu_address(9) β€” yes bestie, we're in kernel-land and it's giving device-tree energy 🌳✨


🌸 NAME 🌸

of_dma_get_max_cpu_address β€” gets the highest CPU address suitable for DMA.

πŸŽ€ SYNOPSIS πŸŽ€

phys_addr_t of_dma_get_max_cpu_address (struct device_node *np );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • np β€” the node to start searching from, or NULL to start from the root.

✨ DESCRIPTION ✨

So here's the vibe: this function gets the highest CPU physical address that is addressable by all DMA masters in the sub-tree pointed to by np β€” or the whole tree if NULL is passed. 🌈

If no DMA constrained device is found, it returns PHYS_ADDR_MAX. That's the whole story, no cap. πŸ’…

πŸ‘‘ SEE ALSO πŸ‘‘


and that's the page, bestie 🫢 source/version: ./drivers/of, dated October 2026, manual tag of_dma_get_max_cpu_address(9) β€” periodt. πŸ’–

πŸ“¦ where this page comes from