of_fpga_region_get_bridges(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ of_fpga_region_get_bridges(9) πŸ¦‹

okay so bestie, welcome to the Kernel API Manual ✨ this is the page for of_fpga_region_get_bridges, and yes we're gonna get through it together, no cap πŸ’…


πŸŽ€ NAME πŸŽ€

of_fpga_region_get_bridges β€” literally creates a list of bridges πŸ’–


🌸 SYNOPSIS 🌸

int of_fpga_region_get_bridges (struct fpga_region *region );

✨ ARGUMENTS ✨

  • region β€” the FPGA region 🫢 that's it, that's the whole argument, she's simple, she's iconic

πŸ’œ DESCRIPTION πŸ’œ

okay so what this does: it creates a list of bridges 🌈 and that list includes the parent bridge plus all the bridges specified by the "fpga-bridges" property. both. all of them. the whole friend group πŸ’…

ngl, here's the tea πŸ“: the fpga_bridges_enable/disable/put functions are all totally fine with an empty list if that ends up happening. so don't stress if it's giving empty-list energy, it's not a problem, it's a vibe 😌

and bestie, real talk β€” the caller should call fpga_bridges_put(region->bridge_list) when done with the bridges. like, clean up after yourself, that's main character behavior πŸ‘‘


⭐ RETURN ⭐

  • 0 for success πŸ”₯ β€” even if there are no bridges specified, zero is still slay
  • or an error code 😭 if any of the bridges are not available

🧚 SEE ALSO 🧚

kernel file ./drivers/fpga/of-fpga-region.c and her whole entourage πŸ’«


and that's the page πŸ’– mwah 🫢 sign-off time: this one lives in ./drivers/fpga, dated October 2026, and yeah, it's still of_fpga_region_get_bridges(9) bestie 🌸 bye ily πŸ’œ

πŸ“¦ where this page comes from