ksz8_ind_write8(9)
π 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, register110. iconic.addrβ indirect access control, register111. 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:
ksz8_ind_read8(9)ksz879x_get_loopback(9)ksz879x_set_loopback(9)ksz8_r_phy_ctrl(9)ksz8_r_phy_bmcr(9)ksz8_w_phy_ctrl(9)ksz8_w_phy_bmcr(9)ksz88x3_tc_ets_add(9)ksz88x3_tc_ets_del(9)ksz8_phy_port_link_up(9)ksz8_cpu_port_link_up(9)ksz88x3_drive_strength_write(9)ksz8_parse_drive_strength(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms