cros_ec_suspend(9)
β¨ cros_ec_suspend(9) β¨
okay so bestie, this one's a kernel API manual page (a manpage, iykyk) for cros_ec_suspend β we're in the 9 section, the kernel API one π«Ά. Let's get into it.
π¦ NAME π¦
cros_ec_suspend β Handle a suspend operation for the ChromeOS EC device.
Literally what it says on the tin: it's the suspend handler for the ChromeOS EC (embedded controller) device, and it's doing the absolute most to make suspend go smoothly π
πΈ SYNOPSIS πΈ
int cros_ec_suspend (struct cros_ec_device *ec_dev );
π ARGUMENTS π
ec_devβ Device to suspend. That's thestruct cros_ec_device *from the synopsis, and yes she is the main character here π
π DESCRIPTION π
This can be called by drivers to handle a suspend event. So if you're a driver and a suspend event shows up, this is the function you call to deal with it. No cap.
β RETURN β
0 always. That's right, bestie β always 0. Consistent queen π
π₯ SEE ALSO π₯
Kernel file ./drivers/platform/chrome/cros_ec.c and her whole friend group:
cros_ec_irq_handler(9)cros_ec_handle_event(9)cros_ec_irq_thread(9)cros_ec_register(9)cros_ec_unregister(9)cros_ec_suspend_prepare(9)cros_ec_suspend_late(9)cros_ec_resume_complete(9)cros_ec_resume_early(9)cros_ec_resume(9)
fr fr go read the whole set, they're all vibing in ./drivers/platform/chrome together π§
π okay that's the page!! source/version says ./drivers/platform/chrome, dated October 2026 β so future-coded of it π. mwah, bye bestie, go suspend something iconic β¨π¦π
π¦ 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