oa_tc6_write_register(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– oa_tc6_write_register(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual page for oa_tc6_write_register(9) β€” yes it's a whole mouthful, no I will not be shortening it, it's iconic and it knows it. Sit down, drink some water, and let's get into it 🫢


✨ NAME ✨

oa_tc6_write_register β€” literally the function for writing a MAC-PHY register. that's it. that's the whole thing. she writes, she slays πŸ’…


🌸 SYNOPSIS 🌸

int oa_tc6_write_register (struct oa_tc6 *tc6 , u32 address , u32 value
);

look at her go 😭 a whole int return, three little args, chef's kiss πŸŽ€


πŸ¦‹ ARGUMENTS πŸ¦‹

  • tc6 β€” the oa_tc6 struct. your main character struct fr fr, she's the whole context of the operation.
  • address β€” register address of the MAC-PHY to be written. it's giving "where are we going" energy.
  • value β€” the value to be written in the address register of the MAC-PHY. so address says where, value says what, and together they're a whole little match made in heaven ✨

πŸ‘‘ RETURN πŸ‘‘

  • 0 on success β€” yay, ate, no notes 🌈
  • otherwise failed πŸ’€ that's it, that's the contract. anything that isn't 0 means it did not work out.

πŸ”₯ SEE ALSO πŸ”₯

like a whole friend group honestly, and they all live in ./drivers/net/ethernet 🏑


okay so that's the page!! and before you go β€” this whole thing came to you courtesy of ./drivers/net/ethernet and it's dated October 2026, and it answers to the name oa_tc6_write_register(9). periodt πŸ’œπŸ§šβ€β™€οΈ go write some registers and be gorgeous about it ✨

πŸ“¦ where this page comes from