STRUCT SCI_POWER_CONTROL(9)
π struct sci_power_control(9) β like, the whole kernel API manual vibe β¨
okay so before we even start β yes bestie, this is a page from the Kernel API Manual, and yes it's about a struct. a real one. buckle up π
πΈ NAME πΈ
struct sci_power_control β and honestly? the original page leaves the description blank after that dash, so we're not gonna invent one. no cap, that's just how it is. moving on π
β¨ SYNOPSIS β¨
here's the whole thing, character for character, don't touch:
struct sci_power_control {
bool timer_started;
struct sci_timer timer;
u8 phys_waiting;
u8 phys_granted_power;
struct isci_phy *requesters[SCI_MAX_PHYS];
};
likeβ¦ look at her. five fields. main character energy fr fr π
π¦ Members π¦
the page literally just says "Members" and then doesn't list them individually, so here's the lineup from the synopsis itself, and that's all we're claiming:
bool timer_startedstruct sci_timer timeru8 phys_waitingu8 phys_granted_powerstruct isci_phy *requesters[SCI_MAX_PHYS]
that's it. that's the members. no extra lore, i'm not gonna make stuff up π
π Description π
okay so the actual tea: this structure defines the fields for managing power control for direct attached disk devices. that's the whole description, verbatim energy, and it's giving "small struct, big responsibilities" ngl π₯
so when you see timer_started and timer and phys_waiting and phys_granted_power and that requesters[SCI_MAX_PHYS] array β it's all in service of power control on those direct attached disk devices. slay π
π SEE ALSO π
go read these next, bestie, they're literally right there:
- Kernel file
./drivers/scsi/isci/host.h enum sci_controller_states(9)sci_controller_clear_invalid_phy(9)
iykyk π«Ά
reminder: ./drivers/scsi/isci is where this lives. go touch grass after, drink water, etc. πΈ
and that's the page!! source/version biz: ./drivers/scsi/isci, October 2026 β so mark your calendar, this struct is timeless, 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