__adis_write_reg_8(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… __adis_write_reg_8 (9) β€” from the Kernel API Manual, bestie

Okay so picture this: you're deep in kernel land, you've got an adis device in front of you, and you just need to yeet one single byte into one single register. That's it. That's the whole gig. This is the unlocked version, so no lock hand-holding β€” you're on your own, main character energy ✨


πŸŽ€ NAME πŸŽ€

__adis_write_reg_8 β€” writes a single byte to a register, and yes it's the unlocked one, no cap 🫢


🌸 SYNOPSIS 🌸

int __adis_write_reg_8 (struct adis *adis , unsigned int reg , u8 val );

✨ ARGUMENTS ✨

  • adis β€” your adis device πŸ’– like, the actual thing you're poking.
  • reg β€” the address of the register you wanna write to. The destination, the vibe, the spot.
  • val β€” the value you're writing. One byte. An actual u8. Make it count πŸ¦‹

🌈 RETURN 🌈

0 on success β€” slay πŸ’… β€” or a negative error code otherwise 😭 (that's your cue to go investigate, bestie).


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./include/linux/iio/imu/adis.h, plus the whole friend group:

Like, the whole squad is here. iykyk πŸ’œ


Lowkey reminder: this one is unlocked, so lock it yourself if you need locking β€” that's the whole reason the underscores are there, bestie πŸ™ˆ

That's the whole page, and it came from ./include/linux/iio/imu, dated October 2026, filed under __adis_write_reg_8(9) β€” mwah, go write that byte πŸ’–πŸŽ€βœ¨

πŸ“¦ where this page comes from