fpga_bridge_get_to_list(9)
π fpga_bridge_get_to_list(9) β from the Kernel API Manual, bestie
okay so real talk, this one lives in the kernel's FPGA bridge corner and it's lowkey iconic. let's get into it β¨
πΈ NAME πΈ
fpga_bridge_get_to_list β you give it a device, it grabs you a bridge, and then it adds that bridge to a list. that's the whole vibe. no cap.
π¦ SYNOPSIS π¦
int fpga_bridge_get_to_list (struct device *dev , struct fpga_image_info
*info , struct list_head *bridge_list );
three args, one int coming back at you. cute, contained, does what it says π
π ARGUMENTS π
devβ the FPGA bridge device itself. this is the main character of the function, the thing you're actually trying to get your hands on πinfoβ the fpga image specific information. yes it's literally named "info", she's not mysterious, she's just carrying the image details πbridge_listβ a list of FPGA bridges. this is where the bridge you grab ends up living πͺΊ
β¨ DESCRIPTION β¨
so what actually happens? you get an exclusive reference to the bridge, and then it gets added to the list β like, it's now in bridge_list, sitting pretty π
exclusive reference means exclusive, bestie. somebody's holding that bridge and it's you. handle it responsibly or the kernel will simply be unwell π
π₯ RETURN π₯
0β slay, success, we ate π- anything else β that's an error code straight from
fpga_bridge_get. so like, if the underlying get is unhappy, this function just passes the bad news along. not her drama, she's relaying it fr fr
π«Ά SEE ALSO π«Ά
kernel file ./drivers/fpga/fpga-bridge.c β and the whole friend group:
fpga_bridge_enable(9)fpga_bridge_disable(9)of_fpga_bridge_get(9)fpga_bridge_get(9)fpga_bridge_put(9)fpga_bridges_enable(9)fpga_bridges_disable(9)fpga_bridges_put(9)of_fpga_bridge_get_to_list(9)__fpga_bridge_register(9)fpga_bridge_unregister(9)
and that's the page, bestie π§π this lil beauty ships out of ./drivers/fpga, dated October 2026 β go forth and get those bridges on that list, iykyk β
π¦ 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