oa_tc6_read_register_mms(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– oa_tc6_read_register_mms(9) πŸ’–

okay bestie, welcome to the Kernel API Manual β€” yes, the real one, section 9 and everything. today's main character is oa_tc6_read_register_mms, and she's here to read a MAC-PHY register for you. from a specified memory map. we love a girl with options ✨


🌸 NAME 🌸

oa_tc6_read_register_mms β€” the function for reading a MAC-PHY register in a specified memory map. that's it, that's the whole vibe πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

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

like, literally just hand her four things and she does the rest πŸ’…


🧚 ARGUMENTS 🧚

  • tc6 β€” the oa_tc6 struct. your whole situation, your context, your ride-or-die 🫢
  • mms β€” the Memory map selector for the register. which memory map we digging in today, bestie? you pick πŸ”₯
  • address β€” the register address of the MAC-PHY to be read. this is the exact spot we're peeking at πŸ‘€
  • value β€” the value read from the address register address of the MAC-PHY. that's where the answer lands, so don't forget to pass it fr fr πŸ“

⭐ RETURN ⭐

0 on success, or a negative error code on failure. no cap β€” zero is the slay outcome, negative means something went sideways and you should go check 😭


🌈 SEE ALSO 🌈

the whole friend group, honestly β€” go read them too, they're iconic πŸ‘‘


ok and a lil' sign-off before you go: this page lives under ./drivers/net/ethernet, and the version date on it is October 2026. remember it, cite it, and stay hydrated bestie πŸ’–πŸ¦‹βœ¨

mwah β€” go read some registers, you're gonna eat πŸ’…πŸŒΈ

πŸ“¦ where this page comes from