__adis_enable_irq(9)
π __adis_enable_irq (9) β a Kernel API Manual moment π
okay so bestie, we're in the Kernel API Manual today and this one is literally called __adis_enable_irq β she enables or disables the data ready IRQ, and the (unlocked) in her name is not a vibe, it's a warning label. iykyk π
β¨ NAME β¨
__adis_enable_irq β Enable or disable data ready IRQ (unlocked)
like yes she's iconic but she is unlocked, meaning no locking, meaning you better know what you're doing before you call her, fr fr π«Ά
π¦ SYNOPSIS π¦
int __adis_enable_irq (struct adis *adis , bool enable );
that's the whole signature, no cap β¨
π ARGUMENTS π
adisβ The adis device. she's the main character here, the whole struct you're passing in πenableβ Whether to enable the IRQ. abool, so it's giving yes/no, on/off, slay/not-slay πΈ
β DESCRIPTION β
Returns 0 on success, negative error code otherwise. that's it, that's the tea β ngl a short one, but she said everything she needed to say π
heads up bestie: the (unlocked) in the name is real β this is the unlocked version, so locking is your problem, not hers π
π SEE ALSO π
Kernel file ./drivers/iio/imu/adis.c plus the whole friend group:
__adis_write_reg(9)__adis_read_reg(9)__adis_update_bits_base(9)__adis_check_status(9)__adis_reset(9)__adis_initial_startup(9)adis_single_conversion(9)adis_init(9)
go read those too, they ate π
and that's the page, bestie!! π§ sourced straight from ./drivers/iio/imu, dated October 2026, and every single one of these references stays linked in the group chat β periodt ππβ¨
π¦ 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