oa_tc6_write_register_mms(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ oa_tc6_write_register_mms ✨

okay so bestie, this is a page from the Kernel API Manual and it's about oa_tc6_write_register_mms β€” literally the function for writing a MAC-PHY register in a specified memory map πŸ’… like that's the whole vibe.


πŸ¦‹ SYNOPSIS πŸ¦‹

int oa_tc6_write_register_mms (struct oa_tc6 *tc6 , u8 mms , u16 address
, u32 value );

yep, that's the signature, copied exactly, no notes πŸ“ four args, one int coming back at you.


πŸŽ€ ARGUMENTS πŸŽ€

  • tc6 β€” the oa_tc6 struct. your main character struct, fr 🫢
  • mms β€” Memory map selector for the register. iykyk, it picks which memory map you're poking 🌈
  • address β€” register address of the MAC-PHY to be written. the exact spot you're targeting, no cap πŸ“
  • value β€” value to be written in the address register address of the MAC-PHY. yes, that's the thing going into that register πŸ’–

🌸 RETURN 🌸

0 on success or a negative error code on failure. slay when it's 0, sad girl hours when it's negative 😭


⭐ SEE ALSO ⭐

Kernel file ./drivers/net/ethernet/oa_tc6.c β€” and the whole friend group:

like go read those too, they're all iconic in their own way πŸ‘‘


heads up bestie: that value description is worded exactly like the original, so if it reads a little twisty, that's the source's vibe, not mine 🫢

and that's the page!! source path ./drivers/net/ethernet, dated October 2026 β€” mwah, bye bestie πŸ’œπŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from