rio_local_read_config_32(9)
π rio_local_read_config_32(9) β like, the Kernel API Manual one, bestie
okay so picture this: it's a 9-section kernel API page, the title is rio_local_read_config_32, and it's giving "tiny function, big responsibility." come sit with me π
β¨ NAME β¨
rio_local_read_config_32 β read 32 bits from local configuration space. that's it, that's the whole vibe. thirty-two bits. local. configuration space. slay.
π¦ SYNOPSIS π¦
int rio_local_read_config_32 (struct rio_mport *port , u32 offset , u32
* data );
look at her. int return, three args, no cap. the signature literally wraps onto two lines and she still ate. π
πΈ ARGUMENTS πΈ
three of them, bestie, and you will be meeting all three:
portβ the master port. like, the main character of this whole operation π«Άoffsetβ the offset into local configuration space. where the reading happens. iykyk β¨dataβ pointer to read data into. she's empty right now, but not for long π
π DESCRIPTION π
okay so the whole thing is literally this: it reads 32 bits of data from the specified offset within the local device's configuration space. that's the tea. that's the entire plot. thirty-two bits, from the offset you named, out of the local device's own config space. no drama, no surprises β just a clean 32-bit read and honestly? iconic. π₯
π§ SEE ALSO π§
the whole friend group shows up for this one β kernel file ./include/linux/rio_drv.h, plus every cousin, sibling and distant relative:
rio_local_write_config_32(9)rio_local_read_config_16(9)rio_local_write_config_16(9)rio_local_read_config_8(9)rio_local_write_config_8(9)rio_read_config_32(9)rio_write_config_32(9)rio_read_config_16(9)rio_write_config_16(9)rio_read_config_8(9)rio_write_config_8(9)rio_send_doorbell(9)rio_init_mbox_res(9)rio_init_dbell_res(9)RIO_DEVICE(9)rio_add_outb_message(9)rio_add_inb_buffer(9)rio_get_inb_message(9)rio_name(9)rio_get_drvdata(9)rio_set_drvdata(9)
twenty-one references. she brought the whole group chat. π
for real though β if you're poking at RapidIO config space, read your 32 bits responsibly and go read the 8- and 16-bit versions too when the width matters. π
and that's the page, bestie!! π shipped from the <pink>./include/linux</pink> source, dated <purple>October 2026</purple> β it's giving <rainbow>rio_local_read_config_32(9)</rainbow>, forever and periodt π
βπ
π¦ 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