pruss_request_mem_region(9)
π pruss_request_mem_region π
okay so bestie, welcome to the Kernel API Manual entry for pruss_request_mem_region β yes it's a real function, yes it's a (9) section one, and yes we're gonna get through it together πΈ
β¨ NAME β¨
pruss_request_mem_region β request a memory resource π
β¨ SYNOPSIS β¨
int pruss_request_mem_region (struct pruss *pruss , enum pruss_mem
mem_id , struct pruss_mem_region *region );
like, look at that signature. it's giving "i would like one memory please" π
β¨ ARGUMENTS β¨
prussβ the pruss instance π¦ (the main character of this whole situation)mem_idβ the memory resource id β (which memory, bestie, be specific)regionβ pointer to the memory region structure to be filled in π (you hand it a box, it fills the box)
β¨ DESCRIPTION β¨
so here's the vibe: this function lets a client driver request a memory resource. and if it goes through β success, slay β the client driver owns that particular memory region until it gets released using the pruss_release_mem_region API. no cap, that's the whole loop. you ask, you get it, you own it, then you give it back π don't forget the giving back part please.
β¨ RETURN β¨
0if the requested memory region is available π₯³ β and in that case, a pointer to the memory region is returned viaregionπ- an error otherwise π
fr fr check that return value. 0 means you're up, anything else means the region wasn't available and you should not be out here acting like you own it π
β¨ SEE ALSO β¨
- Kernel file
./drivers/soc/ti/pruss.cπ struct pruss_private_data(9)pruss_get(9)pruss_put(9)pruss_release_mem_region(9)pruss_cfg_get_gpmux(9)pruss_cfg_set_gpmux(9)pruss_cfg_gpimode(9)pruss_cfg_miirt_enable(9)pruss_cfg_xfr_enable(9)
like, the whole friend group is here, iykyk π
and that's the page!! sourced from ./drivers/soc/ti, dated October 2026 β mwah, go request your memory region bestie, you got this πβ¨π
π¦ 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