__udma_alloc_gp_rflow_range(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

__udma_alloc_gp_rflow_range β€” alloc range of GP RX flows

okay bestie, welcome to the Kernel API Manual entry for __udma_alloc_gp_rflow_range(9) πŸ’– this one is all about grabbing a range of GP RX flows, and yes it’s a kernel API thing β€” we love that for us ✨

✨ SYNOPSIS ✨

int __udma_alloc_gp_rflow_range (struct udma_dev *ud , int from , int
       cnt );

πŸŽ€ ARGUMENTS πŸŽ€

  • ud β€” UDMA device. That’s the device we’re working with, periodt πŸ’…
  • from β€” Start the search from this flow id number. Like, the starting point for the hunt πŸ”Ž
  • cnt β€” Number of consecutive flow ids to allocate. Gotta get that many in a row, no cap πŸ’―

πŸ’… DESCRIPTION πŸ’…

So the vibe is: allocate a range of RX flow ids for future use 🫢 those flows can be requested only using explicit flow id number β€” iykyk, explicit flow id number only.

If from is set to -1, it will try to find first free range πŸ‘‘ If from is positive value, it will force allocation only of the specified range of flows. Like, it’s giving β€œwe’re doing this exact range or nothing” πŸ’…

Returns -ENOMEM if can’t find free range 😭 -EEXIST if requested range is busy πŸ’€ -EINVAL if wrong input values passed πŸ™ˆ and it returns flow id on success 🌈✨

πŸ¦‹ SEE ALSO πŸ¦‹

okay bye bestie 🫢 this page’s source/version is ./drivers/dma/ti, dated October 2026, and it’s the manual entry for __udma_alloc_gp_rflow_range(9) β€” periodt πŸ’…

πŸ“¦ where this page comes from