STRUCT VSC73XX_OPS(9)
β¨ NAME β¨
struct vsc73xx_ops β the VSC73xx methods container, bestie π
okay so this page lives in the Kernel API Manual, and the star of the show is struct vsc73xx_ops(9) β it's literally just a lil container holding the methods for VSC73xx. no cap, that's the whole vibe. π¦
π SYNOPSIS π
struct vsc73xx_ops {
int (*read)(struct vsc73xx *vsc, u8 block, u8 subblock, u8 reg, u32
*val);
int (*write)(struct vsc73xx *vsc, u8 block, u8 subblock, u8 reg, u32
val);
};
like, that's it. two function pointers. main character energy fr fr. π
πΈ Members πΈ
readβ the method for register reading over the hardware-dependent interface πβ¨ (yes, "hardware-dependent", meaning it's giving "the actual hardware decides how this goes" β iconic but you gotta provide it)writeβ the method for register writing over the hardware-dependent interface βοΈπ₯ (same deal, bestie β hardware-dependent interface, so it's on you to fill it in)
lowkey the whole struct is just these two pointers to functions you define, and that's the vibe check: read = get the register, write = set the register. both over that hardware-dependent interface. periodt. π
π¦ SEE ALSO π¦
- Kernel file
./drivers/net/dsa/vitesse-vsc73xx.hβ go read it, iykyk π struct vsc73xx_portinfo(9)struct vsc73xx(9)struct vsc73xx_bridge_vlan(9)
all the sibling structs, obsessed fr. go click through them like it's a group chat π
and that's the page, bestie π«Ά β brought to you by ./drivers/net/dsa, dated October 2026, and yes it's still struct vsc73xx_ops(9) at the bottom, slay π
π
π¦ 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