i2c_handle_smbus_alert(9)
β¨ i2c_handle_smbus_alert(9) β¨
okay bestie, welcome to the Kernel API Manual π this one's a little helper from the i2c world and it's honestly so real of it. let's get into it π
π NAME π
i2c_handle_smbus_alert β Handle an SMBus alert
like, the whole personality is right there in the name, no cap π¦
πΈ SYNOPSIS πΈ
int i2c_handle_smbus_alert (struct i2c_client *ara );
she takes one thing and returns an int, periodt π
π ARGUMENTS π
araβ the ARA client on the relevant adapter. that's it, that's the whole argument list, she's lowkey low-maintenance π
π§ CONTEXT π§
can't sleep π
fr fr β this one runs in a context where sleeping is not allowed, so don't even think about it bestie π
π DESCRIPTION π
okay so this is a helper function, and the way it works is you call it from an I2C bus driver's interrupt handler π«Ά
it will schedule the alert work, which in turn calls the corresponding I2C device driver's alert function β¨ like it's passing the message along, main character energy all the way down the chain π
and it's assumed that ara is a valid i2c client previously returned by i2c_new_smbus_alert_device β so don't just be handing her any random thing, she trusts you on this one π
π SEE ALSO π
- Kernel file
./drivers/i2c/i2c-smbus.c i2c_new_slave_host_notify_device(9)i2c_free_slave_host_notify_device(9)
iykyk, go read those next π
and that's the whole page bestie, no notes π
this gem lives in ./drivers/i2c and the version vibes are dated October 2026 β catch you in the next manpage, mwah πππ¦
π¦ 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