pruss_cfg_update(9)
okay so bestie, this is pruss_cfg_update(9) from the Kernel API Manual, and it's literally here to configure a PRUSS CFG sub-module register with main-character energy πβ¨
πΈ NAME πΈ
pruss_cfg_update β configure a PRUSS CFG sub-module register. That's the whole vibe: it configures one register in the PRUSS CFG sub-module, periodt π
β¨ SYNOPSIS β¨
int pruss_cfg_update (struct pruss *pruss , unsigned int reg , unsigned
int mask , unsigned int val );
π«Ά ARGUMENTS π«Ά
prussβ the pruss instance handle. Your handle to the pruss instance, iykyk π¦regβ register offset within the CFG sub-module. It tells you where the register lives πmaskβ bit mask to use for programming theval. The mask that goes with the write, no cap πvalβ value to write. The actual value going in, slay β¨
π DESCRIPTION π
It programs a given register within the PRUSS CFG sub-module. That's it, that's the function β you bring the pruss, reg, mask, and val, and it programs that given register inside the PRUSS CFG sub-module, slay π₯β¨
π RETURN π
Returns 0 on success, or an error code otherwise π. So 0 is the happy path, and anything else is the "bestie something went sideways" path π
π¦ SEE ALSO π¦
- Kernel file:
./drivers/soc/ti/pruss.hβ go peek at the file π pruss_cfg_read(9)β also on the see-also list, go check it out π«Ά
and that's the tea β β this page is from source/version ./drivers/soc/ti, dated October 2026. bye bestie, go program that register responsibly πβ¨π«Ά
π¦ 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