pruss_cfg_update(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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 the val. 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