summaryrefslogtreecommitdiffstats
path: root/include/linux/fpga
diff options
context:
space:
mode:
authorAlan Tull2018-09-12 16:43:25 +0200
committerGreg Kroah-Hartman2018-09-30 17:49:55 +0200
commit492ecf6d6598e7c3b0b1372653ed21da50ddfb09 (patch)
treecbddf1c746a2946c60013cb7b8afc6de6f62aa00 /include/linux/fpga
parentfpga: bridge: fix obvious function documentation error (diff)
downloadkernel-qcow2-linux-492ecf6d6598e7c3b0b1372653ed21da50ddfb09.tar.gz
kernel-qcow2-linux-492ecf6d6598e7c3b0b1372653ed21da50ddfb09.tar.xz
kernel-qcow2-linux-492ecf6d6598e7c3b0b1372653ed21da50ddfb09.zip
docs: fpga: document fpga manager flags
Add flags #defines to kerneldoc documentation in a useful place. Signed-off-by: Alan Tull <atull@kernel.org> Acked-by: Moritz Fischer <mdf@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/fpga')
-rw-r--r--include/linux/fpga/fpga-mgr.h20
1 files changed, 14 insertions, 6 deletions
diff --git a/include/linux/fpga/fpga-mgr.h b/include/linux/fpga/fpga-mgr.h
index 8942e61f0028..8ab5df769923 100644
--- a/include/linux/fpga/fpga-mgr.h
+++ b/include/linux/fpga/fpga-mgr.h
@@ -53,12 +53,20 @@ enum fpga_mgr_states {
FPGA_MGR_STATE_OPERATING,
};
-/*
- * FPGA Manager flags
- * FPGA_MGR_PARTIAL_RECONFIG: do partial reconfiguration if supported
- * FPGA_MGR_EXTERNAL_CONFIG: FPGA has been configured prior to Linux booting
- * FPGA_MGR_BITSTREAM_LSB_FIRST: SPI bitstream bit order is LSB first
- * FPGA_MGR_COMPRESSED_BITSTREAM: FPGA bitstream is compressed
+/**
+ * DOC: FPGA Manager flags
+ *
+ * Flags used in the &fpga_image_info->flags field
+ *
+ * %FPGA_MGR_PARTIAL_RECONFIG: do partial reconfiguration if supported
+ *
+ * %FPGA_MGR_EXTERNAL_CONFIG: FPGA has been configured prior to Linux booting
+ *
+ * %FPGA_MGR_ENCRYPTED_BITSTREAM: indicates bitstream is encrypted
+ *
+ * %FPGA_MGR_BITSTREAM_LSB_FIRST: SPI bitstream bit order is LSB first
+ *
+ * %FPGA_MGR_COMPRESSED_BITSTREAM: FPGA bitstream is compressed
*/
#define FPGA_MGR_PARTIAL_RECONFIG BIT(0)
#define FPGA_MGR_EXTERNAL_CONFIG BIT(1)