STRUCT FPGA_BRIDGE_OPS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

struct fpga_bridge_ops β€” the ops for low level FPGA bridge drivers, bestie. Like, this is the little bundle of function pointers that says what your bridge driver can actually do. ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

struct fpga_bridge_ops {
    int (*enable_show)(struct fpga_bridge *bridge);
    int (*enable_set)(struct fpga_bridge *bridge, bool enable);
    void (*fpga_bridge_remove)(struct fpga_bridge *bridge);
    const struct attribute_group **groups;
 };
ok so this whole manual is the Kernel API Manual's page for it β€” that's the series, and honestly it's giving reference-material main character energy. πŸ“š

πŸŽ€ Members πŸŽ€

Not me listing these out one by one because every single one matters, periodt:

  • enable_show β€” returns the FPGA bridge's status. Yeah, it's the "hey what's your vibe rn" callback πŸ‘€
  • enable_set β€” set an FPGA bridge as enabled or disabled. That bool enable is literally the on/off switch 🫢
  • fpga_bridge_remove β€” set FPGA into a specific state during driver remove. Cleanup era πŸ’…
  • groups β€” optional attribute groups. Optional, as in you can absolutely leave it out, no pressure 🧚

🌈 SEE ALSO 🌈

  • Kernel file ./include/linux/fpga/fpga-bridge.h struct fpga_bridge_info(9), struct fpga_bridge(9)

Like, go read those too, iykyk β€” they're the friends this struct rolls with. πŸ”₯


ok that's the whole page, no cap, you now know the ops πŸ’–

Sign-off vibes: this one lives at ./include/linux/fpga and it's dated October 2026 β€” iconic, timeless, slay. πŸŽ€β­πŸ‘‘

πŸ“¦ where this page comes from