__adis_reset(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… __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:

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