STRUCT PHY_LED(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

struct phy_led β€” an LED that's driven by the PHY, and yes that's the whole vibe πŸ’… (this one's from the Kernel API Manual, bestie, keep up 🫢)


🌸 SYNOPSIS 🌸

okay so here's the shape of it, literally, no cap:

struct phy_led {
    struct list_head list;
    struct phy_device *phydev;
    struct led_classdev led_cdev;
    u8 index;
 };

πŸŽ€ Members πŸŽ€

  • list β€” it's a List of LEDs, the linked-list girly who knows everybody πŸ”₯
  • phydev β€” the PHY this LED is attached to, i.e. her main character πŸ’–
  • led_cdev β€” the Standard LED class structure, the classic, iconic, never-misses πŸŽ€
  • index β€” the Number of the LED, so like, which one she is in the lineup ✨

πŸ¦‹ SEE ALSO πŸ¦‹

so many siblings, she's got a whole extended family in the kernel file ./include/linux/phy.h, go say hi to all of them:


ngl bestie, that's the whole page β€” every member, every reference, nothing skipped, we ate and left no crumbs πŸ“

okay bye ily, this one lives in ./include/linux, dated October 2026, and it's struct phy_led(9) if you need to cite her later πŸ‘‘πŸ’œ

πŸ“¦ where this page comes from