pruss_cfg_get_gpmux(9)
π 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 either0or1, 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 π
0on 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 π§ββοΈ
- Kernel file
./drivers/soc/ti/pruss.c struct pruss_private_data(9)pruss_get(9)pruss_put(9)pruss_request_mem_region(9)pruss_release_mem_region(9)pruss_cfg_set_gpmux(9)pruss_cfg_gpimode(9)pruss_cfg_miirt_enable(9)pruss_cfg_xfr_enable(9)
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'spruss_cfg_get_gpmux(9)all day every day β¨ slay, go read your mux value, and drink some water ππ«Άπ
π¦ 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