pruss_cfg_xfr_enable(9)
π pruss_cfg_xfr_enable(9) β from the Kernel API Manual, bestie β¨
Okay so picture this: you're deep in the kernel, you've got a PRUSS (that's the programmable real-time unit subsystem, iykyk), and you need to flip the XIN/XOUT shift thingy on or off. That's literally this function. One call, one little enable flag, and the shift functionality is either slaying or napping. π
β¨ NAME β¨
pruss_cfg_xfr_enable β enables or disables the XIN XOUT shift functionality. That's the whole job. No cap. π¦
πΈ SYNOPSIS πΈ
int pruss_cfg_xfr_enable (struct pruss *pruss , enum pru_type pru_type ,
bool enable );
Look at her. Three args, returns an int. Main character energy fr fr. π
π ARGUMENTS π
prussβ the pruss instance. Like, the one. Your whole PRUSS vibe lives here. π«Άpru_typeβ a PRU core type identifier. It tells the function which PRU core type we're talking about, because there's more than one and they're all iconic in their own way. βenableβ enable/disable. A humblebooldoing the heavy lifting:true-ish means turn it on,false-ish means turn it off. She's simple, she's powerful. π
π₯ RETURN π₯
Returns 0 on success, or an error code otherwise. So likeβ¦ check it, bestie. 0 is the good ending. Anything else is the kernel telling you something went sideways. π
π SEE ALSO π
The kernel file has the receipts: ./drivers/soc/ti/pruss.c β go read her, she ate. π
And the whole friend group:
struct pruss_private_data(9)pruss_get(9)pruss_put(9)pruss_request_mem_region(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)
lowkey go read those too, they're all part of the same little ecosystem and they'd be jealous if you only talked to this one π
π That's the whole page! Huge shoutout to ./drivers/soc/ti for hosting the source and to October 2026 for being the date on this bad girl. 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