ENUM ATCPHY_MODE(9)
π 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
- 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