STRUCT CI_HDRC_CABLE(9)
π NAME π
struct ci_hdrc_cable β the struct that keeps track of what's up with your external connector cable, bestie. it's literally the vibe check for your cable state β¨
π SYNOPSIS π
struct ci_hdrc_cable {
bool connected;
bool changed;
bool enabled;
struct extcon_dev *edev;
struct ci_hdrc *ci;
struct notifier_block nb;
};
okay so that's the whole thing β six members, no cap. let's get into what each one is doing π
π¦ Members π¦
connectedβtruewhen the cable is connected,falsewhen it's not. that's it, that's the whole personality πΈchangedβ gets set totruewhen an extcon event happens. it's giving "hey something moved" energy πenabledβtrueif we've enabled thevbusoridinterrupt. so like, the int is awake and doing its thing π₯edevβ the device that generates the events. main character of the event-having world, fr fr πciβ driver state of the chipidea device. the big picture context, iykyk πnbβ holds the event notification callback. it's the little holder for the callback, lowkey important π
π SEE ALSO π
Kernel file ./include/linux/usb/chipidea.h β go read it, bestie, it's iconic β
and that's the whole page!! π«Ά this one lives over in ./include/linux/usb, dated October 2026, and it's literally called struct ci_hdrc_cable(9) β 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