ksz8_ind_write8(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay so this page is from the Kernel API Manual, and today's main character is ksz8_ind_write8(9) β€” literally the EEE/ACL/PME indirect register write. no cap. 🫢✨

✨ SYNOPSIS ✨

int ksz8_ind_write8 (struct ksz_device *dev , u8 table , u16 addr , u8
       data );

🌸 ARGUMENTS 🌸

  • dev β€” the device structure. your device bestie, fr fr.
  • table β€” function & table select, register 110. iconic.
  • addr β€” indirect access control, register 111. slay.
  • data β€” the data to be written. that's the data to be written, periodt. πŸ’–

πŸ¦‹ DESCRIPTION πŸ¦‹

the vibe check: this function does an indirect register write for EEE, ACL or PME switch functionalities. the way it moves is lowkey clean β€” both 8-bit registers 110 and 111 are written at once with ksz_write16, using the serial multiple write functionality. it's giving β€œtwo registers, one write” and honestly? obsessed. πŸ’…βœ¨

πŸŽ€ RETURN πŸŽ€

0 on success, or an error code on failure. that's the whole return arc, bestie β€” minimal and iconic. 😌

πŸ”₯ SEE ALSO πŸ”₯

the kernel file is ./drivers/net/dsa/microchip/ksz8.c, and the squad is:


xoxo bestie πŸ’– this page is sourced from ./drivers/net/dsa/microchip, dated October 2026, and it's all about ksz8_ind_write8(9). periodt. 🫢🌈

πŸ“¦ where this page comes from