RIO_LOP_READ(9)
π 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's8,16, or32bits 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's1,2, or4bytes, periodt π
ngl, the pairing is real:8bits β1byte,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 π
- kernel file
./drivers/rapidio/rio-access.cβ go read it bestie, it's right there π RIO_LOP_WRITE(9)β the write-side sibling π«ΆRIO_OP_READ(9)RIO_OP_WRITE(9)rio_mport_send_doorbell(9)β yes that's the real name and yes it ate π π
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
- 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