iio_dummy_read_raw(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– iio_dummy_read_raw(9) πŸ’–

okay so bestie, this is iio_dummy_read_raw(9) from the Kernel API Manual, and it's literally the data read function. no cap, it's giving β€œI read raw data and I'm iconic about it” energy πŸ’…βœ¨


✨ NAME ✨

iio_dummy_read_raw β€” data read function. that's the whole vibe, periodt πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

here's the exact signature, bestie β€” copy it character-for-character or the kernel will side-eye you fr fr:

int iio_dummy_read_raw (struct iio_dev *indio_dev , struct iio_chan_spec const *chan , int *val , int *val2 , long mask );

πŸŽ€ ARGUMENTS πŸŽ€

  • indio_dev β€” the struct iio_dev associated with this device instance. main character context, iykyk πŸ’–
  • chan β€” the channel whose data is to be read. the specific little data lane we're obsessed with rn 🌸
  • val β€” first element of returned value (typically INT). slay, that's the first piece 🫢
  • val2 β€” second element of returned value (typically MICRO). yes bestie, there's a second element too πŸ’…
  • mask β€” what we actually want to read as per the info_mask_* in iio_chan_spec. ngl, this is the vibe check for the read πŸ‘‘

🌈 SEE ALSO 🌈

bestie, go look at these icons too:


okay bye bestie 🫢 this page is from source/version ./drivers/iio/dummy, dated October 2026, and it's literally iio_dummy_read_raw(9) β€” periodt πŸ’–βœ¨

πŸ“¦ where this page comes from