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>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
b4d9a0e5ca
commit
492ecf6d65
@@ -184,6 +184,11 @@ API for implementing a new FPGA Manager driver
|
|||||||
API for programming an FPGA
|
API for programming an FPGA
|
||||||
---------------------------
|
---------------------------
|
||||||
|
|
||||||
|
FPGA Manager flags
|
||||||
|
|
||||||
|
.. kernel-doc:: include/linux/fpga/fpga-mgr.h
|
||||||
|
:doc: FPGA Manager flags
|
||||||
|
|
||||||
.. kernel-doc:: include/linux/fpga/fpga-mgr.h
|
.. kernel-doc:: include/linux/fpga/fpga-mgr.h
|
||||||
:functions: fpga_image_info
|
:functions: fpga_image_info
|
||||||
|
|
||||||
|
@@ -53,12 +53,20 @@ enum fpga_mgr_states {
|
|||||||
FPGA_MGR_STATE_OPERATING,
|
FPGA_MGR_STATE_OPERATING,
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* FPGA Manager flags
|
* DOC: FPGA Manager flags
|
||||||
* FPGA_MGR_PARTIAL_RECONFIG: do partial reconfiguration if supported
|
*
|
||||||
* FPGA_MGR_EXTERNAL_CONFIG: FPGA has been configured prior to Linux booting
|
* Flags used in the &fpga_image_info->flags field
|
||||||
* FPGA_MGR_BITSTREAM_LSB_FIRST: SPI bitstream bit order is LSB first
|
*
|
||||||
* FPGA_MGR_COMPRESSED_BITSTREAM: FPGA bitstream is compressed
|
* %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_PARTIAL_RECONFIG BIT(0)
|
||||||
#define FPGA_MGR_EXTERNAL_CONFIG BIT(1)
|
#define FPGA_MGR_EXTERNAL_CONFIG BIT(1)
|
||||||
|
Reference in New Issue
Block a user