RIO_LOP_READ(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… RIO_LOP_READ(9) β€” bestie's guide to the Kernel API Manual

okay so sit down, grab a strawberry πŸ“, because we're talking about RIO_LOP_READ and honestly? it's giving macro-that-does-your-homework-for-you energy. this is a page straight outta the Kernel API Manual and it's lowkey iconic πŸ’–

✨ NAME ✨

RIO_LOP_READ β€” the macro that generates all your rio_local_read_config_* functions ✨ like it literally births them, no cap. it's giving factory vibes πŸ­πŸ’…

πŸŽ€ SYNOPSIS πŸŽ€

RIO_LOP_READ (size , type , len );

that's it. three little args. so simple it hurts 😭🫢

πŸ¦‹ ARGUMENTS πŸ¦‹

  • size β€” the size of the configuration space read, in bits β€” and bestie, it's 8, 16, or 32 bits only, iykyk, don't get creative πŸ™ˆ
  • type β€” the C type of the value argument. like, what kind of little guy are we storing this in πŸ”₯
  • len β€” the length of the configuration space read, measured in bytes β€” that's 1, 2, or 4 bytes, periodt πŸ’€
ngl, the pairing is real: 8 bits ↔ 1 byte, 16 ↔ 2, 32 ↔ 4. the page says what it says, and what it says is exact 🌸

πŸ‘‘ DESCRIPTION πŸ‘‘

so the way this works is: RIO_LOP_READ generates the rio_local_read_config_* functions πŸ’« and those generated functions are the ones you use to access configuration space registers on the local device. local. as in your own device. main character energy, honestly πŸ‘‘

it doesn't do the read itself β€” it makes the functions that do. it's giving matchmaker, not the date πŸ’…βœ¨

🌈 SEE ALSO 🌈


okay that's the whole page, no gatekeeping πŸ’œ and for the sign-off: this lil masterpiece lives down in ./drivers/rapidio, dated October 2026, and it's filed under RIO_LOP_READ(9) β€” catch you in the next manpage, bestie, mwah πŸŽ€πŸ˜­πŸ’–

πŸ“¦ where this page comes from