xref: /linux/Documentation/driver-api/fpga/fpga-bridge.rst (revision 24168c5e6dfbdd5b414f048f47f75d64533296ca)
1FPGA Bridge
2===========
3
4API to implement a new FPGA bridge
5~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6
7* struct fpga_bridge - The FPGA Bridge structure
8* struct fpga_bridge_ops - Low level Bridge driver ops
9* __fpga_bridge_register() - Create and register a bridge
10* fpga_bridge_unregister() - Unregister a bridge
11
12The helper macro ``fpga_bridge_register()`` automatically sets
13the module that registers the FPGA bridge as the owner.
14
15.. kernel-doc:: include/linux/fpga/fpga-bridge.h
16   :functions: fpga_bridge
17
18.. kernel-doc:: include/linux/fpga/fpga-bridge.h
19   :functions: fpga_bridge_ops
20
21.. kernel-doc:: drivers/fpga/fpga-bridge.c
22   :functions: __fpga_bridge_register
23
24.. kernel-doc:: drivers/fpga/fpga-bridge.c
25   :functions: fpga_bridge_unregister
26