of_translate_dma_region(9)
π¦ 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 π
- Kernel file:
./drivers/of/address.c of_property_read_reg(9)of_dma_get_range(9)of_dma_get_max_cpu_address(9)of_dma_is_coherent(9)of_mmio_is_nonposted(9)of_address_to_resource(9)of_iomap(9)
signing off from ./drivers/of, dated October 2026 β periodt, mwah ππ
π¦ 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