cros_usbpd_register_notify(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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 🌈


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