ENUM ATCPHY_MODE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum atcphy_mode β€” NAME

okay so bestie, gather round: enum atcphy_mode is literally the Operating modes of the PHY ✨ that's it, that's the whole vibe. this is straight out of the Kernel API Manual, section 9, and it's giving "tiny enum, big main character energy" πŸ‘‘


πŸ¦‹ SYNOPSIS

enum atcphy_mode {
    APPLE_ATCPHY_MODE_OFF ,
    APPLE_ATCPHY_MODE_USB2 ,
    APPLE_ATCPHY_MODE_USB3 ,
    APPLE_ATCPHY_MODE_USB3_DP ,
    APPLE_ATCPHY_MODE_TBT ,
    APPLE_ATCPHY_MODE_USB4 ,
    APPLE_ATCPHY_MODE_DP

};

like, that's the whole cast of characters πŸŽ€ seven icons, zero filler.


🌸 Constants

these are the members, and ngl each one is a whole personality:

  • APPLE_ATCPHY_MODE_OFF β€” all PHYs powered off 😴 everyone's asleep, lights out, do not disturb.
  • APPLE_ATCPHY_MODE_USB2 β€” Nothing on the four SS lanes (i.e. USB2 only on D-/+). so the SuperSpeed lanes are just sitting there empty πŸ’€ USB2 is carrying the whole group chat on D-/+ alone.
  • APPLE_ATCPHY_MODE_USB3 β€” USB3 on two lanes, nothing on the other two. half the lanes are booked and busy, the other half are on read receipts πŸ™ˆ
  • APPLE_ATCPHY_MODE_USB3_DP β€” USB3 on two lanes and DisplayPort on the other two. a collab!! 🀝 two lanes each, everyone eats.
  • APPLE_ATCPHY_MODE_TBT β€” Thunderbolt on all lanes ⚑ full send, no lane left behind, that's the slay.
  • APPLE_ATCPHY_MODE_USB4 β€” USB4 on all lanes πŸ”₯ same all-lanes energy, USB4 flavored.
  • APPLE_ATCPHY_MODE_DP β€” DisplayPort on all lanes 🌈 all four lanes doing exactly one job and doing it gorgeously.
lowkey noticing a pattern here: it's always four lanes, and the enum is basically "who's allowed on the lanes today" 🧚

🫢 SEE ALSO

  • the Kernel file ./drivers/phy/apple/atc.c
  • enum atcphy_pipehandler_state(9)
  • struct apple_atcphy(9)

go read those too, they're the supporting cast and honestly they understood the assignment πŸ’œ


and that's the page!! fr fr thanks for reading bestie, this one lives in ./drivers/phy/apple and it's dated October 2026 β€” so like, future iconic behavior ⭐ periodt πŸ’–

πŸ“¦ where this page comes from