ucsi_unregister(9)
π ucsi_unregister(9) β the kernel API manual, bestie edition π
Okay so real talk, we're cracking open ucsi_unregister from the Kernel API Manual, and honestly? It's giving "short but iconic." One tiny function, one big job. Let's get into it β¨
πΈ NAME πΈ
ucsi_unregister β unregister that UCSI interface, bestie. That's it. That's the whole vibe.
π¦ SYNOPSIS π¦
void ucsi_unregister (struct ucsi *ucsi );
No cap, that's the entire signature. Copy it exactly, the spacing is part of the fit π
π ARGUMENTS π
ucsiβ the UCSI interface you want unregistered. Like, the actual one. The one you're about to say bye to π«Ά
π DESCRIPTION π
So here's the tea: this function unregisters the UCSI interface that was created with ucsi_register. That's the whole story β it's basically the "undo" button for registering, and it's lowkey the cleanest little reverse operation you'll ever see. If you registered it, you unregister it. Main character energy, honestly π
π SEE ALSO π
The kernel file lives at ./drivers/usb/typec/ucsi/ucsi.c, and while you're in the neighborhood, go say hi to the whole friend group:
ucsi_connector_change(9)ucsi_init(9)ucsi_get_drvdata(9)ucsi_set_drvdata(9)ucsi_con_mutex_lock(9)ucsi_con_mutex_unlock(9)ucsi_create(9)ucsi_destroy(9)ucsi_register(9)
π Friendly reminder that this page is filed under ./drivers/usb/typec/ucsi and it's dated October 2026 β so yes, we're reading a manpage from the future, and it ate. Periodt. π§β¨π
That's the whole page, bestie β short, sweet, and every single fact intact. Stay slay, keep your pointers valid. ππ₯
π¦ 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