ucsi_connector_change(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 fr
  • num β€” 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

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