__adis_reset(9)
π
__adis_reset(9) β Kernel API Manual
okay so bestie, welcome to __adis_reset π this is the unlocked version of the reset function, which is a whole vibe, and it lives in the Kernel API Manual. yes, we're in kernel land. bring a snack. π
β¨ NAME β¨
__adis_reset β Reset the device (unlocked version) π
like, the actual reset. of the device. and it's the unlocked one. iykyk. π
π¦ SYNOPSIS π¦
int __adis_reset (struct adis *adis );
that's it. that's the whole signature. int coming back atcha, and one little pointer going in. slay. β¨
πΈ ARGUMENTS πΈ
adisβ The adis device π the one and only thing you hand over. it's giving "main character energy" because it's literally the only argument. no cap.
π DESCRIPTION π
so here's the tea, bestie: this bad boy returns 0 on success, and a negative error code otherwise. π
that's the whole description fr fr. no secret paragraphs, no hidden lore. you call it, you check the return value, you move on with your iconic life. if it's 0, we celebrate π β if it's negative, that's your cue to go debug. π
ngl, "otherwise" is doing a lot of heavy lifting here, but that's exactly what the page says and we do not invent extra facts in this house. π
π SEE ALSO π
gather round for the friend group π«Ά these all live in the kernel file ./drivers/iio/imu/adis.c:
__adis_write_reg(9)__adis_read_reg(9)__adis_update_bits_base(9)__adis_enable_irq(9)__adis_check_status(9)__adis_initial_startup(9)adis_single_conversion(9)adis_init(9)
literally the whole adis extended universe π go read them, they're all right there in the same file. obsessed.
anyway that's the page!! π§ source/version is the kernel directory ./drivers/iio/imu, dated October 2026, and the page is __adis_reset(9) β mwah, bye bestie, go reset something ππΈπ
π¦ 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