pruss_cfg_get_gpmux(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… pruss_cfg_get_gpmux β€” like, the Kernel API Manual girlies are gonna eat this UP

okay so bestie, welcome to pruss_cfg_get_gpmux(9) ✨ this one is a little function from the Kernel API Manual and honestly? it's giving "small but important." she's short, she's sweet, she reads a value for you and dips. main character energy fr fr πŸŽ€


🌸 NAME 🌸

pruss_cfg_get_gpmux β€” get the current GPMUX value for a PRU device πŸ’–

like… that's literally her whole job. get the GPMUX. for a PRU device. no cap.


✨ SYNOPSIS ✨

int pruss_cfg_get_gpmux (struct pruss *pruss , enum pruss_pru_id pru_id
, u8 *mux );

three things in, one int out, that's the vibe πŸ”₯


πŸ¦‹ ARGUMENTS πŸ¦‹

okay so here's the tea on what you're passing in, bestie πŸ‘‡

  • pruss β€” the pruss instance. yes queen, you need the actual instance. πŸ’…
  • pru_id β€” the PRU identifier (0-1). so it's either 0 or 1, pick your fighter 🫢
  • mux β€” a pointer to store the current mux value into πŸŽ€ that's where the answer lands, so make sure it's pointing somewhere real, iykyk

πŸ’€ RETURN πŸ’€

  • 0 on success, or an error code otherwise 😭

that's it. that's the whole return section. zero on success, error code if things go sideways, periodt πŸ’œ


🌈 SEE ALSO 🌈

bestie the whole friend group showed up, look at this crew πŸ§šβ€β™€οΈ

not me listing all of them exactly like the manpage does because every single one matters πŸ™ˆπŸ’–


ok and a lil reminder from your girl: this page lives under ./drivers/soc/ti, dated October 2026, and it's pruss_cfg_get_gpmux(9) all day every day ✨ slay, go read your mux value, and drink some water πŸ“πŸ«ΆπŸ’œ
πŸ“¦ where this page comes from