of_fpga_region_parse_ov(9)
π of_fpga_region_parse_ov(9) β¨
okay so like, welcome to the Kernel API Manual, section 9 β yes bestie, this is the of_fpga_region_parse_ov page and it is literally the moment. grab a boba, we're parsing overlays π§
π NAME π
of_fpga_region_parse_ov β parses and checks an overlay that got applied to a region, no cap π
πΈ SYNOPSIS πΈ
struct fpga_image_info * of_fpga_region_parse_ov (struct fpga_region
*region , struct device_node *overlay );
yep that's the whole signature, she's giving function-returns-a-pointer-to-struct fpga_image_info, iconic π
π¦ ARGUMENTS π¦
regionβ the FPGA region π«Ά like, the whole vibe arena we're working inoverlayβ the overlay that got applied to the FPGA region β¨ the guest of honor
π₯ DESCRIPTION π₯
okay so picture this: you've got an overlay that's been applied to an FPGA region. what do we do? we parse the FPGA image specific info in the overlay and then do some checking. that's the whole bit. parsing + checking. lowkey the backbone of the operation π
like, the function looks at what the overlay is telling us about the FPGA image, pulls that info out, and gives it a lil vibe check before anyone commits to anything π
β RETURN β
NULLβ when the overlay doesn't direct us to program the FPGA π«₯ (like, we're not doing that today bestie, thanks tho)- an
fpga_image_infostruct β when there is an image to program π that's the good stuff - an error code β when the overlay is invalid π yeah that's a problem
π SEE ALSO π
kernel file ./drivers/fpga/of-fpga-region.c β go read the source, iykyk π
of_fpga_region_find(9)of_fpga_region_get_mgr(9)of_fpga_region_get_bridges(9)child_regions_with_firmware(9)of_fpga_region_notify_pre_apply(9)of_fpga_region_notify_post_remove(9)of_fpga_region_notify(9)of_fpga_region_init(9)
fr fr, if you're touching overlays on FPGA regions, read the whole little family above β they all hang out together π
and that's the page!! source is ./drivers/fpga, dated October 2026, and the manpage footer repping of_fpga_region_parse_ov(9) β slay, go parse something, 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