STRUCT DFL_AFU_MMIO_REGION(9)
π struct dfl_afu_mmio_region(9) β the kernel API manual, bestie edition β¨
okay so picture this: you're deep in the kernel API manual, section 9, and you've stumbled onto struct dfl_afu_mmio_region β literally the data structure that holds all the tea about an AFU's mmio region π. Yeah. That one. Let's get into it.
πΈ NAME πΈ
struct dfl_afu_mmio_region β the afu mmio region data structure. that's her. that's the whole vibe. π
β¨ SYNOPSIS β¨
here's the glow-up in code form, copied exactly because we do not edit source in this house π«Ά:
struct dfl_afu_mmio_region {
u32 index;
u32 flags;
u64 size;
u64 offset;
u64 phys;
struct list_head node;
};
look at that struct. main character energy, honestly. π
π Members π
every single field, no skips, no cuts β the way that a struct deserves a full breakdown fr fr:
indexβ the region index. it's giving "which one am I" π¦.flagsβ the region flags, aka the access permission situation. this is where she tells you what she's allowed to do π .sizeβ the region size. how much space she's taking up, and honestly same π.offsetβ the region offset from the start of the device fd. important detail, don't lose it, iykyk.physβ the region's physical address. her actual real-world location, no cap π.nodeβ the node you use to add her to the afu feature dev's region list. she's a linked-list girlie now π.
π¦ SEE ALSO π¦
go read these next, bestie, they're literally in the kernel file ./drivers/fpga/dfl-afu.h:
struct dfl_afu_dma_region(9)struct dfl_afu(9)
lowkey a reminder: this is a data structure page, so the whole plot is the members list. don't skip offset being measured from the start of the device fd β that's the detail that'll get you at 2am ππ.
and that's the page!! mwah π sign-off time: this slay of a manpage lives in ./drivers/fpga, dated October 2026, and it's filed under struct dfl_afu_mmio_region(9) β periodt. go forth and mmio responsibly ππ
π¦ 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