rio_read_config_8(9)
π rio_read_config_8 β a Kernel API Manual moment (section 9, bestie)
okay so picture this: you're deep in the kernel, you're in the Kernel API Manual, and you need exactly eight little bits out of a RIO device's config space. that's the whole gig. the function is rio_read_config_8 and honestly? she's iconic for it. π
β¨ NAME β¨
rio_read_config_8 β reads 8 bits from configuration space, no cap π§
πΈ SYNOPSIS πΈ
int rio_read_config_8 (struct rio_dev *rdev , u32 offset , u8 * data );
π¦ ARGUMENTS π¦
rdevβ the RIO device, your main character πoffsetβ where you're looking, like, the offset into the device's configuration spacedataβ pointer to read data into; that's where the eight bits land, periodt
π DESCRIPTION π
so basically: it reads 8 bits of data from the offset you specified, inside the RIO device's configuration space. that's it, that's the vibe. small, focused, does exactly what it says on the label. slay. β¨
π SEE ALSO π
kernel file ./include/linux/rio_drv.h β plus the whole friend group, and yes you're gonna hear about all of them:
rio_local_read_config_32(9)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_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)
lowkey important: the doc lives under ./include/linux, and this whole page is dated October 2026. bookmark it, you'll be back. π
okay bye bestie, go read your eight bits π₯π«Ά
π¦ 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