afu_mmio_region_add(9)
π afu_mmio_region_add(9) π
okay bestie, so this one lives in the Kernel API Manual and it is literally the function that adds an mmio region to a given feature dev. that's the whole vibe. let's get into it π
β¨ NAME β¨
afu_mmio_region_add β add a mmio region to given feature dev. π
πΈ SYNOPSIS πΈ
int afu_mmio_region_add (struct dfl_feature_dev_data *fdata , u32
region_index , u64 region_size , u64 phys , u32 flags );
π¦ ARGUMENTS π¦
fdataβ the afu feature dev data. like, the whole feature dev's data situation π«Άregion_indexβ the region index. which region are we talking about, bestie β¨region_sizeβ the region size. how big is it fr frphysβ the region's physical address of this region. yes, physical physical π₯flagsβ the region flags (access permission). aka who's allowed to do what π
β RETURN β
0 on success, negative error code otherwise. no cap β zero means slay, negative means something went sideways π
π SEE ALSO π
kernel file ./drivers/fpga/dfl-afu-region.c, plus the whole friend group:
afu_mmio_region_init(9)afu_mmio_region_destroy(9)afu_mmio_region_get_by_index(9)afu_mmio_region_get_by_offset(9)
go read those too, iykyk π
and that's the page, bestie!! this iconic lil entry comes to you from the source ./drivers/fpga and it's dated October 2026 β see u in the next manpage, 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