__udma_alloc_gp_rflow_range(9)
πΈ 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 π¦
- Kernel file
./drivers/dma/ti/k3-udma.c udma_get_tr_counters(9)
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
- 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