arc_reg_set(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… arc_reg_set β€” the little register-setter that could ✨

okay so bestie, welcome to the arc_reg_set(9) page from the Kernel API Manual πŸŽ€ this is the part where we teach a tiny kernel function to write a value into an EMAC register, and honestly? it's giving "small but iconic". πŸ‘‘


🌸 NAME 🌸

arc_reg_set β€” sets an EMAC register with the value you hand it. literally that's the whole job and she does it with main character energy πŸ’–


✨ SYNOPSIS ✨

void arc_reg_set (struct arc_emac_priv *priv , int reg , int value );

no cap, that's the signature β€” returns void, takes three things, done. 🫢


πŸ’… ARGUMENTS πŸ’…

  • priv β€” a pointer to the ARC EMAC private data structure. like, the whole vibe of the device lives in there 🌈
  • reg β€” the register offset from the base address. this is which register we're talking to, iykyk πŸ“
  • value β€” the value to set in that register. the actual payload, the moment, the slay πŸ’€βœ¨

πŸ¦‹ SEE ALSO πŸ¦‹

go read those too, bestie β€” the whole friend group is iconic πŸ‘―β€β™€οΈ


⭐ friendly reminder: everything above is exactly what the page says, no extras, no invented behaviour. if you need to know how it sets the register, that's a different page's problem πŸ™ˆ

and that's a wrap on this one 🌸 this page came from ./drivers/net/ethernet/arc and it's dated October 2026, so like… mark your calendars, periodt. πŸ’œ

πŸ“¦ where this page comes from