of_dma_router_xlate(9)
β¨ NAME β¨
Okay so bestie, this is of_dma_router_xlate(9) from the Kernel API Manual π β literally the translation function for router devices. That's the whole vibe. π¦
β¨ SYNOPSIS β¨
Here's the signature, exactly as it lives, no cap:
struct dma_chan * of_dma_router_xlate (struct of_phandle_args *dma_spec
, struct of_dma *ofdma );
β¨ ARGUMENTS β¨
dma_specβ pointer to DMA specifier as found in the device tree π³ofdmaβ pointer to DMA controller data (router information) π°οΈ
β¨ DESCRIPTION β¨
The way this works: it creates a new dma_spec and passes it to the router driver's of_dma_route_allocate function. That function is there to prepare a dma_spec that will then be used to request a channel from the real DMA controller. Periodt. π
β¨ SEE ALSO β¨
- Kernel file
./drivers/dma/of-dma.c of_dma_find_controller(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)
xoxo, your Kernel API Manual bestie π
β source/version: ./drivers/dma, dated October 2026, page of_dma_router_xlate(9). Slay. π
π¦ 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