pruss_cfg_xfr_enable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 humble bool doing 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:

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