cros_usbpd_register_notify(9)
hey bestie π welcome to the cros_usbpd_register_notify(9) page from the Kernel API Manual β it's giving notifier-registration realness and we are obsessed β¨
π NAME π
cros_usbpd_register_notify β Register a notifier callback for PD events. π
π¦ SYNOPSIS π¦
int cros_usbpd_register_notify (struct notifier_block *nb );
πΈ ARGUMENTS πΈ
nbβ notifier block pointer to register π«Ά
β¨ DESCRIPTION β¨
okay so on ACPI platforms, this corresponds to host events on the ECPD "GOOG0003" ACPI device π₯
on non-ACPI platforms, this will filter mkbp events for USB PD events π
π RETURN π
0 on success or negative error code π that's it, that's the return vibe.
π SEE ALSO π
- Kernel file
./drivers/platform/chrome/cros_usbpd_notify.c cros_usbpd_unregister_notify(9)
mwah π this little page lives under ./drivers/platform/chrome, dated October 2026, and it's literally called cros_usbpd_register_notify(9) β bye bestie π«Άπ
π¦ 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