xref: /openbmc/linux/Documentation/driver-api/fpga/fpga-bridge.rst (revision b181f7029bd71238ac2754ce7052dffd69432085)
19e4c36b1SAlan TullFPGA Bridge
29e4c36b1SAlan Tull===========
39e4c36b1SAlan Tull
49e4c36b1SAlan TullAPI to implement a new FPGA bridge
59e4c36b1SAlan Tull~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69e4c36b1SAlan Tull
7758f7467SMauro Carvalho Chehab* struct fpga_bridge - The FPGA Bridge structure
8758f7467SMauro Carvalho Chehab* struct fpga_bridge_ops - Low level Bridge driver ops
9*d7c4081cSMarco Pagani* __fpga_bridge_register() - Create and register a bridge
10758f7467SMauro Carvalho Chehab* fpga_bridge_unregister() - Unregister a bridge
114a6ff3c9SAlan Tull
12*d7c4081cSMarco PaganiThe helper macro ``fpga_bridge_register()`` automatically sets
13*d7c4081cSMarco Paganithe module that registers the FPGA bridge as the owner.
14*d7c4081cSMarco Pagani
159e4c36b1SAlan Tull.. kernel-doc:: include/linux/fpga/fpga-bridge.h
169e4c36b1SAlan Tull   :functions: fpga_bridge
179e4c36b1SAlan Tull
189e4c36b1SAlan Tull.. kernel-doc:: include/linux/fpga/fpga-bridge.h
199e4c36b1SAlan Tull   :functions: fpga_bridge_ops
209e4c36b1SAlan Tull
219e4c36b1SAlan Tull.. kernel-doc:: drivers/fpga/fpga-bridge.c
22*d7c4081cSMarco Pagani   :functions: __fpga_bridge_register
239e4c36b1SAlan Tull
249e4c36b1SAlan Tull.. kernel-doc:: drivers/fpga/fpga-bridge.c
259e4c36b1SAlan Tull   :functions: fpga_bridge_unregister
26