ucsi_connector_change(9)
π ucsi_connector_change(9) π
okay so bestie, welcome to the Kernel API Manual β yes that's the manual name, we're fancy now π β and today's main character is ucsi_connector_change, which is literally Process Connector Change Event. that's the whole vibe of the NAME section, no cap β¨
β¨ SYNOPSIS β¨
void ucsi_connector_change (struct ucsi *ucsi , u8 num );
that's it. that's the signature. void return so nothing comes back to you, she just does the thing and leaves π«Ά
π ARGUMENTS π
ucsiβ the UCSI Interface π like, the whole interface object, the main character of the function fr frnumβ the Connector number π’ which connector we're talking about, bestie
π¦ SEE ALSO π¦
the kernel file lives at ./drivers/usb/typec/ucsi/ucsi.c and it's giving source-of-truth energy β¨ go read her, iykyk
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)ucsi_unregister(9)
like, the whole friend group π«Ά lock and unlock the connector mutex, get and set the drvdata, create and destroy, register and unregister β she's got her whole crew and you should meet them all, periodt π
ngl that's the entire page, babe β two arguments, one function, and a whole lot of kernel friends. go forth and process that connector change event πΈ
β and that's the wrap! brought to you by the source ./drivers/usb/typec/ucsi, version October 2026 β mwah, see you next manpage πππ
π¦ 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