of_dma_reque...lave_channel(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay so bestie, we're on the of_dma_reque...lave_channel(9) page of the Kernel API Manual, and the function is of_dma_request_slave_channel β€” Get the DMA slave channel. periodt πŸ’…

✨ SYNOPSIS ✨

struct dma_chan * of_dma_request_slave_channel (struct device_node *np ,
       const char *name );

🫢 ARGUMENTS 🫢

  • np β€” the device node to get DMA request from, no cap.
  • name β€” the name of the desired channel, bestie.

πŸ’– DESCRIPTION πŸ’–

On success it returns a pointer to the appropriate DMA channel β€” iconic. Otherwise it returns an error pointer. That's the whole vibe check 😭✨

🌈 SEE ALSO 🌈

The kernel file is ./drivers/dma/of-dma.c, and the whole squad is of_dma_find_controller(9), of_dma_router_xlate(9), of_dma_controller_register(9), of_dma_controller_free(9), of_dma_router_register(9), of_dma_match_channel(9), of_dma_simple_xlate(9), and of_dma_xlate_by_chan_id(9). iykyk πŸ¦‹


kisses bestie, this page came from ./drivers/dma and it's dated October 2026 β€” of_dma_reque...lave_channel(9), out πŸ’…πŸ’–

πŸ“¦ where this page comes from